create-plasmic-app 0.0.150 → 0.0.152
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/cpa-out/.gitignore +4 -2
- package/cpa-out/gatsby-codegen-js/package.json +2 -2
- package/cpa-out/gatsby-codegen-js/plasmic.json +2 -2
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +61 -26
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/gatsby-codegen-js/src/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/gatsby-codegen-ts/package.json +2 -2
- package/cpa-out/gatsby-codegen-ts/plasmic.json +2 -2
- package/cpa-out/gatsby-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/gatsby-codegen-ts/src/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/gatsby-loader-js/package.json +1 -1
- package/cpa-out/gatsby-loader-js/src/templates/defaultPlasmicPage.jsx +1 -0
- package/cpa-out/gatsby-loader-ts/package.json +1 -1
- package/cpa-out/gatsby-loader-ts/src/templates/defaultPlasmicPage.tsx +1 -0
- package/cpa-out/nextjs-app-codegen-js/app/dynamic/[slug]/page.jsx +13 -3
- package/cpa-out/nextjs-app-codegen-js/app/globals.css +10 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +62 -27
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.jsx +103 -2
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/nextjs-app-codegen-js/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/nextjs-app-codegen-js/eslint.config.mjs +16 -0
- package/cpa-out/nextjs-app-codegen-js/jsconfig.json +7 -0
- package/cpa-out/nextjs-app-codegen-js/package.json +4 -4
- package/cpa-out/nextjs-app-codegen-js/plasmic.json +2 -2
- package/cpa-out/nextjs-app-codegen-ts/app/dynamic/[slug]/page.tsx +13 -3
- package/cpa-out/nextjs-app-codegen-ts/app/globals.css +10 -0
- package/cpa-out/nextjs-app-codegen-ts/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +69 -29
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.tsx +110 -2
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/nextjs-app-codegen-ts/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/nextjs-app-codegen-ts/eslint.config.mjs +18 -0
- package/cpa-out/nextjs-app-codegen-ts/package.json +4 -4
- package/cpa-out/nextjs-app-codegen-ts/plasmic.json +2 -2
- package/cpa-out/nextjs-app-loader-js/app/[[...catchall]]/page.jsx +1 -0
- package/cpa-out/nextjs-app-loader-js/app/globals.css +10 -0
- package/cpa-out/nextjs-app-loader-js/eslint.config.mjs +16 -0
- package/cpa-out/nextjs-app-loader-js/jsconfig.json +7 -0
- package/cpa-out/nextjs-app-loader-js/package.json +3 -3
- package/cpa-out/nextjs-app-loader-ts/app/[[...catchall]]/page.tsx +1 -0
- package/cpa-out/nextjs-app-loader-ts/app/globals.css +10 -0
- package/cpa-out/nextjs-app-loader-ts/eslint.config.mjs +18 -0
- package/cpa-out/nextjs-app-loader-ts/package.json +3 -3
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +62 -27
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/nextjs-pages-codegen-js/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/nextjs-pages-codegen-js/eslint.config.mjs +16 -0
- package/cpa-out/nextjs-pages-codegen-js/jsconfig.json +7 -0
- package/cpa-out/nextjs-pages-codegen-js/package.json +4 -4
- package/cpa-out/nextjs-pages-codegen-js/pages/dynamic/[slug].jsx +24 -2
- package/cpa-out/nextjs-pages-codegen-js/plasmic.json +2 -2
- package/cpa-out/nextjs-pages-codegen-js/styles/Home.module.css +141 -0
- package/cpa-out/nextjs-pages-codegen-js/styles/globals.css +10 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +75 -29
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/nextjs-pages-codegen-ts/eslint.config.mjs +18 -0
- package/cpa-out/nextjs-pages-codegen-ts/package.json +4 -4
- package/cpa-out/nextjs-pages-codegen-ts/pages/dynamic/[slug].tsx +25 -2
- package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +2 -2
- package/cpa-out/nextjs-pages-codegen-ts/styles/Home.module.css +141 -0
- package/cpa-out/nextjs-pages-codegen-ts/styles/globals.css +10 -0
- package/cpa-out/nextjs-pages-loader-js/eslint.config.mjs +16 -0
- package/cpa-out/nextjs-pages-loader-js/jsconfig.json +7 -0
- package/cpa-out/nextjs-pages-loader-js/package.json +3 -3
- package/cpa-out/nextjs-pages-loader-js/pages/[[...catchall]].jsx +1 -0
- package/cpa-out/nextjs-pages-loader-js/styles/Home.module.css +141 -0
- package/cpa-out/nextjs-pages-loader-js/styles/globals.css +10 -0
- package/cpa-out/nextjs-pages-loader-ts/eslint.config.mjs +18 -0
- package/cpa-out/nextjs-pages-loader-ts/package.json +3 -3
- package/cpa-out/nextjs-pages-loader-ts/pages/[[...catchall]].tsx +1 -0
- package/cpa-out/nextjs-pages-loader-ts/styles/Home.module.css +141 -0
- package/cpa-out/nextjs-pages-loader-ts/styles/globals.css +10 -0
- package/cpa-out/react-codegen-js/package.json +2 -2
- package/cpa-out/react-codegen-js/plasmic.json +2 -2
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +61 -26
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/react-codegen-js/src/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/react-codegen-js/src/index.css +68 -0
- package/cpa-out/react-codegen-ts/package.json +2 -2
- package/cpa-out/react-codegen-ts/plasmic.json +2 -2
- package/cpa-out/react-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
- package/cpa-out/react-codegen-ts/src/components/plasmic/plasmic__default_style.module.css +363 -0
- package/cpa-out/react-codegen-ts/src/index.css +68 -0
- package/cpa-out/tanstack-codegen-ts/package.json +3 -3
- package/cpa-out/tanstack-codegen-ts/plasmic.json +2 -2
- package/cpa-out/tanstack-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.css +495 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.css +44 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.css +43 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.css +16 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.css +354 -0
- package/cpa-out/tanstack-codegen-ts/src/components/plasmic/plasmic__default_style.css +363 -0
- package/cpa-out/tanstack-codegen-ts/src/routes/dynamic/$slug/index.tsx +31 -8
- package/cpa-out/tanstack-codegen-ts/src/styles.css +17 -0
- package/dist/gatsby/template.js +1 -0
- package/dist/nextjs/nextjs.js +30 -0
- package/dist/nextjs/templates/app-loader/catchall-page.js +1 -0
- package/dist/nextjs/templates/pages-loader/catchall-page.js +1 -0
- package/package.json +2 -2
- package/src/gatsby/template.ts +1 -0
- package/src/nextjs/nextjs.ts +34 -1
- package/src/nextjs/templates/app-loader/catchall-page.ts +1 -0
- package/src/nextjs/templates/pages-loader/catchall-page.ts +1 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.page {
|
|
2
|
+
--background: #fafafa;
|
|
3
|
+
--foreground: #fff;
|
|
4
|
+
|
|
5
|
+
--text-primary: #000;
|
|
6
|
+
--text-secondary: #666;
|
|
7
|
+
|
|
8
|
+
--button-primary-hover: #383838;
|
|
9
|
+
--button-secondary-hover: #f2f2f2;
|
|
10
|
+
--button-secondary-border: #ebebeb;
|
|
11
|
+
|
|
12
|
+
display: flex;
|
|
13
|
+
min-height: 100vh;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
font-family: var(--font-geist-sans);
|
|
17
|
+
background-color: var(--background);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.main {
|
|
21
|
+
display: flex;
|
|
22
|
+
min-height: 100vh;
|
|
23
|
+
width: 100%;
|
|
24
|
+
max-width: 800px;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
background-color: var(--foreground);
|
|
29
|
+
padding: 120px 60px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.intro {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
text-align: left;
|
|
37
|
+
gap: 24px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.intro h1 {
|
|
41
|
+
max-width: 320px;
|
|
42
|
+
font-size: 40px;
|
|
43
|
+
font-weight: 600;
|
|
44
|
+
line-height: 48px;
|
|
45
|
+
letter-spacing: -2.4px;
|
|
46
|
+
text-wrap: balance;
|
|
47
|
+
color: var(--text-primary);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.intro p {
|
|
51
|
+
max-width: 440px;
|
|
52
|
+
font-size: 18px;
|
|
53
|
+
line-height: 32px;
|
|
54
|
+
text-wrap: balance;
|
|
55
|
+
color: var(--text-secondary);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.intro a {
|
|
59
|
+
font-weight: 500;
|
|
60
|
+
color: var(--text-primary);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ctas {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
width: 100%;
|
|
67
|
+
max-width: 440px;
|
|
68
|
+
gap: 16px;
|
|
69
|
+
font-size: 14px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ctas a {
|
|
73
|
+
display: flex;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
align-items: center;
|
|
76
|
+
height: 40px;
|
|
77
|
+
padding: 0 16px;
|
|
78
|
+
border-radius: 128px;
|
|
79
|
+
border: 1px solid transparent;
|
|
80
|
+
transition: 0.2s;
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
width: fit-content;
|
|
83
|
+
font-weight: 500;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
a.primary {
|
|
87
|
+
background: var(--text-primary);
|
|
88
|
+
color: var(--background);
|
|
89
|
+
gap: 8px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
a.secondary {
|
|
93
|
+
border-color: var(--button-secondary-border);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Enable hover only on non-touch devices */
|
|
97
|
+
@media (hover: hover) and (pointer: fine) {
|
|
98
|
+
a.primary:hover {
|
|
99
|
+
background: var(--button-primary-hover);
|
|
100
|
+
border-color: transparent;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
a.secondary:hover {
|
|
104
|
+
background: var(--button-secondary-hover);
|
|
105
|
+
border-color: transparent;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@media (max-width: 600px) {
|
|
110
|
+
.main {
|
|
111
|
+
padding: 48px 24px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.intro {
|
|
115
|
+
gap: 16px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.intro h1 {
|
|
119
|
+
font-size: 32px;
|
|
120
|
+
line-height: 40px;
|
|
121
|
+
letter-spacing: -1.92px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (prefers-color-scheme: dark) {
|
|
126
|
+
.logo {
|
|
127
|
+
filter: invert();
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.page {
|
|
131
|
+
--background: #000;
|
|
132
|
+
--foreground: #000;
|
|
133
|
+
|
|
134
|
+
--text-primary: #ededed;
|
|
135
|
+
--text-secondary: #999;
|
|
136
|
+
|
|
137
|
+
--button-primary-hover: #ccc;
|
|
138
|
+
--button-secondary-hover: #1a1a1a;
|
|
139
|
+
--button-secondary-border: #1a1a1a;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { defineConfig, globalIgnores } from "eslint/config";
|
|
2
|
+
import nextVitals from "eslint-config-next/core-web-vitals";
|
|
3
|
+
import nextTs from "eslint-config-next/typescript";
|
|
4
|
+
|
|
5
|
+
const eslintConfig = defineConfig([
|
|
6
|
+
...nextVitals,
|
|
7
|
+
...nextTs,
|
|
8
|
+
// Override default ignores of eslint-config-next.
|
|
9
|
+
globalIgnores([
|
|
10
|
+
// Default ignores of eslint-config-next:
|
|
11
|
+
".next/**",
|
|
12
|
+
"out/**",
|
|
13
|
+
"build/**",
|
|
14
|
+
"next-env.d.ts",
|
|
15
|
+
]),
|
|
16
|
+
]);
|
|
17
|
+
|
|
18
|
+
export default eslintConfig;
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"lint": "eslint"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@plasmicapp/loader-nextjs": "^2.0.
|
|
13
|
-
"next": "16.2.
|
|
12
|
+
"@plasmicapp/loader-nextjs": "^2.0.6",
|
|
13
|
+
"next": "16.2.7",
|
|
14
14
|
"react": "19.2.4",
|
|
15
15
|
"react-dom": "19.2.4"
|
|
16
16
|
},
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@types/react": "^19",
|
|
20
20
|
"@types/react-dom": "^19",
|
|
21
21
|
"eslint": "^9",
|
|
22
|
-
"eslint-config-next": "16.2.
|
|
22
|
+
"eslint-config-next": "16.2.7",
|
|
23
23
|
"typescript": "^5"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.page {
|
|
2
|
+
--background: #fafafa;
|
|
3
|
+
--foreground: #fff;
|
|
4
|
+
|
|
5
|
+
--text-primary: #000;
|
|
6
|
+
--text-secondary: #666;
|
|
7
|
+
|
|
8
|
+
--button-primary-hover: #383838;
|
|
9
|
+
--button-secondary-hover: #f2f2f2;
|
|
10
|
+
--button-secondary-border: #ebebeb;
|
|
11
|
+
|
|
12
|
+
display: flex;
|
|
13
|
+
min-height: 100vh;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
font-family: var(--font-geist-sans);
|
|
17
|
+
background-color: var(--background);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.main {
|
|
21
|
+
display: flex;
|
|
22
|
+
min-height: 100vh;
|
|
23
|
+
width: 100%;
|
|
24
|
+
max-width: 800px;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
background-color: var(--foreground);
|
|
29
|
+
padding: 120px 60px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.intro {
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
text-align: left;
|
|
37
|
+
gap: 24px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.intro h1 {
|
|
41
|
+
max-width: 320px;
|
|
42
|
+
font-size: 40px;
|
|
43
|
+
font-weight: 600;
|
|
44
|
+
line-height: 48px;
|
|
45
|
+
letter-spacing: -2.4px;
|
|
46
|
+
text-wrap: balance;
|
|
47
|
+
color: var(--text-primary);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.intro p {
|
|
51
|
+
max-width: 440px;
|
|
52
|
+
font-size: 18px;
|
|
53
|
+
line-height: 32px;
|
|
54
|
+
text-wrap: balance;
|
|
55
|
+
color: var(--text-secondary);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.intro a {
|
|
59
|
+
font-weight: 500;
|
|
60
|
+
color: var(--text-primary);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ctas {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
width: 100%;
|
|
67
|
+
max-width: 440px;
|
|
68
|
+
gap: 16px;
|
|
69
|
+
font-size: 14px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ctas a {
|
|
73
|
+
display: flex;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
align-items: center;
|
|
76
|
+
height: 40px;
|
|
77
|
+
padding: 0 16px;
|
|
78
|
+
border-radius: 128px;
|
|
79
|
+
border: 1px solid transparent;
|
|
80
|
+
transition: 0.2s;
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
width: fit-content;
|
|
83
|
+
font-weight: 500;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
a.primary {
|
|
87
|
+
background: var(--text-primary);
|
|
88
|
+
color: var(--background);
|
|
89
|
+
gap: 8px;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
a.secondary {
|
|
93
|
+
border-color: var(--button-secondary-border);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Enable hover only on non-touch devices */
|
|
97
|
+
@media (hover: hover) and (pointer: fine) {
|
|
98
|
+
a.primary:hover {
|
|
99
|
+
background: var(--button-primary-hover);
|
|
100
|
+
border-color: transparent;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
a.secondary:hover {
|
|
104
|
+
background: var(--button-secondary-hover);
|
|
105
|
+
border-color: transparent;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@media (max-width: 600px) {
|
|
110
|
+
.main {
|
|
111
|
+
padding: 48px 24px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.intro {
|
|
115
|
+
gap: 16px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.intro h1 {
|
|
119
|
+
font-size: 32px;
|
|
120
|
+
line-height: 40px;
|
|
121
|
+
letter-spacing: -1.92px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (prefers-color-scheme: dark) {
|
|
126
|
+
.logo {
|
|
127
|
+
filter: invert();
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.page {
|
|
131
|
+
--background: #000;
|
|
132
|
+
--foreground: #000;
|
|
133
|
+
|
|
134
|
+
--text-primary: #ededed;
|
|
135
|
+
--text-secondary: #999;
|
|
136
|
+
|
|
137
|
+
--button-primary-hover: #ccc;
|
|
138
|
+
--button-secondary-hover: #1a1a1a;
|
|
139
|
+
--button-secondary-border: #1a1a1a;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -132,6 +132,6 @@
|
|
|
132
132
|
},
|
|
133
133
|
"wrapPagesWithGlobalContexts": true,
|
|
134
134
|
"preserveJsImportExtensions": false,
|
|
135
|
-
"cliVersion": "0.1.
|
|
136
|
-
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.
|
|
135
|
+
"cliVersion": "0.1.363",
|
|
136
|
+
"$schema": "https://unpkg.com/@plasmicapp/cli@0.1.363/dist/plasmic.schema.json"
|
|
137
137
|
}
|