Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 2fb63c3

Browse files
vorcigernixkay-isnaz3ehErik RitterDhaiwat10
authored
Staging (#232)
* Add link to blog * Update membership info based off the notion details * upgrade next to 12 plus web vitals and plausible Co-authored-by: K <[email protected]> Co-authored-by: Nazeeh Vahora <[email protected]> Co-authored-by: Erik Ritter <[email protected]> Co-authored-by: Dhaiwat Pandya <[email protected]>
1 parent 0075fb8 commit 2fb63c3

File tree

7 files changed

+169
-1299
lines changed

7 files changed

+169
-1299
lines changed

frontend/next-env.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// <reference types="next" />
2-
/// <reference types="next/types/global" />
32
/// <reference types="next/image-types/global" />
43

54
// NOTE: This file should not be edited

frontend/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ const { i18n } = require('./next-i18next.config');
33

44
module.exports = withPlausibleProxy()({
55
i18n,
6+
swcMinify: true,
67
});

frontend/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
"@testing-library/user-event": "^12.1.10",
1616
"framer-motion": "^4",
1717
"jest": "^27.2.0",
18-
"next": "^11.1.2",
18+
"next": "12",
1919
"next-i18next": "^8.8.0",
20-
"next-plausible": "^3.1.4",
20+
"next-plausible": "^3.1.9",
2121
"react": "^17.0.2",
2222
"react-confetti": "^6.0.1",
2323
"react-dom": "^17.0.2",
2424
"react-fast-marquee": "^1.3.1",
2525
"react-icons": "^4.3.1",
26-
"web-vitals": "^1.0.1"
26+
"web-vitals": "2.1.4"
2727
},
2828
"scripts": {
2929
"start": "next start",

frontend/public/locales/en/common.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@
4141
},
4242
"membership": {
4343
"title": "How do I join?",
44-
"body": "Membership is temporarily closed but will be open again soon. Follow us on Twitter for updates!"
44+
"body": "To gain access to Developer DAO you can acquire one of our genesis NFTs on the open market or from another DAO member."
4545
},
4646
"links": {
4747
"title": "Useful links",
4848
"wiki": "Wiki",
4949
"forum": "Forum",
50-
"snapshot": "Snapshot"
50+
"snapshot": "Snapshot",
51+
"blog": "Blog"
5152
},
5253
"socialLinkLabel": "Opens the Developer DAO {{platform}} in the current tab"
5354
}

frontend/src/pages/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Divider, useColorMode, VStack } from '@chakra-ui/react';
22
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
3+
34
import Footer from '../Components/Footer';
45
import IntroComponent from '../Components/Intro';
56
import Partners from '../Components/Partners';
@@ -9,6 +10,7 @@ export default function IndexPage() {
910
const { colorMode } = useColorMode();
1011

1112
return (
13+
1214
<VStack w="full" justify="center" spacing={4}>
1315
<IntroComponent />
1416
<Values />

frontend/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"moduleResolution": "node",
1313
"resolveJsonModule": true,
1414
"isolatedModules": true,
15-
"jsx": "preserve"
15+
"jsx": "preserve",
16+
"incremental": true
1617
},
1718
"include": [
1819
"next-env.d.ts",

0 commit comments

Comments
 (0)