-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: UI ported to Biome (#2203)
- Loading branch information
1 parent
8b1ceba
commit b475a9a
Showing
15 changed files
with
209 additions
and
128 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
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 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
21 changes: 18 additions & 3 deletions
21
examples/passport/wallets-connect-with-nextjs/app/globals.css
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,3 +1,18 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
html, body { | ||
height: 100%; | ||
} | ||
body { | ||
margin: 0; | ||
} | ||
.flex-container { | ||
height: 100%; | ||
padding: 0; | ||
margin: 0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.mb-1 { | ||
margin-bottom: 1rem; | ||
} |
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
18 changes: 7 additions & 11 deletions
18
examples/passport/wallets-connect-with-nextjs/app/logout/page.tsx
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,18 +1,14 @@ | ||
'use client'; | ||
|
||
import { Heading, Link } from '@biom3/react'; | ||
import NextLink from 'next/link'; | ||
|
||
export default function Logout() { | ||
// render the view for after the logout is complete | ||
return ( | ||
<div className="flex flex-col items-center justify-center min-h-screen p-8"> | ||
<h1 className="text-3xl font-bold mb-8">Logged Out</h1> | ||
<div className="grid grid-cols-1 gap-4 text-center"> | ||
<a | ||
className="underline" | ||
href="/" | ||
> | ||
Return to examples | ||
</a> | ||
</div> | ||
</div> | ||
<> | ||
<Heading className="mb-1">Logged Out</Heading> | ||
<Link rc={<NextLink href="/" />}>Return to Examples</Link> | ||
</> | ||
); | ||
} |
Oops, something went wrong.