Skip to content

Commit fbb4204

Browse files
authored
Style Connect app (WIP) (#243)
1 parent dec7e52 commit fbb4204

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1053
-669
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

apps/connect/.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
routeTree.gen.ts

apps/connect/components.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

apps/connect/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Connect</title>
7+
<title>Geo Connect</title>
88
<meta name="description" content="Authenticate with your Geo Account" />
99
</head>
1010
<body>

apps/connect/package.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,44 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite --force",
8-
"preview": "vite preview"
8+
"preview": "vite preview",
9+
"lint": "biome check --formatter-enabled=false",
10+
"lint:fix": "biome check --formatter-enabled=false --write --unsafe",
11+
"format": "prettier --write --list-different . && biome format --write",
12+
"format:check": "biome check --linter-enabled=false",
13+
"check": "pnpm run lint && pnpm run format:check",
14+
"check:fix": "pnpm run lint:fix && pnpm run format"
915
},
1016
"dependencies": {
17+
"@base-ui-components/react": "1.0.0-beta.0",
1118
"@graphprotocol/hypergraph": "workspace:*",
1219
"@graphprotocol/hypergraph-react": "workspace:*",
1320
"@privy-io/react-auth": "^2.13.0",
14-
"@radix-ui/react-avatar": "^1.1.9",
15-
"@radix-ui/react-icons": "^1.3.2",
16-
"@radix-ui/react-slot": "^1.2.2",
1721
"@tanstack/react-query": "^5.75.5",
1822
"@tanstack/react-router": "^1.120.2",
1923
"@xstate/store": "^3.5.1",
20-
"class-variance-authority": "^0.7.1",
2124
"clsx": "^2.1.1",
2225
"effect": "^3.16.3",
23-
"framer-motion": "^12.10.1",
2426
"graphql-request": "^7.2.0",
2527
"lucide-react": "^0.508.0",
2628
"react": "^19.1.0",
2729
"react-dom": "^19.1.0",
2830
"tailwind-merge": "^3.2.0",
29-
"tailwindcss-animate": "^1.0.7",
3031
"viem": "^2.30.6",
3132
"vite": "^6.3.5"
3233
},
3334
"devDependencies": {
34-
"@tailwindcss/vite": "^4.1.5",
35+
"@tailwindcss/vite": "^4.1.10",
3536
"@tanstack/router-devtools": "^1.120.2",
3637
"@tanstack/router-plugin": "^1.120.2",
3738
"@types/node": "^22.15.15",
3839
"@types/react": "^19.1.3",
3940
"@types/react-dom": "^19.1.3",
4041
"@vitejs/plugin-react": "^4.4.1",
41-
"tailwindcss": "^4.1.5"
42+
"prettier": "^3.6.0",
43+
"prettier-plugin-tailwindcss": "^0.6.13",
44+
"tailwindcss": "^4.1.10",
45+
"unplugin-fonts": "^1.3.1",
46+
"vite-plugin-svgr": "^4.3.0"
4247
}
4348
}

apps/connect/prettier.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* We only use Prettier to sort Tailwind classes; Biome handles the rest.
3+
* When Biome's `useSortedClasses` is on par with `prettier-plugin-tailwindcss`, we can switch to it and remove Prettier completely.
4+
* See https://biomejs.dev/linter/rules/use-sorted-classes/
5+
*/
6+
export default {
7+
singleQuote: true,
8+
printWidth: 120,
9+
plugins: ['prettier-plugin-tailwindcss'],
10+
tailwindPreserveWhitespace: true,
11+
tailwindFunctions: ['cn'],
12+
};

apps/connect/src/Boot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function Boot() {
5252
loginMethods: ['email', 'google'],
5353
appearance: {
5454
theme: 'light',
55-
accentColor: '#676FFF',
55+
accentColor: '#6833ff',
5656
},
5757
embeddedWallets: {
5858
createOnLogin: 'users-without-wallets',
53.9 KB
Binary file not shown.
49.2 KB
Binary file not shown.
50 KB
Binary file not shown.

0 commit comments

Comments
 (0)