-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from zkemail/feat/refactor
refactor: improve package structure with modular circuits
- Loading branch information
Showing
54 changed files
with
18,320 additions
and
11,444 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"semi": true, | ||
"tabWidth": 2, | ||
"printWidth": 120, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"bracketSpacing": true, | ||
"arrowParens": "always", | ||
"endOfLine": "lf" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,35 @@ | ||
import type { Metadata } from "next"; | ||
import { ChakraProvider } from "@chakra-ui/react"; | ||
import localFont from "next/font/local"; | ||
import "./globals.css"; | ||
import type { Metadata } from 'next'; | ||
import { ChakraProvider } from '@chakra-ui/react'; | ||
import localFont from 'next/font/local'; | ||
import './globals.css'; | ||
|
||
const geistSans = localFont({ | ||
src: "./fonts/GeistVF.woff", | ||
variable: "--font-geist-sans", | ||
weight: "100 900", | ||
src: './fonts/GeistVF.woff', | ||
variable: '--font-geist-sans', | ||
weight: '100 900', | ||
}); | ||
const geistMono = localFont({ | ||
src: "./fonts/GeistMonoVF.woff", | ||
variable: "--font-geist-mono", | ||
weight: "100 900", | ||
src: './fonts/GeistMonoVF.woff', | ||
variable: '--font-geist-mono', | ||
weight: '100 900', | ||
}); | ||
|
||
export const metadata: Metadata = { | ||
title: "JWT-Wallet", | ||
description: "A simple JWT wallet application", | ||
title: 'JWT-Wallet', | ||
description: 'A simple JWT wallet application', | ||
}; | ||
|
||
export default function RootLayout({ | ||
children, | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
children: React.ReactNode; | ||
}>) { | ||
return ( | ||
<html lang="en"> | ||
<body className={`${geistSans.variable} ${geistMono.variable}`}> | ||
<ChakraProvider>{children}</ChakraProvider> | ||
<script | ||
src="https://accounts.google.com/gsi/client" | ||
async | ||
defer | ||
></script> | ||
</body> | ||
</html> | ||
); | ||
return ( | ||
<html lang="en"> | ||
<body className={`${geistSans.variable} ${geistMono.variable}`}> | ||
<ChakraProvider>{children}</ChakraProvider> | ||
<script src="https://accounts.google.com/gsi/client" async defer></script> | ||
</body> | ||
</html> | ||
); | ||
} |
Oops, something went wrong.