create-plasmic-app 0.0.151 → 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.
Files changed (145) hide show
  1. package/cpa-out/.gitignore +4 -2
  2. package/cpa-out/gatsby-codegen-js/package.json +2 -2
  3. package/cpa-out/gatsby-codegen-js/plasmic.json +2 -2
  4. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  5. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +61 -26
  6. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  7. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
  8. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  9. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  10. package/cpa-out/gatsby-codegen-js/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  11. package/cpa-out/gatsby-codegen-js/src/components/plasmic/plasmic__default_style.module.css +363 -0
  12. package/cpa-out/gatsby-codegen-ts/package.json +2 -2
  13. package/cpa-out/gatsby-codegen-ts/plasmic.json +2 -2
  14. package/cpa-out/gatsby-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
  15. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  16. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  17. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
  18. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  19. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  20. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  21. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  22. package/cpa-out/gatsby-codegen-ts/src/components/plasmic/plasmic__default_style.module.css +363 -0
  23. package/cpa-out/gatsby-loader-js/package.json +1 -1
  24. package/cpa-out/gatsby-loader-js/src/templates/defaultPlasmicPage.jsx +1 -0
  25. package/cpa-out/gatsby-loader-ts/package.json +1 -1
  26. package/cpa-out/gatsby-loader-ts/src/templates/defaultPlasmicPage.tsx +1 -0
  27. package/cpa-out/nextjs-app-codegen-js/app/dynamic/[slug]/page.jsx +13 -3
  28. package/cpa-out/nextjs-app-codegen-js/app/globals.css +10 -0
  29. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  30. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +62 -27
  31. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  32. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.jsx +103 -2
  33. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
  34. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  35. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  36. package/cpa-out/nextjs-app-codegen-js/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  37. package/cpa-out/nextjs-app-codegen-js/components/plasmic/plasmic__default_style.module.css +363 -0
  38. package/cpa-out/nextjs-app-codegen-js/eslint.config.mjs +16 -0
  39. package/cpa-out/nextjs-app-codegen-js/jsconfig.json +7 -0
  40. package/cpa-out/nextjs-app-codegen-js/package.json +4 -4
  41. package/cpa-out/nextjs-app-codegen-js/plasmic.json +2 -2
  42. package/cpa-out/nextjs-app-codegen-ts/app/dynamic/[slug]/page.tsx +13 -3
  43. package/cpa-out/nextjs-app-codegen-ts/app/globals.css +10 -0
  44. package/cpa-out/nextjs-app-codegen-ts/components/RandomDynamicPageButton.tsx +1 -2
  45. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  46. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  47. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +69 -29
  48. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPageServer.tsx +110 -2
  49. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  50. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  51. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  52. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  53. package/cpa-out/nextjs-app-codegen-ts/components/plasmic/plasmic__default_style.module.css +363 -0
  54. package/cpa-out/nextjs-app-codegen-ts/eslint.config.mjs +18 -0
  55. package/cpa-out/nextjs-app-codegen-ts/package.json +4 -4
  56. package/cpa-out/nextjs-app-codegen-ts/plasmic.json +2 -2
  57. package/cpa-out/nextjs-app-loader-js/app/[[...catchall]]/page.jsx +1 -0
  58. package/cpa-out/nextjs-app-loader-js/app/globals.css +10 -0
  59. package/cpa-out/nextjs-app-loader-js/eslint.config.mjs +16 -0
  60. package/cpa-out/nextjs-app-loader-js/jsconfig.json +7 -0
  61. package/cpa-out/nextjs-app-loader-js/package.json +3 -3
  62. package/cpa-out/nextjs-app-loader-ts/app/[[...catchall]]/page.tsx +1 -0
  63. package/cpa-out/nextjs-app-loader-ts/app/globals.css +10 -0
  64. package/cpa-out/nextjs-app-loader-ts/eslint.config.mjs +18 -0
  65. package/cpa-out/nextjs-app-loader-ts/package.json +3 -3
  66. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  67. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +62 -27
  68. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  69. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
  70. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  71. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  72. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  73. package/cpa-out/nextjs-pages-codegen-js/components/plasmic/plasmic__default_style.module.css +363 -0
  74. package/cpa-out/nextjs-pages-codegen-js/eslint.config.mjs +16 -0
  75. package/cpa-out/nextjs-pages-codegen-js/jsconfig.json +7 -0
  76. package/cpa-out/nextjs-pages-codegen-js/package.json +4 -4
  77. package/cpa-out/nextjs-pages-codegen-js/pages/dynamic/[slug].jsx +24 -2
  78. package/cpa-out/nextjs-pages-codegen-js/plasmic.json +2 -2
  79. package/cpa-out/nextjs-pages-codegen-js/styles/Home.module.css +141 -0
  80. package/cpa-out/nextjs-pages-codegen-js/styles/globals.css +10 -0
  81. package/cpa-out/nextjs-pages-codegen-ts/components/RandomDynamicPageButton.tsx +1 -2
  82. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  83. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  84. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +75 -29
  85. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  86. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  87. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  88. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  89. package/cpa-out/nextjs-pages-codegen-ts/components/plasmic/plasmic__default_style.module.css +363 -0
  90. package/cpa-out/nextjs-pages-codegen-ts/eslint.config.mjs +18 -0
  91. package/cpa-out/nextjs-pages-codegen-ts/package.json +4 -4
  92. package/cpa-out/nextjs-pages-codegen-ts/pages/dynamic/[slug].tsx +25 -2
  93. package/cpa-out/nextjs-pages-codegen-ts/plasmic.json +2 -2
  94. package/cpa-out/nextjs-pages-codegen-ts/styles/Home.module.css +141 -0
  95. package/cpa-out/nextjs-pages-codegen-ts/styles/globals.css +10 -0
  96. package/cpa-out/nextjs-pages-loader-js/eslint.config.mjs +16 -0
  97. package/cpa-out/nextjs-pages-loader-js/jsconfig.json +7 -0
  98. package/cpa-out/nextjs-pages-loader-js/package.json +3 -3
  99. package/cpa-out/nextjs-pages-loader-js/pages/[[...catchall]].jsx +1 -0
  100. package/cpa-out/nextjs-pages-loader-js/styles/Home.module.css +141 -0
  101. package/cpa-out/nextjs-pages-loader-js/styles/globals.css +10 -0
  102. package/cpa-out/nextjs-pages-loader-ts/eslint.config.mjs +18 -0
  103. package/cpa-out/nextjs-pages-loader-ts/package.json +3 -3
  104. package/cpa-out/nextjs-pages-loader-ts/pages/[[...catchall]].tsx +1 -0
  105. package/cpa-out/nextjs-pages-loader-ts/styles/Home.module.css +141 -0
  106. package/cpa-out/nextjs-pages-loader-ts/styles/globals.css +10 -0
  107. package/cpa-out/react-codegen-js/package.json +2 -2
  108. package/cpa-out/react-codegen-js/plasmic.json +2 -2
  109. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  110. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.jsx +61 -26
  111. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  112. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.jsx +6 -39
  113. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  114. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  115. package/cpa-out/react-codegen-js/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  116. package/cpa-out/react-codegen-js/src/components/plasmic/plasmic__default_style.module.css +363 -0
  117. package/cpa-out/react-codegen-js/src/index.css +68 -0
  118. package/cpa-out/react-codegen-ts/package.json +2 -2
  119. package/cpa-out/react-codegen-ts/plasmic.json +2 -2
  120. package/cpa-out/react-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
  121. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.module.css +468 -0
  122. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.module.css +44 -0
  123. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
  124. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.module.css +43 -0
  125. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  126. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.module.css +16 -0
  127. package/cpa-out/react-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.module.css +702 -0
  128. package/cpa-out/react-codegen-ts/src/components/plasmic/plasmic__default_style.module.css +363 -0
  129. package/cpa-out/react-codegen-ts/src/index.css +68 -0
  130. package/cpa-out/tanstack-codegen-ts/package.json +3 -3
  131. package/cpa-out/tanstack-codegen-ts/plasmic.json +2 -2
  132. package/cpa-out/tanstack-codegen-ts/src/components/RandomDynamicPageButton.tsx +1 -2
  133. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicButton.css +495 -0
  134. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.css +44 -0
  135. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicDynamicPage.tsx +74 -28
  136. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.css +43 -0
  137. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicHomepage.tsx +6 -40
  138. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/PlasmicRandomDynamicPageButton.css +16 -0
  139. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/create_plasmic_app/plasmic.css +354 -0
  140. package/cpa-out/tanstack-codegen-ts/src/components/plasmic/plasmic__default_style.css +363 -0
  141. package/cpa-out/tanstack-codegen-ts/src/routes/dynamic/$slug/index.tsx +31 -8
  142. package/cpa-out/tanstack-codegen-ts/src/styles.css +17 -0
  143. package/dist/nextjs/nextjs.js +30 -0
  144. package/package.json +2 -2
  145. package/src/nextjs/nextjs.ts +34 -1
@@ -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,10 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ padding: 0;
4
+ margin: 0;
5
+ }
6
+
7
+ a {
8
+ color: inherit;
9
+ text-decoration: none;
10
+ }
@@ -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.4",
13
- "next": "16.2.6",
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.6",
22
+ "eslint-config-next": "16.2.7",
23
23
  "typescript": "^5"
24
24
  }
25
25
  }
@@ -29,6 +29,7 @@ export default function PlasmicLoaderPage(props: {
29
29
  pageRoute={pageMeta.path}
30
30
  pageParams={pageMeta.params}
31
31
  pageQuery={router.query}
32
+ trackQueryParams
32
33
  >
33
34
  <PlasmicComponent component={pageMeta.displayName} />
34
35
  </PlasmicRootProvider>
@@ -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,10 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ padding: 0;
4
+ margin: 0;
5
+ }
6
+
7
+ a {
8
+ color: inherit;
9
+ text-decoration: none;
10
+ }
@@ -10,8 +10,8 @@
10
10
  "preview": "vite preview"
11
11
  },
12
12
  "dependencies": {
13
- "@plasmicapp/cli": "^0.1.361",
14
- "@plasmicapp/react-web": "^1.0.8",
13
+ "@plasmicapp/cli": "^0.1.363",
14
+ "@plasmicapp/react-web": "^1.0.10",
15
15
  "react": "^18.3.1",
16
16
  "react-dom": "^18.3.1"
17
17
  },
@@ -132,6 +132,6 @@
132
132
  },
133
133
  "wrapPagesWithGlobalContexts": true,
134
134
  "preserveJsImportExtensions": false,
135
- "cliVersion": "0.1.361",
136
- "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.361/dist/plasmic.schema.json"
135
+ "cliVersion": "0.1.363",
136
+ "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.363/dist/plasmic.schema.json"
137
137
  }