Skip to content

Commit ec9143d

Browse files
committed
fix(main-branch)
1 parent a38da51 commit ec9143d

19 files changed

+28
-985
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ validatorsmeta.json
1111
validators.json
1212
og.png
1313
*.code-workspace
14+
.vscode

next.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ module.exports = withNextra({
1010
locales: ['en', 'ko'],
1111
defaultLocale: 'en',
1212
},
13-
pageExtensions: ['mdx', 'md', 'jsx', 'js', 'tsx', 'ts']
1413
})

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@
1414
"dependencies": {
1515
"@emotion/react": "^11.10.4",
1616
"@emotion/styled": "^11.10.4",
17-
"@mdx-js/loader": "^2.1.3",
1817
"@mui/material": "^5.10.3",
1918
"@mui/x-data-grid": "^5.17.0",
2019
"@mui/x-date-pickers": "^5.0.0",
21-
"@next/mdx": "^12.2.5",
2220
"jsonpath-plus": "^7.0.0",
2321
"moment": "^2.29.4",
2422
"next": "^12.1.0",

pages/_app.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import '../public/style.css'
2+
23
import {useState, useEffect} from 'react';
34
import ReactDOM from 'react-dom'
45
import { ThemeProvider, createTheme } from '@mui/material/styles';
56
import CssBaseline from '@mui/material/CssBaseline';
6-
import '../public/main.css'
77

88
const darkTheme = createTheme({
99
palette: {
@@ -20,6 +20,7 @@ const darkTheme = createTheme({
2020
].join(','),
2121
}
2222
});
23+
import '../public/main.css'
2324

2425
export default function Nextra({ Component, pageProps }) {
2526
const [theme, setTheme] = useState('dark')
@@ -29,9 +30,9 @@ export default function Nextra({ Component, pageProps }) {
2930
useEffect(() => {
3031
localStorage.setItem('theme', 'dark')
3132
document.documentElement.classList.add('dark')
32-
3333
}, [theme])
3434

35+
3536
const getLayout = Component.getLayout || (page => page)
3637
return getLayout(
3738
<ThemeProvider theme={darkTheme}>

pages/_document.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Script from 'next/script'
33

44
export default function Document() {
55
return (
6-
<Html className='dark'>
6+
<Html>
77
<Head>
88
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,500&display=swap" rel="stylesheet" />
99
</Head>
@@ -13,7 +13,7 @@ export default function Document() {
1313
<Script
1414
id="theme-darker"
1515
lang="javascript"
16-
strategy="afterInteractive"
16+
strategy="beforeInteractive"
1717
dangerouslySetInnerHTML={{
1818
__html: `if (!window.localStorage.getItem("theme_default")) {
1919
window.localStorage.setItem("theme", "dark");

pages/constitution/ratification.module.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
letter-spacing: 2px;
3030
}
3131

32-
.dark .founderspage .anchor-icon {
33-
display: none;
34-
}
35-
.founderspage span.anchor-icon:hover {
36-
display: none;
37-
}
32+
/* .founderspage span.anchor-icon { */
33+
/* display: none; */
34+
/* } */
35+
/* .founderspage span.anchor-icon:hover { */
36+
/* display: none; */
37+
/* } */
3838
}
3939

4040

pages/governance/framework/meta.en.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

pages/governance/framework/meta.ko.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

pages/governance/framework/overview.en.mdx

Lines changed: 0 additions & 5 deletions
This file was deleted.

pages/governance/framework/overview.ko.mdx

Lines changed: 0 additions & 5 deletions
This file was deleted.

pages/governance/meta.en.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"index": "Governance Overview",
3-
"proposals": "Evmos Proposal Framework",
4-
"voting": "Voting and Delegations"
2+
"index": "🔎 Governance Overview",
3+
"proposals": "🧱 Evmos Proposal Framework",
4+
"voting": "🌟 Voting and Delegations"
55
}
66

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"index": "Community Proposals",
3-
"definitions": "Core Definitions",
4-
"lifecycle": "Proposal Lifecycle"
2+
"index": "Framework Overview",
3+
"definitions": "Definitions & Concepts",
4+
"templates": "Formatting & Templates",
5+
"lifecycle": "Proposal Lifecycle",
6+
"submission": "Submission Guidelines"
57
}

pages/governance/proposals/overview.en.mdx

Lines changed: 0 additions & 29 deletions
This file was deleted.

pages/governance/proposals/overview.ko.mdx

Lines changed: 0 additions & 29 deletions
This file was deleted.

pages/meta.en.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"index": "Introduction",
3-
"constitution": "The Interim Constitution",
4-
"ratification": "Community Ratification",
5-
"governance": "Evmos Governance"
2+
"index": "👋 Introduction",
3+
"constitution": "📜 The Interim Constitution",
4+
"ratification": "🙏 Community Ratification",
5+
"governance": "🌀 Evmos Governance"
66
}

public/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ a code {
986986

987987
.sidebar ul ul {
988988
position: relative;
989-
margin-left: 1.0rem
989+
margin-left: 1.2rem
990990
}
991991

992992
.sidebar a:focus-visible,

readme.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
# [Nextra](https://nextra.vercel.app)
1+
# [Evmos DAO Governance Docs](https://docs.evmos.vision)
22

3-
_Warning: this project is not production ready, API might change without notice._
4-
5-
[![](https://vercel.com/button)](https://vercel.com/import/git?s=https%3A%2F%2Fgithub.com%2Fshuding%2Fnextra&c=1)
6-
7-
**Nextra** is a [Next.js](https://nextjs.org) and [MDX](https://mdxjs.com) powered, no-code site generator.
8-
9-
![](/public/demo.png)
10-
11-
## Development
12-
13-
The code of Nextra is under the [`core`](https://github.com/shuding/nextra/tree/core) branch.
14-
15-
## Themes
16-
17-
- [nextra-theme-docs](https://github.com/vercel/swr-site) ([demo](https://swr.vercel.app))
18-
- [nextra-theme-blog](https://github.com/shuding/site) ([demo](https://shud.in))
19-
20-
---
21-
22-
Created by [@shuding](https://github.com/shuding) and [@pacocoursey](https://github.com/pacocoursey) at [Vercel](https://vercel.com). Released under the MIT license.
3+
## WIP

theme.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ import Script from 'next/script'
7575
defaultTheme: "dark",
7676
forcedTheme: "dark",
7777
storageKey: "theme",
78-
defaultMenuCollapsed: false,
78+
defaultMenuCollapsed: true,
7979
nextThemes: {
8080
defaultTheme: "dark",
8181
forcedTheme: "dark",

0 commit comments

Comments
 (0)