Commit Graph

15845 Commits

Author SHA1 Message Date
Marcus Blättermann
9b17299bd6
Convert file to .mjs to be used by Node process 2022-12-20 23:21:09 +01:00
Marcus Blättermann
1ed59fd680
Fix broken bold markdown 2022-12-20 23:21:09 +01:00
Marcus Blättermann
8dd10e847c
Fix className problem for JSX component 2022-12-20 23:21:09 +01:00
Marcus Blättermann
47ce9ca870
Replace react-helmet with next/head 2022-12-20 23:21:09 +01:00
Marcus Blättermann
de902ca878
Fix internal link recognition
There is a problem with regex between Node and browser, and since Next runs the component on both, this create an error.

`Prop `rel` did not match. Server: "null" Client: "noopener nofollow noreferrer"`

This simplifies the implementation and fixes the above error.
2022-12-20 23:21:09 +01:00
Marcus Blättermann
c0fa92190c
Remove unused prop 2022-12-20 23:21:09 +01:00
Marcus Blättermann
b305510227
Update syntax for code block meta data 2022-12-20 23:21:09 +01:00
Marcus Blättermann
47e4c62741
Fix code syntax highlighting 2022-12-20 23:21:08 +01:00
Marcus Blättermann
46fb76c281
Extract function to own file 2022-12-20 23:21:08 +01:00
Marcus Blättermann
e5c4b18ccc
Remove unused code 2022-12-20 23:21:08 +01:00
Marcus Blättermann
049279657a
Readd InlineCode component
MDX2 removed the `inlineCode` component

> The special component name `inlineCode` was removed, we recommend to use `pre` for the block version of code, and code for both the block and inline versions

Source: https://mdxjs.com/migrating/v2/#update-mdx-content
2022-12-20 23:21:08 +01:00
Marcus Blättermann
799013c4cf
Enable code blocks plugin 2022-12-20 23:21:08 +01:00
Marcus Blättermann
ab2946c082
Fix invalid code language
`markdown_` with an underscore was used to basically turn of syntax highlighting, but using unknown languages know throws an error.
2022-12-20 23:21:08 +01:00
Marcus Blättermann
63e787e2a2
Remove unnessary language none 2022-12-20 23:21:08 +01:00
Marcus Blättermann
93768cc909
Change code language from cli to bash 2022-12-20 23:21:07 +01:00
Marcus Blättermann
80144ebad0
Fix dropdowns 2022-12-20 23:21:07 +01:00
Marcus Blättermann
3c93913bb9
Fix ESLint react-hooks/exhaustive-deps 2022-12-20 23:21:07 +01:00
Marcus Blättermann
cb7880d3a6
Replace svg-loader with react-inlinesvg
`svg-loader` is no longer maintained
2022-12-20 23:21:07 +01:00
Marcus Blättermann
70e8e8cb7f
Add prebuild script
This command is automatically run by Next
2022-12-20 23:21:07 +01:00
Marcus Blättermann
8d225de80b
Allow to export static HTML pages 2022-12-20 23:21:07 +01:00
Marcus Blättermann
7dad1596f7
Fix headings with logo 2022-12-20 23:21:07 +01:00
Marcus Blättermann
56d461effe
Fix unescaped characters in MDX 2022-12-20 23:21:06 +01:00
Marcus Blättermann
fdf1a48ebd
Escape character for MDX 2022-12-20 23:21:06 +01:00
Marcus Blättermann
92436c0663
Fix problem with image inside link in MDX 2022-12-20 23:21:06 +01:00
Marcus Blättermann
84db6ea20f
Remove MDX imports 2022-12-20 23:21:06 +01:00
Marcus Blättermann
888a1f4c60
Remove ability to inline HTML content in iFrames 2022-12-20 23:21:06 +01:00
Marcus Blättermann
94f9ddefa4
Remove inlined iframe content 2022-12-20 23:21:06 +01:00
Marcus Blättermann
1bfff8390a
Replace landing page MDX with page component 2022-12-20 23:21:05 +01:00
Marcus Blättermann
aebe52efa7
Fix improper component nesting
Next doesn't allow block elements inside a `<p>`
2022-12-20 23:21:05 +01:00
Marcus Blättermann
c3e1c771ac
Fix Next problem with copy
Next complains when the server renders something different then the client, therfor we move the differing logic to `useEffect`
2022-12-20 23:21:05 +01:00
Marcus Blättermann
4c7552dcb1
Add Universe projects 2022-12-20 23:21:05 +01:00
Marcus Blättermann
cefbb3d203
Add Universe categories 2022-12-20 23:21:05 +01:00
Marcus Blättermann
7dac26df38
Add Universe index page 2022-12-20 23:21:05 +01:00
Marcus Blättermann
a2fc7ecb27
Fix default value for theme 2022-12-20 23:21:05 +01:00
Marcus Blättermann
ab4b6cc1dc
Simplify anchors 2022-12-20 23:21:04 +01:00
Marcus Blättermann
e0ca8a0f56
Add model pages 2022-12-20 23:21:04 +01:00
Marcus Blättermann
5d22487521
Fix markdown rendering inside components 2022-12-20 23:21:04 +01:00
Marcus Blättermann
13730a6567
Merge imports 2022-12-20 23:21:04 +01:00
Marcus Blättermann
dd047abb5f
Update comment syntax in MDX 2022-12-20 23:21:04 +01:00
Marcus Blättermann
94aa3629bb
Rename heading attribute
`new` was causing some weird issue, so renaming it to `version`
2022-12-20 23:21:04 +01:00
Marcus Blättermann
5f5d09f9dc
Fix heading attributes 2022-12-20 23:21:03 +01:00
Marcus Blättermann
294d06fca0
Fix pattern image 2022-12-20 23:21:03 +01:00
Marcus Blättermann
9169b8f4b3
Fix broken images 2022-12-20 23:21:03 +01:00
Marcus Blättermann
d1c4d65590
Fix links 2022-12-20 23:21:03 +01:00
Marcus Blättermann
d3f95831aa
Implement layout 2022-12-20 23:21:03 +01:00
Marcus Blättermann
6de49b9f1a
Fix broken CSS classes 2022-12-20 23:21:03 +01:00
Marcus Blättermann
f6b43b6e7e
Fix broken list 2022-12-20 23:21:02 +01:00
Marcus Blättermann
7b2c230981
Add correct styling 2022-12-20 23:21:02 +01:00
Marcus Blättermann
507742f763
Add missing components to MDX 2022-12-20 23:21:02 +01:00
Marcus Blättermann
f5cd7803c8
Remove unallowed heading
Before `h1` components where not overwritten and would never have worked and they aren't used anywhere either.
2022-12-20 23:21:02 +01:00