Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
ee5f8b9
setup
nerderlyne Sep 15, 2022
1ba8d09
add gitpod
nerderlyne Sep 15, 2022
62f7a72
add skeleton
nerderlyne Sep 15, 2022
ee75638
push
nerderlyne Sep 15, 2022
294d378
update
nerderlyne Sep 15, 2022
e0a178a
add tou and pp skeleton
nerderlyne Sep 15, 2022
38596d6
update footer
nerderlyne Sep 15, 2022
18b4acd
add prettier
nerderlyne Sep 15, 2022
3334122
update
nerderlyne Sep 15, 2022
24bc821
update
nerderlyne Sep 15, 2022
ca25ca1
update
nerderlyne Sep 15, 2022
61cc0a2
fix build error
nerderlyne Sep 15, 2022
dba7dd0
update fonts
nerderlyne Sep 15, 2022
65db463
fix bbuild errors
nerderlyne Sep 15, 2022
2e1f894
update form
nerderlyne Sep 15, 2022
da41b0e
update nav
nerderlyne Sep 15, 2022
768bd4c
update
nerderlyne Sep 15, 2022
cf06cf8
push
nerderlyne Sep 15, 2022
b8611bc
update wallet
nerderlyne Sep 16, 2022
1a8a789
update
nerderlyne Sep 16, 2022
52c2c79
add dark mode and progress bar
nerderlyne Sep 20, 2022
1a1879e
add dark mode rainbowkit
nerderlyne Sep 20, 2022
f2972ed
update join link
nerderlyne Sep 20, 2022
215bc13
update
nerderlyne Sep 29, 2022
c74ff6d
update
nerderlyne Sep 29, 2022
7d890aa
add example
nerderlyne Sep 29, 2022
ce66a99
add auth
nerderlyne Oct 3, 2022
88dd527
add auth
nerderlyne Oct 4, 2022
c476de7
update env example
nerderlyne Oct 4, 2022
95fd86f
add husky
nerderlyne Oct 4, 2022
b72978b
remove chains
nerderlyne Oct 4, 2022
01627f8
update form skeleton
nerderlyne Oct 4, 2022
b3fa19a
add domino concept
nerderlyne Oct 4, 2022
d80c1d4
update formatting
nerderlyne Oct 4, 2022
badde41
add events setup
nerderlyne Oct 5, 2022
d40d69d
library form changes
sampriti026 Oct 27, 2022
89dd95d
library
sampriti026 Oct 27, 2022
3006248
Merge branch 'main' into library
sampriti026 Oct 27, 2022
3d99db6
update font
nerderlyne Dec 29, 2022
f96316f
🥢
nerderlyne Dec 29, 2022
301ab50
events nit
nerderlyne Dec 30, 2022
b66d5a3
versions
nerderlyne Dec 30, 2022
8ca989e
add event images
nerderlyne Dec 31, 2022
f57c909
update fonts
nerderlyne Dec 31, 2022
c849e82
update theme
nerderlyne Dec 31, 2022
ca81df6
update calendar
nerderlyne Dec 31, 2022
5d7cd33
add featurees
nerderlyne Dec 31, 2022
a4a6c9b
update legal hacks
nerderlyne Jan 1, 2023
7575a83
🥢 footer
nerderlyne Jan 1, 2023
ba4ac3e
update subdaos
nerderlyne Jan 1, 2023
74f5eac
-
nerderlyne Jan 2, 2023
7c9973f
update
nerderlyne Jan 3, 2023
fb7080f
add balancer
nerderlyne Jan 3, 2023
d8aa3d5
add 404
nerderlyne Jan 3, 2023
a302641
update
nerderlyne Jan 3, 2023
8cd3511
fix linting error
nerderlyne Jan 3, 2023
a844835
nerderlyne Jan 5, 2023
6887e9b
🚨
nerderlyne Jan 5, 2023
47f3a4a
⏫ next
nerderlyne Jan 5, 2023
8bed0ce
update image
nerderlyne Jan 5, 2023
c0eda2e
lang=en
nerderlyne Jan 5, 2023
c58ceaa
more image tags
nerderlyne Jan 5, 2023
0f77e65
image 404
nerderlyne Jan 5, 2023
48dc2f4
viewport tag
nerderlyne Jan 5, 2023
d002760
404 page
nerderlyne Jan 5, 2023
c11036d
update title
nerderlyne Jan 5, 2023
157fee8
😾
nerderlyne Jan 5, 2023
7417b7e
update
nerderlyne Jan 5, 2023
e0c1462
navi
nerderlyne Jan 6, 2023
6ab537d
Merge branch 'main' into library
sampriti026 Jan 10, 2023
72f8b62
Merge pull request #2 from sampriti026/library
nerderlyne Jan 12, 2023
ca8de5f
🛠 fix built errors
nerderlyne Jan 12, 2023
c9be910
🗄
nerderlyne Jan 12, 2023
2ed5193
lint
nerderlyne Jan 13, 2023
6caa5d8
nerderlyne Feb 11, 2023
393d043
update
nerderlyne Feb 11, 2023
4a5bd2d
nerderlyne Feb 11, 2023
67b58fa
🎊
nerderlyne Feb 11, 2023
781e806
nerderlyne Mar 26, 2023
1fbc5ef
nit
nerderlyne Mar 26, 2023
626c36b
nerderlyne Mar 31, 2023
99cf6a8
nerderlyne Mar 31, 2023
3a24071
cleaning up
nerderlyne May 9, 2023
fb5e6cc
👀 oops
nerderlyne May 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NEXT_PUBLIC_ALCHEMY_ID=""

NEXTAUTH_SECRET= # Mac/Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
NEXTAUTH_URL=http://localhost:3000
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals"]
}
19 changes: 19 additions & 0 deletions .github/workflows/lighthouseci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: CI
on: [push]
jobs:
lighthouseci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- uses: pnpm/action-setup@v2
with:
version: 7.13.2
- run: pnpm i && pnpm add -g @lhci/cli@0.8.x
- run: pnpm run build
- run: lhci collect
- run: lhci upload
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
41 changes: 0 additions & 41 deletions .github/workflows/main.yml

This file was deleted.

43 changes: 15 additions & 28 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,31 @@
# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
.pnpm-debug.log*

# dependencies
/node_modules
/.pnp
.pnp.js
# local env files
.env*.local

# testing
/coverage
# vercel
.vercel

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

# local
yarn.lock
package-lock.json
/data
16 changes: 16 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.

tasks:
- init: pnpm install
command: pnpm run dev

ports:
- port: 3000
onOpen: open-browser

vscode:
extensions:
- bradlc.vscode-tailwindcss@0.8.6
- GitHub.copilot@1.44.6735
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm run format
12 changes: 7 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"arrowParens": "avoid",
"trailingComma": "es5",
"singleQuote": true,
"semi": true
}
"endOfLine": "lf",
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"semi": false,
"trailingComma": "all"
}
28 changes: 28 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"command": "pnpm run dev"
},
{
"name": "Next.js: debug client-side",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000"
},
{
"name": "Next.js: debug full stack",
"type": "node-terminal",
"request": "launch",
"command": "pnpm run dev",
"serverReadyAction": {
"pattern": "started server on .+, url: (https?://.+)",
"uriFormat": "%s",
"action": "debugWithChrome"
}
}
]
}
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
# LexDAO Minimal Lander
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
25 changes: 25 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { BleedingNoise } from '@/components/bleeding-screen'
import RootProvider from '@/components/root-provider'
import { cn } from '@/lib/utils'
import '@/styles/globals.css'
import { Press_Start_2P as FontArcade } from 'next/font/google'

const arcade = FontArcade({
subsets: ['latin'],
variable: '--font-arcade',
display: 'swap',
weight: '400',
})

export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" className={cn('min-h-screen w-screen', arcade.variable)}>
<RootProvider>
<body className="bg-black text-white">
{children}
<BleedingNoise />
</body>
</RootProvider>
</html>
)
}
25 changes: 25 additions & 0 deletions app/learn/lexy.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { AsciiArt } from '@/components/ascii-art'

const lexyTitle = `
██╗░░░░░  ███████╗  ██╗░░██╗  ██╗░░░██╗
██║░░░░░  ██╔════╝  ╚██╗██╔╝  ╚██╗░██╔╝
██║░░░░░  █████╗░░  ░╚███╔╝░  ░╚████╔╝░
██║░░░░░  ██╔══╝░░  ░██╔██╗░  ░░╚██╔╝░░
███████╗  ███████╗  ██╔╝╚██╗  ░░░██║░░░
╚══════╝  ╚══════╝  ╚═╝░░╚═╝  ░░░╚═╝░░░`

const TICKER = '>'

export const Lexy = () => {
return (
<div className="font-mono h-[80vh] space-y-5 w-screen md:w-[80vw] lg:w-[60vw] overflow-hidden flex flex-col items-center justify-start bg-black">
<AsciiArt className="">{lexyTitle}</AsciiArt>

<p className="font-arcade text-center uppercase tracking-widest animate-blink">
lexy is learning <br />
<span className="text-2xl">[</span> <span className="text-2xl text-lex-gold">{TICKER}</span>{' '}
<span className="text-2xl">]</span>
</p>
</div>
)
}
22 changes: 22 additions & 0 deletions app/learn/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { fetcher } from '@/src/utils/api'
import { BleedingNoise } from '@/components/bleeding-screen'
import { cn } from '@/lib/utils'
import { Landing } from '@/components/screens/landing'
import { DISCORD_INVITE_URL, SUBSTACK_URL, TWITTER_URL } from '@/src/constants'
import Image from 'next/image'
import Link from 'next/link'
import { siteConfig } from '@/config/siteConfig'
import { AsciiArt } from '@/components/ascii-art'
import { Socials } from './socials'
import { Lexy } from './lexy'

export default async function Page() {
return (
<main className="h-screen w-screen overflow-hidden">
<div className="z-10 h-screen w-screen absolute flex flex-col items-center justify-center">
<Lexy />
<Socials />
</div>
</main>
)
}
28 changes: 28 additions & 0 deletions app/learn/socials.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { siteConfig } from '@/config/siteConfig'
import Image from 'next/image'
import Link from 'next/link'
import { Suspense } from 'react'

export const Socials = () => {
// @TODO ADD FETCHING FROM CMS
// @TODO ADD STYLING FOR LINKS

return (
<Suspense>
<div className="flex flex-row">
<Link href={siteConfig.links.twitter} target="_blank" rel="noopenner noreferrer">
<Image src="/assets/twitter.webp" alt="Twitter" width={100} height={100} />
</Link>
<Link href={siteConfig.links.discord} target="_blank" rel="noopenner noreferrer">
<Image src="/assets/icons/discord.png" alt="Discord" width={100} height={100} />
</Link>
<Link href={siteConfig.links.substack} target="_blank" rel="noopenner noreferrer">
<Image src="/assets/icons/book.webp" alt="Substack" width={100} height={95} />
</Link>
<Link href={siteConfig.links.github} target="_blank" rel="noopenner noreferrer">
<Image src="/assets/icons/github.png" alt="GitHub" width={100} height={95} />
</Link>
</div>
</Suspense>
)
}
13 changes: 13 additions & 0 deletions app/loading.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import CircuitBoardPattern from '@/components/ui/patterns/circuit-board'

export default function Loading() {
return (
<div className="relative w-screen h-screen">
<CircuitBoardPattern
className="absolute top-0 right-0 bottom-0 left-0 w-screen h-screen bg-transparent/5 z-20"
fill="#00FA9A"
fillOpacity={'10%'}
/>
</div>
)
}
29 changes: 29 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { fetcher } from '@/src/utils/api'
import { BleedingNoise } from '@/components/bleeding-screen'
import { cn } from '@/lib/utils'
import { Landing } from '@/components/screens/landing'

const getData = async () => {
try {
const data = await fetcher(`/homepage`, {
'populate[0]': 'features',
'populate[1]': 'features.image',
'populate[2]': 'cta',
})
return data?.data?.attributes
} catch (e) {
throw e
}
}

export default async function Page() {
const data = await getData()

return (
<main className="h-screen w-screen overflow-hidden">
<div className="z-10 h-screen w-screen absolute">
<Landing title={data?.title} />
</div>
</main>
)
}
13 changes: 13 additions & 0 deletions app/play/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import CircuitBoardPattern from '@/components/ui/patterns/circuit-board'

export default function Loading() {
return (
<div className="fixed top-0 right-0 bottom-0 left-0 w-screen h-screen">
<CircuitBoardPattern
className="absolute top-0 right-0 bottom-0 left-0 w-screen h-screen bg-transparent/5 z-20 animate-blink fill-lex-yellow"
fill="#00FA9A"
fillOpacity={'27%'}
/>
</div>
)
}
Empty file added app/play/son/page.tsx
Empty file.
Loading