Commit Graph

376 Commits

Author SHA1 Message Date
DrMint fe5c99ee8f Improved tailwind config and removed duplicated values in code 2022-06-11 01:19:19 +02:00
DrMint 31165f966c Updated deps + removed pointer/coarse for hover instead 2022-06-10 22:50:51 +02:00
DrMint bd7330489f Prettier 2022-06-09 21:01:40 +02:00
DrMint ede23194de Fixed default description 2022-06-09 20:53:37 +02:00
DrMint 97c8670924 Added better description 2022-06-08 23:04:27 +02:00
DrMint 46c4fece41 Added missing translations 2022-06-06 22:51:45 +02:00
DrMint 670b2b8469 prettier 2022-06-06 22:31:27 +02:00
DrMint 2073199971 Added possibility to remove roundness on preview cards 2022-06-06 22:28:44 +02:00
DrMint e1cd5424f7 Added link from content to corresponding library items 2022-06-02 22:00:27 +02:00
DrMint 7446ad3f42 Fixed bug where footnotes wouldn't work 2022-06-02 19:41:51 +02:00
DrMint f2c572e576 Smart language for the preview cards and preview line 2022-06-02 00:41:54 +02:00
DrMint 59283fa465 Added ability to mark library item as 'Want' or 'have' 2022-05-28 19:33:10 +02:00
DrMint 8b6abd6379 Prettier 2022-05-28 19:31:41 +02:00
DrMint ae1d1d735e Centered element on button + removed not allowed cursor when active 2022-05-28 19:30:53 +02:00
DrMint 3f7cad9053 Fixed 500 errors throughout the app 2022-05-27 16:50:10 +02:00
DrMint 2dee361f20 Disabled search for now 2022-05-27 16:22:05 +02:00
DrMint 622493a869 Added clear search and reset filters to relevent pages 2022-05-27 16:16:45 +02:00
DrMint 89bfc7ea89 TSC/Lint/Prettier 2022-05-27 13:17:37 +02:00
DrMint 2a799cf9e0 Improved editor 2022-05-27 13:10:19 +02:00
DrMint cedc25862d Fixed bug, TOC was no longer working 2022-05-27 13:09:56 +02:00
DrMint 2775d446d8 Fixed bug with TOC in case the header tree is incorrect 2022-05-27 13:08:08 +02:00
DrMint 56e89dbbe4 View tweaks and fixes 2022-05-22 21:23:18 +02:00
DrMint 16c540181d Improved the input for the pages 2022-05-22 20:43:17 +02:00
DrMint 6adae3fb3f Changed enum naming convention 2022-05-22 16:55:39 +02:00
DrMint 3a379f98a1 Added properly typed icons 2022-05-22 16:24:16 +02:00
DrMint a7c5ca61fd Added basic search 2022-05-22 14:43:36 +02:00
DrMint 88b60077df Added tailwindcss prettier 2022-05-21 13:18:57 +02:00
DrMint 9a5f4e5576 Added highlight color 2022-05-21 06:42:07 +02:00
DrMint 58bd46f25d Changed some icons + use langui for search placeholder 2022-05-17 23:54:51 +02:00
DrMint fa96469ebf Fixed key problems + search function 2022-05-17 23:16:22 +02:00
DrMint 50e988f64f Fixed font size wasn't apply to icons which make things look werid 2022-05-17 21:42:45 +02:00
DrMint aadc5f48e7 Fix wrong href for return to contents button 2022-05-17 21:42:24 +02:00
DrMint 53a4b2d2c0 Fix when switch label is too long 2022-05-17 21:42:03 +02:00
DrMint 2b3ecc665c Given better default for how to close opened menus when url or hash change 2022-05-17 20:09:38 +02:00
DrMint 311d91c370 Somewhat fixed problem with pages not going back up when changing dynamic slug 2022-05-16 23:54:16 +02:00
DrMint bec0c9a640 Fixed HUGE bug that was crashing the navigation 2022-05-16 00:36:38 +02:00
DrMint 262d464734 Fixed the way the number of content in a group is calculated 2022-05-15 18:17:01 +02:00
DrMint d3a349ef17 Fixed bug when there is more than 10 elements in a content group 2022-05-15 18:16:47 +02:00
DrMint 1f01ae3d2b Fixed the revalidate 2022-05-15 13:12:30 +02:00
DrMint 237f496b6b Prettier 2022-05-15 10:15:55 +02:00
DrMint b2b2b00735 Replace raw string by translated strings 2022-05-15 10:14:45 +02:00
DrMint 0b97d9f73d Added stacked previewCard effect even to cards without thumbnails 2022-05-15 03:07:15 +02:00
DrMint 16df351741 Fixed visual bug + grouping bug 2022-05-15 01:27:17 +02:00
DrMint 88b9fa4477 Moved content functions to separate helper file 2022-05-15 01:19:53 +02:00
DrMint ed7198807f Replaced Exclude with NonNullable 2022-05-15 01:15:57 +02:00
DrMint 2e62f25fb5 Use new content groups instead of previous/next 2022-05-15 01:15:29 +02:00
DrMint 461bd08a3d Switched to new content data model 2022-05-14 22:47:00 +02:00
DrMint 5c7689c3f0 Removed the default in the exports whenever possible 2022-05-14 14:45:29 +02:00
DrMint be7c508aaa Allowed to combine contents 2022-05-14 14:21:13 +02:00
DrMint fc0512fc91 Made useSmartLanguage not default export and created useLightBox 2022-05-14 14:21:00 +02:00
DrMint 067f66b146 Added onClick to Img component 2022-05-14 14:18:06 +02:00
DrMint f51f7322fe Increased size of config button 2022-05-13 21:15:34 +02:00
DrMint 3469b5bfe9 Improved layout on mobile and avoid overflow 2022-05-13 21:06:46 +02:00
DrMint a82bc74baa Renamed ThumbnailPreview to PreviewCard + removed Next/Image 2022-05-13 19:24:25 +02:00
DrMint 16891dfad1 Fixed a bug, subitems were always showing 2022-05-13 19:23:34 +02:00
DrMint 81c8cf08fb Prettier 2022-05-10 22:37:13 +02:00
DrMint e17dbc14a0 Wrapped lines that are too long 2022-05-10 22:24:31 +02:00
DrMint 0591fa22d4 Mass use of Immutable 2022-05-08 21:37:41 +02:00
DrMint 02e03071a0 Moved getAppStaticProps to Graphql 2022-05-08 12:26:36 +02:00
DrMint aafa278384 Splitted the helpers into multiple files 2022-05-08 12:21:29 +02:00
DrMint b043e453c7 Renammed the queries folder to helpers 2022-05-08 11:34:14 +02:00
DrMint 08170887b9 Fixed missing playername in settings 2022-05-08 11:26:22 +02:00
DrMint 6d2240fb55 Lightbox gestures and keyboard navigation 2022-05-07 19:55:08 +02:00
DrMint 7c6b074e6d Replaced faulty lightbox with custom basic lightbox 2022-05-07 14:00:00 +02:00
DrMint fe3757f56f Added npm run-scripts 2022-05-07 11:35:53 +02:00
DrMint fcd4ba9385 Added tsc check and other small things 2022-05-07 11:19:46 +02:00
DrMint 349f53ea27 Post lack of attribute now send a 404 2022-05-07 11:19:28 +02:00
DrMint 85106d1735 Extracted language selector logic into a custom hook 2022-05-07 11:17:58 +02:00
DrMint 6f69aaf236 Fixed bug when switching between content pages not changing the content 2022-05-05 23:41:24 +02:00
DrMint e38f059c69 Run prettrier 2022-05-04 04:13:17 +02:00
DrMint c49094c843 Removed currently useless View profile button on Recorder chip 2022-05-04 04:11:29 +02:00
DrMint 379ed4ce20 Added back the data checkups in their own separate page 2022-05-04 04:11:03 +02:00
DrMint 0e130da9ea Moved input components to another subfolder 2022-04-24 15:12:32 +02:00
DrMint 15f44a009a removed horizontal line when unecessary 2022-04-24 15:07:06 +02:00
DrMint 9b162b0d49 Fixed bug where 404 would freak out 2022-04-24 15:06:39 +02:00
DrMint fcd303fe6a Renameed component 2022-04-24 14:32:55 +02:00
DrMint 1c2653ad07 Added previous/next content recommendation 2022-04-24 14:28:21 +02:00
DrMint a780db9b0f Fixed some potential problem with the uselocalstorage 2022-04-23 23:28:52 +02:00
DrMint 80f78d9940 Hotfix: was using a variable in generated css classes which isn't possible 2022-04-23 22:25:49 +02:00
DrMint cb4787ea42 Removed useless source language button 2022-04-23 22:15:04 +02:00
DrMint cf76a49219 Prettier 2022-04-23 22:08:48 +02:00
DrMint 1251bf19bc Fixed all lint alert 2022-04-23 22:08:22 +02:00
DrMint a87f8abdf0 Moved db testing to a seperate page 2022-04-23 21:47:59 +02:00
DrMint 427e44cdf4 Prettier 2022-04-23 20:33:41 +02:00
DrMint 81ac3fb23a Pages now use the new ThumbnailPreview component 2022-04-23 20:32:55 +02:00
DrMint 351c526dbe Fixed bug where post would unwantendly display the return button on mobile 2022-04-23 20:31:49 +02:00
DrMint 7dc8ab3a28 Simplified how the images are loaded from markdown 2022-04-23 20:30:51 +02:00
DrMint ae7dc03821 Renammed the import name for the compoentn 2022-04-23 20:30:02 +02:00
DrMint a1644ab47f Img component now support raw url 2022-04-23 20:29:38 +02:00
DrMint add0522095 Fused all the preview cards to one all-encompassing component 2022-04-23 20:16:23 +02:00
DrMint 51f050819e Content descriptions can now be parsed as markdawn 2022-04-22 22:42:38 +02:00
DrMint 025e4c4d31 Added notes to content 2022-04-16 21:28:46 +02:00
DrMint 741a10ef29 Order scan pages automatically 2022-04-16 20:13:08 +02:00
DrMint 648446d267 More pages updated when content are updated 2022-04-16 20:12:49 +02:00
DrMint 1ddcd68286 Scans pages are also refreshed when the library item is updated 2022-04-15 17:58:34 +02:00
DrMint 1c023e6a01 Hotfix 2022-04-15 17:42:31 +02:00
DrMint 8e734aa347 Select the primary language according to routing 2022-04-15 17:40:57 +02:00
DrMint 3b0514fc6b Added more info for scans of covers 2022-04-13 03:06:51 +02:00
DrMint 822adbec48 Added covers in the scanset 2022-04-12 18:10:26 +02:00
DrMint b3f3ddf60e Added smart translation to scan 2022-04-12 14:30:15 +02:00
DrMint a84560d86e Added smart language switch for posts ad hoc page and content 2022-04-12 12:25:40 +02:00
DrMint 049a2e2044 OrderableList had the wrong function name 2022-04-12 12:00:10 +02:00
DrMint 2a784fd0ec Added arrows for browser that does'nt support drag&drop 2022-04-11 01:27:30 +02:00
DrMint a61ccea317 Popup had a problem when they need to be scroolable 2022-04-11 01:27:04 +02:00
DrMint fb88e97825 Added language preference system 2022-04-10 23:18:52 +02:00
DrMint 3cf890d70d Buttons' content can no longer be selected + draggability 2022-04-10 23:16:59 +02:00
DrMint 7c18c4f634 PageSelector buttons could only be clicked in the middle 2022-04-10 23:16:19 +02:00
DrMint 31d68dc6ae Library items updates also update the parent items 2022-04-09 13:47:44 +02:00
DrMint c98537c85e Added library item buying links 2022-04-04 16:19:17 +02:00
DrMint 7bb0404fd7 Prettier 2022-04-04 11:09:30 +02:00
DrMint 2cfc14dfcb Proofreading 2022-04-04 11:08:54 +02:00
DrMint 286187135f Editor now has buttons to easily add custom content 2022-04-04 11:08:41 +02:00
DrMint 3f452c529a Made props types more consistent 2022-04-03 10:34:21 +02:00
DrMint 572cbb57d5 Pagination for videos 2022-04-02 23:29:57 +02:00
DrMint 1db24083cb Added videos page and all 2022-04-02 22:46:37 +02:00
DrMint 762df56aea prettier 2022-04-01 20:48:32 +02:00
DrMint e3c2e4da1d Added basic video functionnality 2022-04-01 20:47:42 +02:00
DrMint 73ad43fe7d Prettier 2022-03-31 15:01:44 +02:00
DrMint 125421de0f Use graphql-codegen and replace all types from queries 2022-03-31 14:59:31 +02:00
DrMint acf92d6fc1 Added content to the list of revalidatable pages 2022-03-30 00:45:04 +02:00
DrMint 324eb7c366 Fixed bug with lenght of title 2022-03-30 00:15:23 +02:00
DrMint c8a2104dae Removed some static text and use textui 2022-03-29 23:45:23 +02:00
DrMint 935c364a71 Added fallback and avoid 404 2022-03-29 22:36:13 +02:00
DrMint 4dd1782389 Paths can now be added after site is built 2022-03-29 21:51:50 +02:00
DrMint 4c9cf9f7c4 Added more pages to be revalidated 2022-03-28 23:51:41 +02:00
DrMint afbcbe7a3c Merge branch 'main' of github.com:Accords-Library/accords-library.com 2022-03-28 18:04:55 +02:00
DrMint 70a3e1895b Added On-demand revalidation 2022-03-28 18:04:47 +02:00
DrMint 282c2ee561 Order news country-chronologically 2022-03-28 16:26:12 +02:00
DrMint 575e81019a Fixed bug with the sluggify 2022-03-28 13:17:30 +02:00
DrMint 4977c29040 Fixed button not working if no href 2022-03-28 12:57:30 +02:00
DrMint a16be4acf5 Only languages part of Nextjs i18n can appear in the switch language now 2022-03-28 11:33:04 +02:00
DrMint 9b0404a742 Added scans + removed useless router as props + use graphql aliases for getting available languages 2022-03-28 10:43:25 +02:00
DrMint 4a123a0236 Applied more lint rules and fixed the code accordingly 2022-03-27 17:01:14 +02:00
DrMint 38543ae3dd Added import prettrier and ran it 2022-03-26 17:09:42 +01:00
DrMint 757dab3e81 Improved how the captcha works 2022-03-23 17:23:48 +01:00
DrMint b946974267 Added more states to the form 2022-03-23 16:45:41 +01:00
DrMint 844e3cb875 Added contact system 2022-03-23 16:19:23 +01:00
DrMint 8258475a63 Fixed bug if markdawn content empty 2022-03-20 14:51:36 +01:00
DrMint e949b3b5e2 Forgot to remove some console log 2022-03-20 14:39:13 +01:00
DrMint 1b7e425c0e Added more translated fields 2022-03-20 13:46:36 +01:00
DrMint 3089f2b6fd Added messages to more pages 2022-03-20 13:27:51 +01:00
DrMint 54940260e7 Added a little message box whenever content is not available in the current language 2022-03-20 13:21:30 +01:00
DrMint 01bd905b82 Prettier 2022-03-19 17:35:54 +01:00
DrMint de6b0fe017 Improved markdawn by adding more functionalities 2022-03-19 17:35:17 +01:00
DrMint c48ff5249b Reintroduced the wiki pages 2022-03-19 17:32:23 +01:00
DrMint 76a44457e4 Added more pages in about us 2022-03-19 17:31:36 +01:00
DrMint 5d1749af88 Fixed bug with thumbnail 2022-03-18 14:10:30 +01:00
DrMint d3ec784549 Lightbox Full width on mobile 2022-03-18 14:01:25 +01:00
DrMint 3a381d51b5 News should be one column on mobile 2022-03-18 13:57:43 +01:00
DrMint 8b28e794b4 Added lighbox using react-image-lightbox 2022-03-18 13:51:48 +01:00