-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
2,671 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
File renamed without changes
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import "@/globals.css" | ||
import type { AppProps } from "next/app" | ||
import { Montserrat } from "next/font/google" | ||
|
||
const font = Montserrat({ subsets: ["latin"] }) | ||
|
||
export default function MyApp({ Component, pageProps }: AppProps) { | ||
return ( | ||
<main className={font.className}> | ||
<Component {...pageProps} /> | ||
</main> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
index: { | ||
title: "Home", | ||
type: "page", | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Welcome to Nextra | ||
|
||
Hello, world! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div className="flex justify-center pt-10"> | ||
<div className="prose dark:prose-invert"> | ||
<h1>OberonCMS</h1> | ||
<p>We're nearly here now...</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { useConfig } from "nextra-theme-docs" | ||
import Image from "next/image" | ||
|
||
export default { | ||
logo: <Image src="/icon.svg" width="30" height="30" alt="OberonCMS logo" />, | ||
project: { | ||
link: "https://github.com/tohuhono/oberon", | ||
}, | ||
docsRepositoryBase: | ||
"https://github.com/tohuhono/oberon/tree/main/apps/documentation/", | ||
useNextSeoProps() { | ||
return { | ||
titleTemplate: "%s – SWR", | ||
} | ||
}, | ||
head: () => { | ||
// eslint-disable-next-line react-hooks/rules-of-hooks | ||
const { frontMatter } = useConfig() | ||
|
||
return ( | ||
<> | ||
<meta | ||
property="og:title" | ||
content={frontMatter.title || "OberonCMS Documentation"} | ||
/> | ||
<meta | ||
property="og:description" | ||
content={ | ||
frontMatter.description || | ||
"A CMS for developers, designers and content creators." | ||
} | ||
/> | ||
</> | ||
) | ||
}, | ||
|
||
// ... other theme options | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.