diff --git a/apps/client/package.json b/apps/client/package.json index c33e058..e631973 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -26,11 +26,11 @@ "wagmi": "^2.12.17" }, "devDependencies": { - "typescript": "^5", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "postcss": "^8", - "tailwindcss": "^3.4.1" + "tailwindcss": "^3.4.1", + "typescript": "^5" } } diff --git a/apps/client/src/app/globals.css b/apps/client/src/app/globals.css index 5a7a7eb..2bfc255 100644 --- a/apps/client/src/app/globals.css +++ b/apps/client/src/app/globals.css @@ -2,18 +2,6 @@ @tailwind components; @tailwind utilities; -/* :root { */ -/* --background: #ffffff; */ -/* --foreground: #171717; */ -/* } */ - -/* @media (prefers-color-scheme: dark) { */ -/* :root { */ -/* --background: #0a0a0a; */ -/* --foreground: #ededed; */ -/* } */ -/* } */ - @layer base { a { @apply hover:underline hover:text-crayola; @@ -30,6 +18,10 @@ button:hover { border-radius: 0.75rem; } + + code { + @apply text-base; + } } /* body { */ diff --git a/apps/client/src/app/layout.tsx b/apps/client/src/app/layout.tsx index eafc7ca..f36a0cb 100644 --- a/apps/client/src/app/layout.tsx +++ b/apps/client/src/app/layout.tsx @@ -1,19 +1,17 @@ -import type { Metadata } from 'next' -import { Teko } from 'next/font/google' +import { Fira_Mono, Teko } from 'next/font/google' import './globals.css' import { cookieToInitialState } from '@account-kit/core' import { Layout } from 'client/c/Layout' +import config from 'client/l/config' import { alchemyConfig } from 'client/lib/account-kit' import { Providers } from 'client/p' import { headers } from 'next/headers' import type { ReactNode } from 'react' -const teko = Teko({ subsets: ['latin'] }) +const firaMono = Fira_Mono({ display: 'swap', subsets: ['latin'], variable: '--font-fira-mono', weight: '400' }) +const teko = Teko({ display: 'swap', subsets: ['latin'], variable: '--font-teko' }) -export const metadata: Metadata = { - title: 'Rideau', - description: 'Anonymous survey and feedback platform', -} +export const metadata = config.metadata export default function RootLayout({ children, @@ -23,10 +21,8 @@ export default function RootLayout({ const initialState = cookieToInitialState(alchemyConfig, headers().get('cookie') ?? undefined) return ( - -
+ + {/* @ts-ignore FIXME */}Account: {account?.address}
- {semaphoreId.andThenSync(({ commitment }) =>Semaphore commitment: {commitment.toString()}
)} +
+ Account: {account?.address}
+
+ Semaphore commitment: {commitment.toString()}
+