create-minista 4.0.11 → 4.0.13

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 (25) hide show
  1. package/package.json +1 -1
  2. package/templates/basic-ts/dist/about.html +1 -0
  3. package/templates/basic-ts/dist/assets/bundle-92oZZGcm.css +1 -0
  4. package/templates/basic-ts/dist/assets/icon-EK5G3fti.svg +1 -0
  5. package/templates/basic-ts/dist/assets/scripts-CN8bi563.js +1 -0
  6. package/templates/basic-ts/dist/favicon.png +0 -0
  7. package/templates/basic-ts/dist/index.html +1 -0
  8. package/templates/basic-ts/dist/nest/page-1.html +3 -0
  9. package/templates/basic-ts/dist/nest/page-2.html +3 -0
  10. package/templates/basic-ts/node_modules/.minista/diagnostics.json +16 -0
  11. package/templates/basic-ts/node_modules/.minista/glob/__minista-ssg.js +3 -0
  12. package/templates/basic-ts/node_modules/.minista/manifest.json +337 -0
  13. package/templates/basic-ts/node_modules/.minista/ssr/__minista-ssg.mjs +232 -0
  14. package/templates/basic-ts/node_modules/.minista/ssr/assets/bundle-92oZZGcm.css +1 -0
  15. package/templates/basic-ts/node_modules/.minista/ssr/assets/icon-EK5G3fti.svg +1 -0
  16. package/templates/basic-ts/node_modules/.minista/through/__minista-ssg.js +1 -0
  17. package/templates/basic-ts/node_modules/.vite/deps/_metadata.json +8 -0
  18. package/templates/basic-ts/node_modules/.vite/deps/package.json +3 -0
  19. package/templates/minimal-js/package.json +1 -1
  20. package/templates/minimal-ts/node_modules/.minista/glob/__minista-ssg.js +3 -0
  21. package/templates/minimal-ts/node_modules/.vite/deps/_metadata.json +15 -0
  22. package/templates/minimal-ts/node_modules/.vite/deps/package.json +3 -0
  23. package/templates/minimal-ts/node_modules/.vite/deps/react_jsx-dev-runtime.js +968 -0
  24. package/templates/minimal-ts/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +1 -0
  25. package/templates/minimal-ts/package.json +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-minista",
3
- "version": "4.0.11",
3
+ "version": "4.0.13",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-minista": "./bin/create-minista.js"
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charSet="utf-8"><meta name="viewport" content="width=device-width"><title>About - minista project</title><link rel="icon" href="/favicon.png"><script src="/assets/scripts-CN8bi563.js" type="module"></script><link rel="stylesheet" href="/assets/bundle-92oZZGcm.css"></head><body><header class="_header_7plpb_1"><a href="/" class="_siteName_7plpb_9">minista project</a><nav><ul class="_list_1oe7i_1"><li><a class="_link_1oe7i_8" href="/">Home</a></li><li><a class="_link_1oe7i_8" href="/about" aria-current="page">About</a></li><li><a class="_link_1oe7i_8" href="/nest/page-1">Page 1</a></li><li><a class="_link_1oe7i_8" href="/nest/page-2">Page 2</a></li></ul></nav></header><main><h1>About</h1><p>This is a sample page. You can edit this page at &quot;src/pages/about.tsx&quot;.</p></main><footer class="_footer_1lhe9_1"><p class="_copyright_1lhe9_5">© <!-- -->2026<!-- --> <!-- -->minista project</p></footer></body></html>
@@ -0,0 +1 @@
1
+ ._list_1oe7i_1{gap:1rem;padding:0;list-style:none;display:flex}._link_1oe7i_8{color:var(--theme-tx-3);font-size:.875rem;text-decoration:none}._link_1oe7i_8[aria-current=page]{color:var(--theme-tx-1)}._header_7plpb_1{flex-wrap:wrap;align-items:center;gap:1rem;padding:32px;display:flex}._siteName_7plpb_9{color:var(--theme-tx-1);white-space:nowrap;flex:1 0;font-weight:700;text-decoration:none}._footer_1lhe9_1{padding:32px}._copyright_1lhe9_5{color:var(--theme-tx-3);margin:0;font-size:.875rem}:root{--theme-bg:#18212f;--theme-tx-1:oklch(94% .02 277.99);--theme-tx-2:oklab(83.222% -.00085 -.00903);--theme-tx-3:oklab(56% 0 -.02);--font-sans:system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif}body{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:var(--theme-bg);min-height:100svh;color:var(--theme-tx-1);font-family:var(--font-sans);grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr);margin:0;display:grid}h1{color:var(--theme-tx-1)}p{color:var(--theme-tx-2)}main{padding:0 32px}
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 152 152" xmlns="http://www.w3.org/2000/svg"><path d="m65.34 95.32c.37-.63.56-1.7.56-2.76h-40.53c-4.28 0-7.79-3.51-7.79-7.79v-50.63c0-4.28 3.51-7.79 7.79-7.79h62.32c4.28 0 6.01 3.02 3.84 6.71l-10.94 18.6h18.07l6.3-10.7c3.89-6.61 4.11-14.23.6-20.38-3.52-6.15-10.19-9.82-17.86-9.82h-62.33c-12.89 0-23.37 10.48-23.37 23.37v50.63c0 12.89 10.48 23.37 23.37 23.37h32.43z" fill="#00c3df"/><path d="m126.63 59.45c4.28 0 7.79 3.51 7.79 7.79v50.63c0 4.28-3.51 7.79-7.79 7.79h-62.32c-4.28 0-6.01-3.02-3.84-6.71l11.57-19.68c2.17-3.69 2.17-9.74 0-13.43l-11.57-19.68c-2.17-3.69-.44-6.71 3.84-6.71zm0-15.58h-62.32c-7.67 0-14.35 3.67-17.86 9.82-3.52 6.15-3.29 13.76.6 20.38l10.88 18.49-10.88 18.49c-3.89 6.61-4.11 14.23-.6 20.38 3.52 6.15 10.19 9.82 17.86 9.82h62.32c12.89 0 23.37-10.48 23.37-23.37v-50.63c0-12.89-10.48-23.37-23.37-23.37z" fill="#fc6adf"/></svg>
@@ -0,0 +1 @@
1
+ console.log(`Hello!`);
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charSet="utf-8"><meta name="viewport" content="width=device-width"><title>minista project</title><link rel="icon" href="/favicon.png"><script src="/assets/scripts-CN8bi563.js" type="module"></script><link rel="stylesheet" href="/assets/bundle-92oZZGcm.css"></head><body><header class="_header_7plpb_1"><a href="/" class="_siteName_7plpb_9">minista project</a><nav><ul class="_list_1oe7i_1"><li><a class="_link_1oe7i_8" href="/" aria-current="page">Home</a></li><li><a class="_link_1oe7i_8" href="/about">About</a></li><li><a class="_link_1oe7i_8" href="/nest/page-1">Page 1</a></li><li><a class="_link_1oe7i_8" href="/nest/page-2">Page 2</a></li></ul></nav></header><main><h1>Hello!</h1><p>This is a sample page. You can edit this page at &quot;src/pages/index.tsx&quot;.</p><img src="/assets/icon-EK5G3fti.svg" alt="Hero" width="60" height="60"></main><footer class="_footer_1lhe9_1"><p class="_copyright_1lhe9_5">© <!-- -->2026<!-- --> <!-- -->minista project</p></footer></body></html>
@@ -0,0 +1,3 @@
1
+ <!doctype html><html lang="en"><head><meta charSet="utf-8"><meta name="viewport" content="width=device-width"><title>Page 1 - minista project</title><link rel="icon" href="/favicon.png"><script src="/assets/scripts-CN8bi563.js" type="module"></script><link rel="stylesheet" href="/assets/bundle-92oZZGcm.css"></head><body><header class="_header_7plpb_1"><a href="/" class="_siteName_7plpb_9">minista project</a><nav><ul class="_list_1oe7i_1"><li><a class="_link_1oe7i_8" href="/">Home</a></li><li><a class="_link_1oe7i_8" href="/about">About</a></li><li><a class="_link_1oe7i_8" href="/nest/page-1" aria-current="page">Page 1</a></li><li><a class="_link_1oe7i_8" href="/nest/page-2">Page 2</a></li></ul></nav></header><main><h1>Page 1</h1>
2
+ <p>This is a sample page. You can edit this page at &quot;src/pages/nest/page-1.md&quot;.</p>
3
+ <p>You can use MDX files instead of Markdown files.</p></main><footer class="_footer_1lhe9_1"><p class="_copyright_1lhe9_5">© <!-- -->2026<!-- --> <!-- -->minista project</p></footer></body></html>
@@ -0,0 +1,3 @@
1
+ <!doctype html><html lang="en"><head><meta charSet="utf-8"><meta name="viewport" content="width=device-width"><title>Page 2 - minista project</title><link rel="icon" href="/favicon.png"><script src="/assets/scripts-CN8bi563.js" type="module"></script><link rel="stylesheet" href="/assets/bundle-92oZZGcm.css"></head><body><header class="_header_7plpb_1"><a href="/" class="_siteName_7plpb_9">minista project</a><nav><ul class="_list_1oe7i_1"><li><a class="_link_1oe7i_8" href="/">Home</a></li><li><a class="_link_1oe7i_8" href="/about">About</a></li><li><a class="_link_1oe7i_8" href="/nest/page-1">Page 1</a></li><li><a class="_link_1oe7i_8" href="/nest/page-2" aria-current="page">Page 2</a></li></ul></nav></header><main><h1>Page 2</h1>
2
+ <p>This is a sample page. You can edit this page at &quot;src/pages/nest/page-2.mdx&quot;.</p>
3
+ <p>You can also use Markdown files instead of MDX files.</p></main><footer class="_footer_1lhe9_1"><p class="_copyright_1lhe9_5">© <!-- -->2026<!-- --> <!-- -->minista project</p></footer></body></html>
@@ -0,0 +1,16 @@
1
+ {
2
+ "buildId": "1768bfce-59b3-4229-9e1b-0e5ccade5986",
3
+ "command": "build",
4
+ "createdAt": "2026-10-04T01:52:43.511Z",
5
+ "diagnostics": [],
6
+ "generator": {
7
+ "name": "minista",
8
+ "version": "5.0.0-alpha.1"
9
+ },
10
+ "schemaVersion": "1",
11
+ "summary": {
12
+ "errors": 0,
13
+ "info": 0,
14
+ "warnings": 0
15
+ }
16
+ }
@@ -0,0 +1,3 @@
1
+ const LAYOUTS = import.meta.glob(["/src/layouts/index.{tsx,jsx}"], { eager: true })
2
+ const PAGES = import.meta.glob(["/src/pages/**/*.{tsx,jsx,mdx,md}"], { eager: true })
3
+ export { LAYOUTS, PAGES }
@@ -0,0 +1,337 @@
1
+ {
2
+ "artifacts": [
3
+ {
4
+ "dependencies": [],
5
+ "id": "artifact:entry-output#src/assets/scripts.ts",
6
+ "kind": "script",
7
+ "output": {
8
+ "fileName": "assets/scripts-CN8bi563.js",
9
+ "url": "/assets/scripts-CN8bi563.js"
10
+ },
11
+ "owner": "feature:entry"
12
+ },
13
+ {
14
+ "dependencies": [],
15
+ "id": "artifact:ssg-asset-output#assets/bundle-92oZZGcm.css",
16
+ "kind": "style",
17
+ "output": {
18
+ "fileName": "assets/bundle-92oZZGcm.css",
19
+ "url": "/assets/bundle-92oZZGcm.css"
20
+ },
21
+ "owner": "feature:ssg"
22
+ },
23
+ {
24
+ "dependencies": [],
25
+ "id": "artifact:ssg-asset-output#assets/icon-EK5G3fti.svg",
26
+ "kind": "image",
27
+ "output": {
28
+ "fileName": "assets/icon-EK5G3fti.svg",
29
+ "url": "/assets/icon-EK5G3fti.svg"
30
+ },
31
+ "owner": "feature:ssg"
32
+ },
33
+ {
34
+ "dependencies": [],
35
+ "id": "artifact:ssg-output#page%3Aroute%253Asrc/pages/about.tsx%23/about",
36
+ "kind": "html",
37
+ "output": {
38
+ "fileName": "about.html",
39
+ "url": "/about.html"
40
+ },
41
+ "owner": "feature:ssg"
42
+ },
43
+ {
44
+ "dependencies": [],
45
+ "id": "artifact:ssg-output#page%3Aroute%253Asrc/pages/index.tsx%23/",
46
+ "kind": "html",
47
+ "output": {
48
+ "fileName": "index.html",
49
+ "url": "/index.html"
50
+ },
51
+ "owner": "feature:ssg"
52
+ },
53
+ {
54
+ "dependencies": [],
55
+ "id": "artifact:ssg-output#page%3Aroute%253Asrc/pages/nest/page-1.md%23/nest/page-1",
56
+ "kind": "html",
57
+ "output": {
58
+ "fileName": "nest/page-1.html",
59
+ "url": "/nest/page-1.html"
60
+ },
61
+ "owner": "feature:ssg"
62
+ },
63
+ {
64
+ "dependencies": [],
65
+ "id": "artifact:ssg-output#page%3Aroute%253Asrc/pages/nest/page-2.mdx%23/nest/page-2",
66
+ "kind": "html",
67
+ "output": {
68
+ "fileName": "nest/page-2.html",
69
+ "url": "/nest/page-2.html"
70
+ },
71
+ "owner": "feature:ssg"
72
+ },
73
+ {
74
+ "dependencies": [],
75
+ "id": "artifact:ssg-rendered-pages",
76
+ "kind": "data",
77
+ "owner": "feature:ssg"
78
+ }
79
+ ],
80
+ "assets": [
81
+ {
82
+ "consumers": [
83
+ "page:route%3Asrc/pages/about.tsx#/about",
84
+ "page:route%3Asrc/pages/index.tsx#/",
85
+ "page:route%3Asrc/pages/nest/page-1.md#/nest/page-1",
86
+ "page:route%3Asrc/pages/nest/page-2.mdx#/nest/page-2"
87
+ ],
88
+ "id": "asset:output#artifact%3Aentry-output%23src/assets/scripts.ts",
89
+ "kind": "generated",
90
+ "output": {
91
+ "fileName": "assets/scripts-CN8bi563.js",
92
+ "url": "/assets/scripts-CN8bi563.js"
93
+ }
94
+ },
95
+ {
96
+ "consumers": [
97
+ "page:route%3Asrc/pages/about.tsx#/about",
98
+ "page:route%3Asrc/pages/index.tsx#/",
99
+ "page:route%3Asrc/pages/nest/page-1.md#/nest/page-1",
100
+ "page:route%3Asrc/pages/nest/page-2.mdx#/nest/page-2"
101
+ ],
102
+ "id": "asset:output#artifact%3Assg-asset-output%23assets/bundle-92oZZGcm.css",
103
+ "kind": "generated",
104
+ "output": {
105
+ "fileName": "assets/bundle-92oZZGcm.css",
106
+ "url": "/assets/bundle-92oZZGcm.css"
107
+ }
108
+ },
109
+ {
110
+ "consumers": [
111
+ "page:route%3Asrc/pages/index.tsx#/"
112
+ ],
113
+ "id": "asset:output#artifact%3Assg-asset-output%23assets/icon-EK5G3fti.svg",
114
+ "kind": "generated",
115
+ "output": {
116
+ "fileName": "assets/icon-EK5G3fti.svg",
117
+ "url": "/assets/icon-EK5G3fti.svg"
118
+ }
119
+ },
120
+ {
121
+ "consumers": [
122
+ "page:route%3Asrc/pages/about.tsx#/about"
123
+ ],
124
+ "id": "asset:output#artifact%3Assg-output%23page%253Aroute%25253Asrc/pages/about.tsx%2523/about",
125
+ "kind": "generated",
126
+ "output": {
127
+ "fileName": "about.html",
128
+ "url": "/about.html"
129
+ }
130
+ },
131
+ {
132
+ "consumers": [
133
+ "page:route%3Asrc/pages/index.tsx#/"
134
+ ],
135
+ "id": "asset:output#artifact%3Assg-output%23page%253Aroute%25253Asrc/pages/index.tsx%2523/",
136
+ "kind": "generated",
137
+ "output": {
138
+ "fileName": "index.html",
139
+ "url": "/index.html"
140
+ }
141
+ },
142
+ {
143
+ "consumers": [
144
+ "page:route%3Asrc/pages/nest/page-1.md#/nest/page-1"
145
+ ],
146
+ "id": "asset:output#artifact%3Assg-output%23page%253Aroute%25253Asrc/pages/nest/page-1.md%2523/nest/page-1",
147
+ "kind": "generated",
148
+ "output": {
149
+ "fileName": "nest/page-1.html",
150
+ "url": "/nest/page-1.html"
151
+ }
152
+ },
153
+ {
154
+ "consumers": [
155
+ "page:route%3Asrc/pages/nest/page-2.mdx#/nest/page-2"
156
+ ],
157
+ "id": "asset:output#artifact%3Assg-output%23page%253Aroute%25253Asrc/pages/nest/page-2.mdx%2523/nest/page-2",
158
+ "kind": "generated",
159
+ "output": {
160
+ "fileName": "nest/page-2.html",
161
+ "url": "/nest/page-2.html"
162
+ }
163
+ }
164
+ ],
165
+ "createdAt": "2026-10-04T01:52:43.511Z",
166
+ "diagnosticSummary": {
167
+ "errors": 0,
168
+ "info": 0,
169
+ "warnings": 0
170
+ },
171
+ "features": [
172
+ {
173
+ "apiVersion": 1,
174
+ "id": "feature:entry",
175
+ "provides": [
176
+ "asset-entries"
177
+ ],
178
+ "requires": [
179
+ "html-documents"
180
+ ]
181
+ },
182
+ {
183
+ "apiVersion": 1,
184
+ "id": "feature:ssg",
185
+ "provides": [
186
+ "html",
187
+ "pages",
188
+ "routes"
189
+ ],
190
+ "requires": []
191
+ }
192
+ ],
193
+ "generator": {
194
+ "name": "minista",
195
+ "version": "5.0.0-alpha.1"
196
+ },
197
+ "outputs": [
198
+ {
199
+ "byteSize": 968,
200
+ "fileName": "about.html",
201
+ "kind": "asset",
202
+ "logicalId": "about.html",
203
+ "url": "/about.html"
204
+ },
205
+ {
206
+ "byteSize": 1064,
207
+ "fileName": "assets/bundle-92oZZGcm.css",
208
+ "kind": "asset",
209
+ "logicalId": "assets/bundle-92oZZGcm.css",
210
+ "url": "/assets/bundle-92oZZGcm.css"
211
+ },
212
+ {
213
+ "byteSize": 863,
214
+ "fileName": "assets/icon-EK5G3fti.svg",
215
+ "kind": "asset",
216
+ "logicalId": "assets/icon-EK5G3fti.svg",
217
+ "url": "/assets/icon-EK5G3fti.svg"
218
+ },
219
+ {
220
+ "byteSize": 22,
221
+ "dynamicImports": [],
222
+ "fileName": "assets/scripts-CN8bi563.js",
223
+ "imports": [],
224
+ "isDynamicEntry": false,
225
+ "isEntry": true,
226
+ "kind": "chunk",
227
+ "logicalId": "scripts",
228
+ "url": "/assets/scripts-CN8bi563.js"
229
+ },
230
+ {
231
+ "byteSize": 1189,
232
+ "fileName": "favicon.png",
233
+ "kind": "asset",
234
+ "logicalId": "favicon.png",
235
+ "url": "/favicon.png"
236
+ },
237
+ {
238
+ "byteSize": 1032,
239
+ "fileName": "index.html",
240
+ "kind": "asset",
241
+ "logicalId": "index.html",
242
+ "url": "/index.html"
243
+ },
244
+ {
245
+ "byteSize": 1032,
246
+ "fileName": "nest/page-1.html",
247
+ "kind": "asset",
248
+ "logicalId": "nest/page-1.html",
249
+ "url": "/nest/page-1.html"
250
+ },
251
+ {
252
+ "byteSize": 1038,
253
+ "fileName": "nest/page-2.html",
254
+ "kind": "asset",
255
+ "logicalId": "nest/page-2.html",
256
+ "url": "/nest/page-2.html"
257
+ }
258
+ ],
259
+ "pages": [
260
+ {
261
+ "draft": false,
262
+ "id": "page:route%3Asrc/pages/about.tsx#/about",
263
+ "output": {
264
+ "fileName": "about.html",
265
+ "url": "/about.html"
266
+ },
267
+ "params": {},
268
+ "routeId": "route:src/pages/about.tsx",
269
+ "url": "/about"
270
+ },
271
+ {
272
+ "draft": false,
273
+ "id": "page:route%3Asrc/pages/index.tsx#/",
274
+ "output": {
275
+ "fileName": "index.html",
276
+ "url": "/index.html"
277
+ },
278
+ "params": {},
279
+ "routeId": "route:src/pages/index.tsx",
280
+ "url": "/"
281
+ },
282
+ {
283
+ "draft": false,
284
+ "id": "page:route%3Asrc/pages/nest/page-1.md#/nest/page-1",
285
+ "output": {
286
+ "fileName": "nest/page-1.html",
287
+ "url": "/nest/page-1.html"
288
+ },
289
+ "params": {},
290
+ "routeId": "route:src/pages/nest/page-1.md",
291
+ "url": "/nest/page-1"
292
+ },
293
+ {
294
+ "draft": false,
295
+ "id": "page:route%3Asrc/pages/nest/page-2.mdx#/nest/page-2",
296
+ "output": {
297
+ "fileName": "nest/page-2.html",
298
+ "url": "/nest/page-2.html"
299
+ },
300
+ "params": {},
301
+ "routeId": "route:src/pages/nest/page-2.mdx",
302
+ "url": "/nest/page-2"
303
+ }
304
+ ],
305
+ "project": {
306
+ "id": "project:minista-project",
307
+ "name": "minista-project",
308
+ "root": "."
309
+ },
310
+ "routes": [
311
+ {
312
+ "id": "route:src/pages/about.tsx",
313
+ "params": [],
314
+ "pattern": "/about",
315
+ "sourceFile": "src/pages/about.tsx"
316
+ },
317
+ {
318
+ "id": "route:src/pages/index.tsx",
319
+ "params": [],
320
+ "pattern": "/",
321
+ "sourceFile": "src/pages/index.tsx"
322
+ },
323
+ {
324
+ "id": "route:src/pages/nest/page-1.md",
325
+ "params": [],
326
+ "pattern": "/nest/page-1",
327
+ "sourceFile": "src/pages/nest/page-1.md"
328
+ },
329
+ {
330
+ "id": "route:src/pages/nest/page-2.mdx",
331
+ "params": [],
332
+ "pattern": "/nest/page-2",
333
+ "sourceFile": "src/pages/nest/page-2.mdx"
334
+ }
335
+ ],
336
+ "schemaVersion": "1"
337
+ }
@@ -0,0 +1,232 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ //#region \0rolldown/runtime.js
3
+ var __defProp = Object.defineProperty;
4
+ var __exportAll = (all, no_symbols) => {
5
+ let target = {};
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
11
+ return target;
12
+ };
13
+ var style_module_default$2 = {
14
+ list: "_list_1oe7i_1",
15
+ link: "_link_1oe7i_8"
16
+ };
17
+ //#endregion
18
+ //#region src/components/nav/index.tsx
19
+ function Nav(props) {
20
+ return /* @__PURE__ */ jsx("nav", { children: /* @__PURE__ */ jsx("ul", {
21
+ className: style_module_default$2.list,
22
+ children: props.navItems.map((item) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", {
23
+ className: style_module_default$2.link,
24
+ href: item.url,
25
+ "aria-current": props.currentUrl === item.url ? "page" : void 0,
26
+ children: item.label
27
+ }) }, item.url))
28
+ }) });
29
+ }
30
+ var style_module_default$1 = {
31
+ header: "_header_7plpb_1",
32
+ siteName: "_siteName_7plpb_9"
33
+ };
34
+ //#endregion
35
+ //#region src/components/header/index.tsx
36
+ function Header(props) {
37
+ return /* @__PURE__ */ jsxs("header", {
38
+ className: style_module_default$1.header,
39
+ children: [/* @__PURE__ */ jsx("a", {
40
+ href: "/",
41
+ className: style_module_default$1.siteName,
42
+ children: props.siteName
43
+ }), /* @__PURE__ */ jsx(Nav, {
44
+ currentUrl: props.currentUrl,
45
+ navItems: props.navItems
46
+ })]
47
+ });
48
+ }
49
+ var style_module_default = {
50
+ footer: "_footer_1lhe9_1",
51
+ copyright: "_copyright_1lhe9_5"
52
+ };
53
+ //#endregion
54
+ //#region src/components/footer/index.tsx
55
+ function Footer({ siteName }) {
56
+ const year = (/* @__PURE__ */ new Date()).getFullYear();
57
+ return /* @__PURE__ */ jsx("footer", {
58
+ className: style_module_default.footer,
59
+ children: /* @__PURE__ */ jsxs("p", {
60
+ className: style_module_default.copyright,
61
+ children: [
62
+ "© ",
63
+ year,
64
+ " ",
65
+ siteName
66
+ ]
67
+ })
68
+ });
69
+ }
70
+ var project_default = {
71
+ siteName: "minista project",
72
+ navItems: [
73
+ {
74
+ "label": "Home",
75
+ "url": "/"
76
+ },
77
+ {
78
+ "label": "About",
79
+ "url": "/about"
80
+ },
81
+ {
82
+ "label": "Page 1",
83
+ "url": "/nest/page-1"
84
+ },
85
+ {
86
+ "label": "Page 2",
87
+ "url": "/nest/page-2"
88
+ }
89
+ ]
90
+ };
91
+ //#endregion
92
+ //#region src/layouts/index.tsx
93
+ var layouts_exports = /* @__PURE__ */ __exportAll({ default: () => layouts_default });
94
+ function layouts_default(props) {
95
+ const { siteName, navItems } = project_default;
96
+ const title = props.title ? `${props.title} - ${siteName}` : siteName;
97
+ return /* @__PURE__ */ jsxs("html", {
98
+ lang: "en",
99
+ children: [/* @__PURE__ */ jsxs("head", { children: [
100
+ /* @__PURE__ */ jsx("meta", { charSet: "utf-8" }),
101
+ /* @__PURE__ */ jsx("meta", {
102
+ name: "viewport",
103
+ content: "width=device-width"
104
+ }),
105
+ /* @__PURE__ */ jsx("title", { children: title }),
106
+ /* @__PURE__ */ jsx("script", {
107
+ src: "/src/assets/scripts.ts",
108
+ type: "module"
109
+ }),
110
+ /* @__PURE__ */ jsx("link", {
111
+ rel: "icon",
112
+ href: "/favicon.png"
113
+ })
114
+ ] }), /* @__PURE__ */ jsxs("body", { children: [
115
+ /* @__PURE__ */ jsx(Header, {
116
+ siteName,
117
+ currentUrl: props.url,
118
+ navItems
119
+ }),
120
+ /* @__PURE__ */ jsx("main", { children: props.children }),
121
+ /* @__PURE__ */ jsx(Footer, { siteName })
122
+ ] })]
123
+ });
124
+ }
125
+ //#endregion
126
+ //#region src/pages/about.tsx
127
+ var about_exports = /* @__PURE__ */ __exportAll({
128
+ default: () => about_default,
129
+ metadata: () => metadata$3
130
+ });
131
+ var metadata$3 = {
132
+ title: "About",
133
+ draft: false
134
+ };
135
+ function about_default(props) {
136
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("h1", { children: props.title }), /* @__PURE__ */ jsx("p", { children: "This is a sample page. You can edit this page at \"src/pages/about.tsx\"." })] });
137
+ }
138
+ //#endregion
139
+ //#region src/assets/images/icon.svg
140
+ var icon_default = "/assets/icon-EK5G3fti.svg";
141
+ //#endregion
142
+ //#region src/pages/index.tsx
143
+ var pages_exports = /* @__PURE__ */ __exportAll({
144
+ default: () => pages_default,
145
+ metadata: () => metadata$2
146
+ });
147
+ var metadata$2 = {};
148
+ function pages_default(props) {
149
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
150
+ /* @__PURE__ */ jsx("h1", { children: "Hello!" }),
151
+ /* @__PURE__ */ jsx("p", { children: "This is a sample page. You can edit this page at \"src/pages/index.tsx\"." }),
152
+ /* @__PURE__ */ jsx("img", {
153
+ src: icon_default,
154
+ alt: "Hero",
155
+ width: "60",
156
+ height: "60"
157
+ })
158
+ ] });
159
+ }
160
+ //#endregion
161
+ //#region src/pages/nest/page-1.md
162
+ var page_1_exports = /* @__PURE__ */ __exportAll({
163
+ default: () => MDXContent$1,
164
+ metadata: () => metadata$1
165
+ });
166
+ var metadata$1 = {
167
+ "title": "Page 1",
168
+ "draft": false
169
+ };
170
+ function _createMdxContent$1(props) {
171
+ const _components = {
172
+ h1: "h1",
173
+ p: "p",
174
+ ...props.components
175
+ };
176
+ return jsxs(Fragment, { children: [
177
+ jsx(_components.h1, { children: "Page 1" }),
178
+ "\n",
179
+ jsx(_components.p, { children: "This is a sample page. You can edit this page at \"src/pages/nest/page-1.md\"." }),
180
+ "\n",
181
+ jsx(_components.p, { children: "You can use MDX files instead of Markdown files." })
182
+ ] });
183
+ }
184
+ function MDXContent$1(props = {}) {
185
+ const { wrapper: MDXLayout } = props.components || {};
186
+ return MDXLayout ? jsx(MDXLayout, {
187
+ ...props,
188
+ children: jsx(_createMdxContent$1, { ...props })
189
+ }) : _createMdxContent$1(props);
190
+ }
191
+ //#endregion
192
+ //#region src/pages/nest/page-2.mdx
193
+ var page_2_exports = /* @__PURE__ */ __exportAll({
194
+ default: () => MDXContent,
195
+ metadata: () => metadata
196
+ });
197
+ var metadata = {
198
+ "title": "Page 2",
199
+ "draft": false
200
+ };
201
+ function _createMdxContent(props) {
202
+ const _components = {
203
+ h1: "h1",
204
+ p: "p",
205
+ ...props.components
206
+ };
207
+ return jsxs(Fragment, { children: [
208
+ jsx(_components.h1, { children: props.title }),
209
+ "\n",
210
+ jsx(_components.p, { children: "This is a sample page. You can edit this page at \"src/pages/nest/page-2.mdx\"." }),
211
+ "\n",
212
+ jsx(_components.p, { children: "You can also use Markdown files instead of MDX files." })
213
+ ] });
214
+ }
215
+ function MDXContent(props = {}) {
216
+ const { wrapper: MDXLayout } = props.components || {};
217
+ return MDXLayout ? jsx(MDXLayout, {
218
+ ...props,
219
+ children: jsx(_createMdxContent, { ...props })
220
+ }) : _createMdxContent(props);
221
+ }
222
+ //#endregion
223
+ //#region node_modules/.minista/glob/__minista-ssg.js
224
+ var LAYOUTS = /* #__PURE__ */ Object.assign({ "/src/layouts/index.tsx": layouts_exports });
225
+ var PAGES = /* #__PURE__ */ Object.assign({
226
+ "/src/pages/about.tsx": about_exports,
227
+ "/src/pages/index.tsx": pages_exports,
228
+ "/src/pages/nest/page-1.md": page_1_exports,
229
+ "/src/pages/nest/page-2.mdx": page_2_exports
230
+ });
231
+ //#endregion
232
+ export { LAYOUTS, PAGES };
@@ -0,0 +1 @@
1
+ ._list_1oe7i_1{gap:1rem;padding:0;list-style:none;display:flex}._link_1oe7i_8{color:var(--theme-tx-3);font-size:.875rem;text-decoration:none}._link_1oe7i_8[aria-current=page]{color:var(--theme-tx-1)}._header_7plpb_1{flex-wrap:wrap;align-items:center;gap:1rem;padding:32px;display:flex}._siteName_7plpb_9{color:var(--theme-tx-1);white-space:nowrap;flex:1 0;font-weight:700;text-decoration:none}._footer_1lhe9_1{padding:32px}._copyright_1lhe9_5{color:var(--theme-tx-3);margin:0;font-size:.875rem}:root{--theme-bg:#18212f;--theme-tx-1:oklch(94% .02 277.99);--theme-tx-2:oklab(83.222% -.00085 -.00903);--theme-tx-3:oklab(56% 0 -.02);--font-sans:system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif}body{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:var(--theme-bg);min-height:100svh;color:var(--theme-tx-1);font-family:var(--font-sans);grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr);margin:0;display:grid}h1{color:var(--theme-tx-1)}p{color:var(--theme-tx-2)}main{padding:0 32px}
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 152 152" xmlns="http://www.w3.org/2000/svg"><path d="m65.34 95.32c.37-.63.56-1.7.56-2.76h-40.53c-4.28 0-7.79-3.51-7.79-7.79v-50.63c0-4.28 3.51-7.79 7.79-7.79h62.32c4.28 0 6.01 3.02 3.84 6.71l-10.94 18.6h18.07l6.3-10.7c3.89-6.61 4.11-14.23.6-20.38-3.52-6.15-10.19-9.82-17.86-9.82h-62.33c-12.89 0-23.37 10.48-23.37 23.37v50.63c0 12.89 10.48 23.37 23.37 23.37h32.43z" fill="#00c3df"/><path d="m126.63 59.45c4.28 0 7.79 3.51 7.79 7.79v50.63c0 4.28-3.51 7.79-7.79 7.79h-62.32c-4.28 0-6.01-3.02-3.84-6.71l11.57-19.68c2.17-3.69 2.17-9.74 0-13.43l-11.57-19.68c-2.17-3.69-.44-6.71 3.84-6.71zm0-15.58h-62.32c-7.67 0-14.35 3.67-17.86 9.82-3.52 6.15-3.29 13.76.6 20.38l10.88 18.49-10.88 18.49c-3.89 6.61-4.11 14.23-.6 20.38 3.52 6.15 10.19 9.82 17.86 9.82h62.32c12.89 0 23.37-10.48 23.37-23.37v-50.63c0-12.89-10.48-23.37-23.37-23.37z" fill="#fc6adf"/></svg>
@@ -0,0 +1,8 @@
1
+ {
2
+ "hash": "66014bf5",
3
+ "configHash": "98488c3c",
4
+ "lockfileHash": "ca4b7e13",
5
+ "browserHash": "24867ed0",
6
+ "optimized": {},
7
+ "chunks": {}
8
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }