-
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
1 parent
559f446
commit c836ee5
Showing
24 changed files
with
310 additions
and
135 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,8 +23,6 @@ coverage.json | |
.vercel | ||
|
||
# Build Outputs | ||
.next/ | ||
out/ | ||
build | ||
dist | ||
|
||
|
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,32 +1,37 @@ | ||
{ | ||
"name": "web", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"private": true, | ||
"sideEffects": false, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "next dev --port 3000", | ||
"build": "next build", | ||
"start": "next start" | ||
"build": "remix vite:build", | ||
"dev": "remix vite:dev -l info" | ||
}, | ||
"dependencies": { | ||
"@rainbow-me/rainbowkit": "^2.1.5", | ||
"@remix-run/node": "^2.12.1", | ||
"@remix-run/react": "^2.12.1", | ||
"@repo/ui": "*", | ||
"@tanstack/react-query": "^5.55.4", | ||
"ethereum-blockies-base64": "^1.0.2", | ||
"graphql-request": "^7.1.0", | ||
"next": "^14.2.8", | ||
"react": "^18", | ||
"react-dom": "^18", | ||
"viem": "2.x", | ||
"wagmi": "^2.12.8" | ||
}, | ||
"devDependencies": { | ||
"@remix-run/dev": "^2.12.1", | ||
"@repo/typescript-config": "*", | ||
"@types/node": "^20", | ||
"@types/react": "^18", | ||
"@types/react-dom": "^18", | ||
"autoprefixer": "^10", | ||
"postcss": "^8", | ||
"tailwindcss": "^3.4.10", | ||
"typescript": "^5" | ||
"typescript": "^5", | ||
"vite": "^5.1.0", | ||
"vite-tsconfig-paths": "^5.0.0" | ||
} | ||
} |
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,18 @@ | ||
/** | ||
* By default, Remix will handle hydrating your app on the client for you. | ||
* You are free to delete this file if you'd like to, but if you ever want it revealed again, you can run `npx remix reveal` ✨ | ||
* For more information, see https://remix.run/file-conventions/entry.client | ||
*/ | ||
|
||
import { RemixBrowser } from "@remix-run/react"; | ||
import { StrictMode, startTransition } from "react"; | ||
import { hydrateRoot } from "react-dom/client"; | ||
|
||
startTransition(() => { | ||
hydrateRoot( | ||
document, | ||
<StrictMode> | ||
<RemixBrowser /> | ||
</StrictMode>, | ||
); | ||
}); |
This file was deleted.
Oops, something went wrong.
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,74 @@ | ||
import type { MetaFunction } from "@remix-run/node"; | ||
import { | ||
Links, | ||
LiveReload, | ||
Meta, | ||
Outlet, | ||
Scripts, | ||
ScrollRestoration, | ||
} from "@remix-run/react"; | ||
|
||
import { ToastProvider } from "@repo/ui/components/ui/toast"; | ||
import { Toaster } from "@repo/ui/components/ui/toaster"; | ||
import { TooltipProvider } from "@repo/ui/components/ui/tooltip"; | ||
import { Layout } from "../components/Layout"; | ||
import { WalletProvider } from "../context/WalletProvider"; | ||
|
||
import { | ||
SITE_DESCRIPTION, | ||
SITE_EMOJI, | ||
SITE_NAME, | ||
SITE_URL, | ||
SOCIAL_TWITTER, | ||
} from "../../../../constants"; | ||
|
||
import "@repo/ui/globals.css"; | ||
import "@rainbow-me/rainbowkit/styles.css"; | ||
|
||
export const meta: MetaFunction = () => [ | ||
{ | ||
charset: "utf-8", | ||
title: SITE_NAME, | ||
viewport: "width=device-width,initial-scale=1", | ||
}, | ||
{ name: "description", content: SITE_DESCRIPTION }, | ||
{ name: "image", content: SITE_EMOJI }, | ||
{ name: "og:image", content: "/opengraph-image" }, | ||
{ name: "og:title", content: SITE_NAME }, | ||
{ name: "og:description", content: SITE_DESCRIPTION }, | ||
{ name: "og:url", content: SITE_URL }, | ||
{ name: "og:type", content: "website" }, | ||
{ name: "og:site_name", content: SITE_NAME }, | ||
{ name: "og:locale", content: "en_US" }, | ||
{ name: "twitter:card", content: "summary_large_image" }, | ||
{ name: "twitter:image", content: "/opengraph-image" }, | ||
{ name: "twitter:title", content: SITE_NAME }, | ||
{ name: "twitter:description", content: SITE_DESCRIPTION }, | ||
{ name: "twitter:site", content: SOCIAL_TWITTER }, | ||
{ name: "twitter:creator", content: SOCIAL_TWITTER }, | ||
]; | ||
|
||
export default function App() { | ||
return ( | ||
<html lang="en"> | ||
<head> | ||
<Meta /> | ||
<Links /> | ||
</head> | ||
<body> | ||
<WalletProvider> | ||
<ToastProvider> | ||
<TooltipProvider> | ||
<Layout> | ||
<Outlet /> | ||
</Layout> | ||
</TooltipProvider> | ||
<Toaster /> | ||
</ToastProvider> | ||
</WalletProvider> | ||
<ScrollRestoration /> | ||
<Scripts /> | ||
</body> | ||
</html> | ||
); | ||
} |
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 { useEffect } from "react"; | ||
import { useNavigate } from "react-router-dom"; | ||
import { DEFAULT_COUNCIL_ADDRESS, NETWORK } from "../../../../../constants"; | ||
|
||
export default function IndexPage() { | ||
const navigate = useNavigate(); | ||
|
||
useEffect(() => { | ||
navigate(`/c/${NETWORK}/${DEFAULT_COUNCIL_ADDRESS}`); | ||
}, [navigate]); | ||
|
||
return null; | ||
} |
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.