60 Commits

Author SHA1 Message Date
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
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
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
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
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
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
cb4787ea42 Removed useless source language button 2022-04-23 22:15:04 +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
025e4c4d31 Added notes to content 2022-04-16 21:28:46 +02:00
DrMint
1c023e6a01 Hotfix 2022-04-15 17:42:31 +02:00
DrMint
a84560d86e Added smart language switch for posts ad hoc page and content 2022-04-12 12:25:40 +02:00
DrMint
3f452c529a Made props types more consistent 2022-04-03 10:34:21 +02:00
DrMint
125421de0f Use graphql-codegen and replace all types from queries 2022-03-31 14:59:31 +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
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
54940260e7 Added a little message box whenever content is not available in the current language 2022-03-20 13:21:30 +01:00
DrMint
de6b0fe017 Improved markdawn by adding more functionalities 2022-03-19 17:35:17 +01:00
DrMint
5d1749af88 Fixed bug with thumbnail 2022-03-18 14:10:30 +01:00
DrMint
151ae0b126 Display the news articles 2022-03-17 17:05:34 +01:00
DrMint
e675a90ed6 Fixed broken content pages if missing fields 2022-03-14 12:25:01 +01:00
DrMint
d2294393b5 Now use Tippy for Tooltips 2022-03-13 14:54:56 +01:00
DrMint
3873ef44f9 Added tooltips in more places 2022-03-13 03:00:38 +01:00
DrMint
f4217a597c Removed react-tooltip 2022-03-12 18:12:02 +01:00
DrMint
f89dbb36e9 Headers now generates copiable anchor links 2022-03-12 18:00:19 +01:00
DrMint
28ac9012ff Fixed errors that prevented building 2022-03-12 14:03:26 +01:00
DrMint
b213447c49 Content pages now display the table of content 2022-03-12 13:27:21 +01:00
DrMint
35c889d389 Added grouping for Contents 2022-03-11 01:06:20 +01:00
DrMint
252a1af799 Replaced ternary operations with && when applicable 2022-03-11 00:13:47 +01:00
DrMint
36803b4b1f Use getAppStaticProps to globally define props for all pages 2022-03-07 15:50:58 +01:00
DrMint
a04e25a1ad Added more localized texts 2022-03-07 13:29:39 +01:00