@sei-js/create-sei 0.0.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.rsyncignore +13 -0
- package/CHANGELOG.md +12 -0
- package/dist/extensions/precompiles/package.json +44 -0
- package/dist/extensions/precompiles/src/components/default/index.tsx +201 -0
- package/dist/main.js +46 -78
- package/dist/main.test.js +34 -0
- package/dist/templates/next-template/.env.example +8 -0
- package/dist/templates/next-template/.nvmrc +1 -0
- package/dist/templates/next-template/biome.json +48 -0
- package/{templates/next-cosmos-template → dist/templates/next-template}/next-env.d.ts +1 -1
- package/dist/templates/next-template/package.json +44 -0
- package/dist/templates/next-template/postcss.config.mjs +6 -0
- package/dist/templates/next-template/src/app/development/page.tsx +260 -0
- package/dist/templates/next-template/src/app/globals.css +14 -0
- package/dist/templates/next-template/src/app/layout.tsx +30 -0
- package/dist/templates/next-template/src/app/page.tsx +10 -0
- package/dist/templates/next-template/src/app/resources/page.tsx +175 -0
- package/dist/templates/next-template/src/app/resources/resources.ts +56 -0
- package/dist/templates/next-template/src/components/default/examples.ts +63 -0
- package/dist/templates/next-template/src/components/default/index.tsx +402 -0
- package/dist/templates/next-template/src/components/index.ts +3 -0
- package/dist/templates/next-template/src/components/landing/index.tsx +107 -0
- package/dist/templates/next-template/src/components/providers/index.ts +1 -0
- package/dist/templates/next-template/src/components/providers/providers.tsx +89 -0
- package/dist/templates/next-template/src/components/shell/index.ts +1 -0
- package/dist/templates/next-template/src/components/shell/shell.tsx +87 -0
- package/dist/templates/next-template/tailwind.config.js +17 -0
- package/{templates/next-cosmos-template → dist/templates/next-template}/tsconfig.json +2 -1
- package/extensions/precompiles/package.json +44 -0
- package/extensions/precompiles/src/components/default/index.tsx +201 -0
- package/jest.config.js +14 -0
- package/package.json +10 -5
- package/src/main.test.ts +38 -0
- package/src/main.ts +51 -90
- package/templates/next-template/.env.example +8 -0
- package/templates/next-template/.nvmrc +1 -0
- package/templates/next-template/biome.json +48 -0
- package/templates/{next-wagmi-template → next-template}/next-env.d.ts +1 -1
- package/templates/next-template/package.json +44 -0
- package/templates/next-template/postcss.config.mjs +6 -0
- package/templates/next-template/src/app/development/page.tsx +260 -0
- package/templates/next-template/src/app/globals.css +14 -0
- package/templates/next-template/src/app/layout.tsx +30 -0
- package/templates/next-template/src/app/page.tsx +10 -0
- package/templates/next-template/src/app/resources/page.tsx +175 -0
- package/templates/next-template/src/app/resources/resources.ts +56 -0
- package/templates/next-template/src/components/default/examples.ts +63 -0
- package/templates/next-template/src/components/default/index.tsx +402 -0
- package/templates/next-template/src/components/index.ts +3 -0
- package/templates/next-template/src/components/landing/index.tsx +107 -0
- package/templates/next-template/src/components/providers/index.ts +1 -0
- package/templates/next-template/src/components/providers/providers.tsx +89 -0
- package/templates/next-template/src/components/shell/index.ts +1 -0
- package/templates/next-template/src/components/shell/shell.tsx +87 -0
- package/templates/next-template/tailwind.config.js +17 -0
- package/{dist/templates/next-cosmos-template → templates/next-template}/tsconfig.json +2 -1
- package/tsconfig.json +1 -7
- package/.yarn/install-state.gz +0 -0
- package/dist/templates/next-cosmos-template/README.md +0 -60
- package/dist/templates/next-cosmos-template/next-env.d.ts +0 -5
- package/dist/templates/next-cosmos-template/next.config.mjs +0 -14
- package/dist/templates/next-cosmos-template/package.json +0 -31
- package/dist/templates/next-cosmos-template/public/next.svg +0 -1
- package/dist/templates/next-cosmos-template/public/sei-logotype.svg +0 -15
- package/dist/templates/next-cosmos-template/public/vercel.svg +0 -1
- package/dist/templates/next-cosmos-template/src/app/components/Homepage/Examples.tsx +0 -168
- package/dist/templates/next-cosmos-template/src/app/components/Homepage/Homepage.css +0 -154
- package/dist/templates/next-cosmos-template/src/app/components/Homepage/Homepage.tsx +0 -83
- package/dist/templates/next-cosmos-template/src/app/components/WalletConnectButton/WalletConnectButton.tsx +0 -18
- package/dist/templates/next-cosmos-template/src/app/components/Web3Provider.tsx +0 -35
- package/dist/templates/next-cosmos-template/src/app/components/index.ts +0 -3
- package/dist/templates/next-cosmos-template/src/app/constants/chain.ts +0 -16
- package/dist/templates/next-cosmos-template/src/app/constants/index.ts +0 -1
- package/dist/templates/next-cosmos-template/src/app/index.css +0 -184
- package/dist/templates/next-cosmos-template/src/app/layout.tsx +0 -21
- package/dist/templates/next-cosmos-template/src/app/page.tsx +0 -17
- package/dist/templates/next-cosmos-template/yarn.lock +0 -9814
- package/dist/templates/next-wagmi-template/next-env.d.ts +0 -5
- package/dist/templates/next-wagmi-template/package.json +0 -30
- package/dist/templates/next-wagmi-template/public/sei-logotype.svg +0 -15
- package/dist/templates/next-wagmi-template/src/app/components/Homepage/Examples.tsx +0 -257
- package/dist/templates/next-wagmi-template/src/app/components/Homepage/Homepage.css +0 -154
- package/dist/templates/next-wagmi-template/src/app/components/Homepage/Homepage.tsx +0 -87
- package/dist/templates/next-wagmi-template/src/app/components/Web3Provider.tsx +0 -74
- package/dist/templates/next-wagmi-template/src/app/components/index.ts +0 -2
- package/dist/templates/next-wagmi-template/src/app/constants/chain.ts +0 -7
- package/dist/templates/next-wagmi-template/src/app/constants/index.ts +0 -1
- package/dist/templates/next-wagmi-template/src/app/index.css +0 -184
- package/dist/templates/next-wagmi-template/src/app/layout.tsx +0 -21
- package/dist/templates/next-wagmi-template/src/app/page.tsx +0 -21
- package/dist/templates/next-wagmi-template/tsconfig.json +0 -26
- package/dist/templates/next-wagmi-template/yarn.lock +0 -4809
- package/dist/templates/vite-cosmos-template/.eslintrc.cjs +0 -11
- package/dist/templates/vite-cosmos-template/README.md +0 -72
- package/dist/templates/vite-cosmos-template/favicon.ico +0 -0
- package/dist/templates/vite-cosmos-template/index.html +0 -16
- package/dist/templates/vite-cosmos-template/package.json +0 -35
- package/dist/templates/vite-cosmos-template/public/sei-logotype.svg +0 -15
- package/dist/templates/vite-cosmos-template/src/App.tsx +0 -15
- package/dist/templates/vite-cosmos-template/src/assets/react.svg +0 -1
- package/dist/templates/vite-cosmos-template/src/components/Homepage/Examples.tsx +0 -168
- package/dist/templates/vite-cosmos-template/src/components/Homepage/Homepage.css +0 -154
- package/dist/templates/vite-cosmos-template/src/components/Homepage/Homepage.tsx +0 -77
- package/dist/templates/vite-cosmos-template/src/components/WalletConnectButton/WalletConnectButton.tsx +0 -18
- package/dist/templates/vite-cosmos-template/src/components/Web3Provider.tsx +0 -41
- package/dist/templates/vite-cosmos-template/src/components/index.ts +0 -4
- package/dist/templates/vite-cosmos-template/src/constants/chain.ts +0 -16
- package/dist/templates/vite-cosmos-template/src/constants/index.ts +0 -1
- package/dist/templates/vite-cosmos-template/src/index.css +0 -184
- package/dist/templates/vite-cosmos-template/src/main.tsx +0 -12
- package/dist/templates/vite-cosmos-template/src/vite-env.d.ts +0 -1
- package/dist/templates/vite-cosmos-template/tsconfig.app.json +0 -25
- package/dist/templates/vite-cosmos-template/tsconfig.json +0 -11
- package/dist/templates/vite-cosmos-template/tsconfig.node.json +0 -14
- package/dist/templates/vite-cosmos-template/vite.config.ts +0 -7
- package/dist/templates/vite-cosmos-template/yarn.lock +0 -9323
- package/dist/templates/vite-wagmi-template/.eslintrc.cjs +0 -11
- package/dist/templates/vite-wagmi-template/README.md +0 -72
- package/dist/templates/vite-wagmi-template/favicon.ico +0 -0
- package/dist/templates/vite-wagmi-template/index.html +0 -12
- package/dist/templates/vite-wagmi-template/package.json +0 -33
- package/dist/templates/vite-wagmi-template/public/sei-logotype.svg +0 -15
- package/dist/templates/vite-wagmi-template/src/App.tsx +0 -21
- package/dist/templates/vite-wagmi-template/src/assets/react.svg +0 -1
- package/dist/templates/vite-wagmi-template/src/components/Homepage/Examples.tsx +0 -255
- package/dist/templates/vite-wagmi-template/src/components/Homepage/Homepage.css +0 -154
- package/dist/templates/vite-wagmi-template/src/components/Homepage/Homepage.tsx +0 -81
- package/dist/templates/vite-wagmi-template/src/components/Web3Provider.tsx +0 -72
- package/dist/templates/vite-wagmi-template/src/constants/chain.ts +0 -6
- package/dist/templates/vite-wagmi-template/src/constants/index.ts +0 -1
- package/dist/templates/vite-wagmi-template/src/index.css +0 -183
- package/dist/templates/vite-wagmi-template/src/main.tsx +0 -12
- package/dist/templates/vite-wagmi-template/src/vite-env.d.ts +0 -1
- package/dist/templates/vite-wagmi-template/tsconfig.app.json +0 -25
- package/dist/templates/vite-wagmi-template/tsconfig.json +0 -11
- package/dist/templates/vite-wagmi-template/tsconfig.node.json +0 -14
- package/dist/templates/vite-wagmi-template/vite.config.ts +0 -10
- package/dist/templates/vite-wagmi-template/yarn.lock +0 -4603
- package/templates/next-cosmos-template/.eslintrc.json +0 -3
- package/templates/next-cosmos-template/README.md +0 -60
- package/templates/next-cosmos-template/next.config.mjs +0 -14
- package/templates/next-cosmos-template/package.json +0 -31
- package/templates/next-cosmos-template/public/next.svg +0 -1
- package/templates/next-cosmos-template/public/sei-logotype.svg +0 -15
- package/templates/next-cosmos-template/public/vercel.svg +0 -1
- package/templates/next-cosmos-template/src/app/components/Homepage/Examples.tsx +0 -168
- package/templates/next-cosmos-template/src/app/components/Homepage/Homepage.css +0 -154
- package/templates/next-cosmos-template/src/app/components/Homepage/Homepage.tsx +0 -83
- package/templates/next-cosmos-template/src/app/components/WalletConnectButton/WalletConnectButton.tsx +0 -18
- package/templates/next-cosmos-template/src/app/components/Web3Provider.tsx +0 -35
- package/templates/next-cosmos-template/src/app/components/index.ts +0 -3
- package/templates/next-cosmos-template/src/app/constants/chain.ts +0 -16
- package/templates/next-cosmos-template/src/app/constants/index.ts +0 -1
- package/templates/next-cosmos-template/src/app/favicon.ico +0 -0
- package/templates/next-cosmos-template/src/app/index.css +0 -184
- package/templates/next-cosmos-template/src/app/layout.tsx +0 -21
- package/templates/next-cosmos-template/src/app/page.tsx +0 -17
- package/templates/next-cosmos-template/yarn.lock +0 -9814
- package/templates/next-wagmi-template/.eslintrc.json +0 -3
- package/templates/next-wagmi-template/package.json +0 -30
- package/templates/next-wagmi-template/public/sei-logotype.svg +0 -15
- package/templates/next-wagmi-template/src/app/components/Homepage/Examples.tsx +0 -257
- package/templates/next-wagmi-template/src/app/components/Homepage/Homepage.css +0 -154
- package/templates/next-wagmi-template/src/app/components/Homepage/Homepage.tsx +0 -87
- package/templates/next-wagmi-template/src/app/components/Web3Provider.tsx +0 -74
- package/templates/next-wagmi-template/src/app/components/index.ts +0 -2
- package/templates/next-wagmi-template/src/app/constants/chain.ts +0 -7
- package/templates/next-wagmi-template/src/app/constants/index.ts +0 -1
- package/templates/next-wagmi-template/src/app/favicon.ico +0 -0
- package/templates/next-wagmi-template/src/app/index.css +0 -184
- package/templates/next-wagmi-template/src/app/layout.tsx +0 -21
- package/templates/next-wagmi-template/src/app/page.tsx +0 -21
- package/templates/next-wagmi-template/tsconfig.json +0 -26
- package/templates/next-wagmi-template/yarn.lock +0 -4809
- package/templates/vite-cosmos-template/.eslintrc.cjs +0 -11
- package/templates/vite-cosmos-template/README.md +0 -72
- package/templates/vite-cosmos-template/favicon.ico +0 -0
- package/templates/vite-cosmos-template/index.html +0 -16
- package/templates/vite-cosmos-template/package.json +0 -35
- package/templates/vite-cosmos-template/public/sei-logotype.svg +0 -15
- package/templates/vite-cosmos-template/src/App.tsx +0 -15
- package/templates/vite-cosmos-template/src/assets/react.svg +0 -1
- package/templates/vite-cosmos-template/src/components/Homepage/Examples.tsx +0 -168
- package/templates/vite-cosmos-template/src/components/Homepage/Homepage.css +0 -154
- package/templates/vite-cosmos-template/src/components/Homepage/Homepage.tsx +0 -77
- package/templates/vite-cosmos-template/src/components/WalletConnectButton/WalletConnectButton.tsx +0 -18
- package/templates/vite-cosmos-template/src/components/Web3Provider.tsx +0 -41
- package/templates/vite-cosmos-template/src/components/index.ts +0 -4
- package/templates/vite-cosmos-template/src/constants/chain.ts +0 -16
- package/templates/vite-cosmos-template/src/constants/index.ts +0 -1
- package/templates/vite-cosmos-template/src/index.css +0 -184
- package/templates/vite-cosmos-template/src/main.tsx +0 -12
- package/templates/vite-cosmos-template/src/vite-env.d.ts +0 -1
- package/templates/vite-cosmos-template/tsconfig.app.json +0 -25
- package/templates/vite-cosmos-template/tsconfig.json +0 -11
- package/templates/vite-cosmos-template/tsconfig.node.json +0 -14
- package/templates/vite-cosmos-template/vite.config.ts +0 -7
- package/templates/vite-cosmos-template/yarn.lock +0 -9323
- package/templates/vite-wagmi-template/.eslintrc.cjs +0 -11
- package/templates/vite-wagmi-template/README.md +0 -72
- package/templates/vite-wagmi-template/favicon.ico +0 -0
- package/templates/vite-wagmi-template/index.html +0 -12
- package/templates/vite-wagmi-template/package.json +0 -33
- package/templates/vite-wagmi-template/public/sei-logotype.svg +0 -15
- package/templates/vite-wagmi-template/src/App.tsx +0 -21
- package/templates/vite-wagmi-template/src/assets/react.svg +0 -1
- package/templates/vite-wagmi-template/src/components/Homepage/Examples.tsx +0 -255
- package/templates/vite-wagmi-template/src/components/Homepage/Homepage.css +0 -154
- package/templates/vite-wagmi-template/src/components/Homepage/Homepage.tsx +0 -81
- package/templates/vite-wagmi-template/src/components/Web3Provider.tsx +0 -72
- package/templates/vite-wagmi-template/src/constants/chain.ts +0 -6
- package/templates/vite-wagmi-template/src/constants/index.ts +0 -1
- package/templates/vite-wagmi-template/src/index.css +0 -183
- package/templates/vite-wagmi-template/src/main.tsx +0 -12
- package/templates/vite-wagmi-template/src/vite-env.d.ts +0 -1
- package/templates/vite-wagmi-template/tsconfig.app.json +0 -25
- package/templates/vite-wagmi-template/tsconfig.json +0 -11
- package/templates/vite-wagmi-template/tsconfig.node.json +0 -14
- package/templates/vite-wagmi-template/vite.config.ts +0 -10
- package/templates/vite-wagmi-template/yarn.lock +0 -4603
- /package/dist/templates/{next-cosmos-template → next-template}/.eslintrc.json +0 -0
- /package/dist/templates/{next-wagmi-template → next-template}/README.md +0 -0
- /package/dist/templates/{next-wagmi-template → next-template}/next.config.mjs +0 -0
- /package/dist/templates/{next-cosmos-template/src/app → next-template/public}/favicon.ico +0 -0
- /package/{dist/templates/next-wagmi-template → templates/next-template}/.eslintrc.json +0 -0
- /package/templates/{next-wagmi-template → next-template}/README.md +0 -0
- /package/templates/{next-wagmi-template → next-template}/next.config.mjs +0 -0
- /package/{dist/templates/next-wagmi-template/src/app → templates/next-template/public}/favicon.ico +0 -0
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
1. Use a more-intuitive box-sizing model.
|
|
3
|
-
*/
|
|
4
|
-
*,
|
|
5
|
-
*::before,
|
|
6
|
-
*::after {
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
/*
|
|
10
|
-
2. Remove default margin
|
|
11
|
-
*/
|
|
12
|
-
* {
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
15
|
-
/*
|
|
16
|
-
Typographic tweaks!
|
|
17
|
-
3. Add accessible line-height
|
|
18
|
-
4. Improve text rendering
|
|
19
|
-
*/
|
|
20
|
-
body {
|
|
21
|
-
line-height: 1.5;
|
|
22
|
-
-webkit-font-smoothing: antialiased;
|
|
23
|
-
}
|
|
24
|
-
/*
|
|
25
|
-
5. Improve media defaults
|
|
26
|
-
*/
|
|
27
|
-
img,
|
|
28
|
-
picture,
|
|
29
|
-
video,
|
|
30
|
-
canvas,
|
|
31
|
-
svg {
|
|
32
|
-
display: block;
|
|
33
|
-
max-width: 100%;
|
|
34
|
-
}
|
|
35
|
-
/*
|
|
36
|
-
6. Remove built-in form typography styles
|
|
37
|
-
*/
|
|
38
|
-
input,
|
|
39
|
-
button,
|
|
40
|
-
textarea,
|
|
41
|
-
select {
|
|
42
|
-
font: inherit;
|
|
43
|
-
}
|
|
44
|
-
/*
|
|
45
|
-
7. Avoid text overflows
|
|
46
|
-
*/
|
|
47
|
-
p,
|
|
48
|
-
h1,
|
|
49
|
-
h2,
|
|
50
|
-
h3,
|
|
51
|
-
h4,
|
|
52
|
-
h5,
|
|
53
|
-
h6 {
|
|
54
|
-
overflow-wrap: break-word;
|
|
55
|
-
line-height: 1;
|
|
56
|
-
}
|
|
57
|
-
/*
|
|
58
|
-
8. Create a root stacking context
|
|
59
|
-
*/
|
|
60
|
-
#root,
|
|
61
|
-
#__next {
|
|
62
|
-
isolation: isolate;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
:root {
|
|
66
|
-
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
67
|
-
line-height: 1.5;
|
|
68
|
-
font-weight: 400;
|
|
69
|
-
|
|
70
|
-
color-scheme: light dark;
|
|
71
|
-
color: #000;
|
|
72
|
-
background: var(--background);
|
|
73
|
-
|
|
74
|
-
font-synthesis: none;
|
|
75
|
-
text-rendering: optimizeLegibility;
|
|
76
|
-
-webkit-font-smoothing: antialiased;
|
|
77
|
-
-moz-osx-font-smoothing: grayscale;
|
|
78
|
-
|
|
79
|
-
--primary-color: #9f1239;
|
|
80
|
-
--primary-color-hover: #7f0a2e;
|
|
81
|
-
--background: linear-gradient(180deg, #f5f5f4 0%, #fff 100%);
|
|
82
|
-
--border: #d6d3d1;
|
|
83
|
-
--card: #fff;
|
|
84
|
-
--card-foreground: #242424;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
a {
|
|
88
|
-
font-weight: 500;
|
|
89
|
-
color: var(--primary-color);
|
|
90
|
-
text-decoration: inherit;
|
|
91
|
-
}
|
|
92
|
-
a:hover {
|
|
93
|
-
color: var(--primary-color-hover);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
body {
|
|
97
|
-
margin: 0;
|
|
98
|
-
padding: 0;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
h1 {
|
|
102
|
-
font-size: 3.2em;
|
|
103
|
-
line-height: 1;
|
|
104
|
-
}
|
|
105
|
-
code {
|
|
106
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
107
|
-
display: inline-flex;
|
|
108
|
-
border-radius: 4px;
|
|
109
|
-
padding: 0.1rem 0.4rem;
|
|
110
|
-
background-color: #d7cccc;
|
|
111
|
-
color: var(--card-foreground);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
button {
|
|
115
|
-
border-radius: 4rem;
|
|
116
|
-
border: 1px solid transparent;
|
|
117
|
-
padding: 0.6em 1.2em;
|
|
118
|
-
font-size: 1em;
|
|
119
|
-
font-weight: 500;
|
|
120
|
-
font-family: inherit;
|
|
121
|
-
background-color: #cec9c1;
|
|
122
|
-
cursor: pointer;
|
|
123
|
-
transition: all 0.25s ease;
|
|
124
|
-
color: black;
|
|
125
|
-
}
|
|
126
|
-
button:hover {
|
|
127
|
-
background-color: #b5afa7;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
button:disabled {
|
|
131
|
-
filter: grayscale(1) opacity(0.5);
|
|
132
|
-
color: rgb(56, 55, 55);
|
|
133
|
-
pointer-events: none;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
button.primary {
|
|
137
|
-
background-color: var(--primary-color);
|
|
138
|
-
color: #fff;
|
|
139
|
-
}
|
|
140
|
-
button.outline {
|
|
141
|
-
background-color: transparent;
|
|
142
|
-
border: 1px solid var(--border);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
button.primary:hover {
|
|
146
|
-
background-color: var(--primary-color-hover);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
button.secondary {
|
|
150
|
-
background-color: #000;
|
|
151
|
-
color: #fff;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
button.secondary:hover {
|
|
155
|
-
background-color: #2b2b2b;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
button:active {
|
|
159
|
-
transform: translateY(1px);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
button.small {
|
|
163
|
-
padding: 0.4em 0.8em;
|
|
164
|
-
font-size: 0.8em;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
button:focus-visible {
|
|
168
|
-
outline: 4px auto -webkit-focus-ring-color;
|
|
169
|
-
outline-offset: 4px;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.header {
|
|
173
|
-
width: 100%;
|
|
174
|
-
height: 4rem;
|
|
175
|
-
padding: 0 1%;
|
|
176
|
-
display: flex;
|
|
177
|
-
align-items: center;
|
|
178
|
-
justify-content: right;
|
|
179
|
-
background-color: transparent;
|
|
180
|
-
border-bottom: 1px solid var(--border);
|
|
181
|
-
position: sticky;
|
|
182
|
-
top: 0;
|
|
183
|
-
background: #f5f5f4;
|
|
184
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Metadata } from 'next';
|
|
2
|
-
import { Inter } from 'next/font/google';
|
|
3
|
-
|
|
4
|
-
const inter = Inter({ subsets: ['latin'] });
|
|
5
|
-
|
|
6
|
-
export const metadata: Metadata = {
|
|
7
|
-
title: 'Sei Next App (Wagmi)',
|
|
8
|
-
description: 'Generated by create sei app'
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export default function RootLayout({
|
|
12
|
-
children
|
|
13
|
-
}: Readonly<{
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
}>) {
|
|
16
|
-
return (
|
|
17
|
-
<html lang="en">
|
|
18
|
-
<body className={inter.className}>{children}</body>
|
|
19
|
-
</html>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ConnectButton } from '@rainbow-me/rainbowkit';
|
|
2
|
-
import Web3Provider from './components/Web3Provider';
|
|
3
|
-
import Homepage from './components/Homepage/Homepage';
|
|
4
|
-
|
|
5
|
-
import './index.css';
|
|
6
|
-
|
|
7
|
-
export default function Home() {
|
|
8
|
-
return (
|
|
9
|
-
<Web3Provider>
|
|
10
|
-
<div className="header">
|
|
11
|
-
<ConnectButton
|
|
12
|
-
showBalance={{
|
|
13
|
-
smallScreen: false,
|
|
14
|
-
largeScreen: true
|
|
15
|
-
}}
|
|
16
|
-
/>
|
|
17
|
-
</div>
|
|
18
|
-
<Homepage />
|
|
19
|
-
</Web3Provider>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
4
|
-
"allowJs": true,
|
|
5
|
-
"skipLibCheck": true,
|
|
6
|
-
"strict": true,
|
|
7
|
-
"noEmit": true,
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"module": "esnext",
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"isolatedModules": true,
|
|
13
|
-
"jsx": "preserve",
|
|
14
|
-
"incremental": true,
|
|
15
|
-
"plugins": [
|
|
16
|
-
{
|
|
17
|
-
"name": "next"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"paths": {
|
|
21
|
-
"@/*": ["./src/*"]
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
25
|
-
"exclude": ["node_modules"]
|
|
26
|
-
}
|