@linguanahq/cli 0.1.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/LICENSE +21 -0
- package/README.md +43 -0
- package/dist/index.js +1543 -0
- package/dist/templates/blog/react/.env.example +15 -0
- package/dist/templates/blog/react/ASSETS.md +1 -0
- package/dist/templates/blog/react/DEPLOY.md +23 -0
- package/dist/templates/blog/react/LICENSE +21 -0
- package/dist/templates/blog/react/README.md +36 -0
- package/dist/templates/blog/react/_gitignore +11 -0
- package/dist/templates/blog/react/index.html +2 -0
- package/dist/templates/blog/react/linguana.json +10 -0
- package/dist/templates/blog/react/package.json +34 -0
- package/dist/templates/blog/react/public/assets/scene-1.svg +1 -0
- package/dist/templates/blog/react/public/assets/scene-2.svg +1 -0
- package/dist/templates/blog/react/public/assets/scene-3.svg +1 -0
- package/dist/templates/blog/react/public/assets/scene-4.svg +1 -0
- package/dist/templates/blog/react/public/assets/scene-5.svg +1 -0
- package/dist/templates/blog/react/public/assets/scene-6.svg +1 -0
- package/dist/templates/blog/react/src/App.tsx +465 -0
- package/dist/templates/blog/react/src/Copy.tsx +322 -0
- package/dist/templates/blog/react/src/demo-messages.ts +221 -0
- package/dist/templates/blog/react/src/i18n.ts +62 -0
- package/dist/templates/blog/react/src/main.tsx +11 -0
- package/dist/templates/blog/react/src/messages.ts +71 -0
- package/dist/templates/blog/react/src/model.ts +128 -0
- package/dist/templates/blog/react/src/styles.css +1159 -0
- package/dist/templates/blog/react/src/vite-env.d.ts +1 -0
- package/dist/templates/blog/react/tsconfig.json +23 -0
- package/dist/templates/blog/react/vite.config.ts +36 -0
- package/dist/templates/blog/react/wrangler.jsonc +8 -0
- package/dist/templates/blog/solidjs/.env.example +15 -0
- package/dist/templates/blog/solidjs/ASSETS.md +1 -0
- package/dist/templates/blog/solidjs/DEPLOY.md +23 -0
- package/dist/templates/blog/solidjs/LICENSE +21 -0
- package/dist/templates/blog/solidjs/README.md +36 -0
- package/dist/templates/blog/solidjs/_gitignore +11 -0
- package/dist/templates/blog/solidjs/index.html +2 -0
- package/dist/templates/blog/solidjs/linguana.json +10 -0
- package/dist/templates/blog/solidjs/package.json +31 -0
- package/dist/templates/blog/solidjs/public/assets/scene-1.svg +1 -0
- package/dist/templates/blog/solidjs/public/assets/scene-2.svg +1 -0
- package/dist/templates/blog/solidjs/public/assets/scene-3.svg +1 -0
- package/dist/templates/blog/solidjs/public/assets/scene-4.svg +1 -0
- package/dist/templates/blog/solidjs/public/assets/scene-5.svg +1 -0
- package/dist/templates/blog/solidjs/public/assets/scene-6.svg +1 -0
- package/dist/templates/blog/solidjs/src/App.tsx +457 -0
- package/dist/templates/blog/solidjs/src/Copy.tsx +322 -0
- package/dist/templates/blog/solidjs/src/demo-messages.ts +221 -0
- package/dist/templates/blog/solidjs/src/i18n.ts +62 -0
- package/dist/templates/blog/solidjs/src/main.tsx +14 -0
- package/dist/templates/blog/solidjs/src/messages.ts +71 -0
- package/dist/templates/blog/solidjs/src/model.ts +128 -0
- package/dist/templates/blog/solidjs/src/styles.css +1159 -0
- package/dist/templates/blog/solidjs/src/vite-env.d.ts +1 -0
- package/dist/templates/blog/solidjs/tsconfig.json +24 -0
- package/dist/templates/blog/solidjs/vite.config.ts +36 -0
- package/dist/templates/blog/solidjs/wrangler.jsonc +8 -0
- package/dist/templates/blog/svelte/.env.example +15 -0
- package/dist/templates/blog/svelte/ASSETS.md +1 -0
- package/dist/templates/blog/svelte/DEPLOY.md +23 -0
- package/dist/templates/blog/svelte/LICENSE +21 -0
- package/dist/templates/blog/svelte/README.md +36 -0
- package/dist/templates/blog/svelte/_gitignore +11 -0
- package/dist/templates/blog/svelte/index.html +2 -0
- package/dist/templates/blog/svelte/linguana.json +10 -0
- package/dist/templates/blog/svelte/package.json +32 -0
- package/dist/templates/blog/svelte/public/assets/scene-1.svg +1 -0
- package/dist/templates/blog/svelte/public/assets/scene-2.svg +1 -0
- package/dist/templates/blog/svelte/public/assets/scene-3.svg +1 -0
- package/dist/templates/blog/svelte/public/assets/scene-4.svg +1 -0
- package/dist/templates/blog/svelte/public/assets/scene-5.svg +1 -0
- package/dist/templates/blog/svelte/public/assets/scene-6.svg +1 -0
- package/dist/templates/blog/svelte/src/App.svelte +196 -0
- package/dist/templates/blog/svelte/src/Copy.svelte +60 -0
- package/dist/templates/blog/svelte/src/Root.svelte +11 -0
- package/dist/templates/blog/svelte/src/demo-messages.ts +221 -0
- package/dist/templates/blog/svelte/src/i18n.ts +62 -0
- package/dist/templates/blog/svelte/src/main.ts +5 -0
- package/dist/templates/blog/svelte/src/messages.ts +71 -0
- package/dist/templates/blog/svelte/src/model.ts +128 -0
- package/dist/templates/blog/svelte/src/styles.css +1159 -0
- package/dist/templates/blog/svelte/src/vite-env.d.ts +1 -0
- package/dist/templates/blog/svelte/svelte.config.js +2 -0
- package/dist/templates/blog/svelte/tsconfig.json +23 -0
- package/dist/templates/blog/svelte/vite.config.ts +36 -0
- package/dist/templates/blog/svelte/wrangler.jsonc +8 -0
- package/dist/templates/blog/tanstack-start/.env.example +15 -0
- package/dist/templates/blog/tanstack-start/ASSETS.md +1 -0
- package/dist/templates/blog/tanstack-start/DEPLOY.md +23 -0
- package/dist/templates/blog/tanstack-start/LICENSE +21 -0
- package/dist/templates/blog/tanstack-start/README.md +36 -0
- package/dist/templates/blog/tanstack-start/_gitignore +11 -0
- package/dist/templates/blog/tanstack-start/linguana.json +10 -0
- package/dist/templates/blog/tanstack-start/nitro.config.ts +2 -0
- package/dist/templates/blog/tanstack-start/package.json +42 -0
- package/dist/templates/blog/tanstack-start/public/assets/scene-1.svg +1 -0
- package/dist/templates/blog/tanstack-start/public/assets/scene-2.svg +1 -0
- package/dist/templates/blog/tanstack-start/public/assets/scene-3.svg +1 -0
- package/dist/templates/blog/tanstack-start/public/assets/scene-4.svg +1 -0
- package/dist/templates/blog/tanstack-start/public/assets/scene-5.svg +1 -0
- package/dist/templates/blog/tanstack-start/public/assets/scene-6.svg +1 -0
- package/dist/templates/blog/tanstack-start/src/App.tsx +450 -0
- package/dist/templates/blog/tanstack-start/src/Copy.tsx +322 -0
- package/dist/templates/blog/tanstack-start/src/demo-messages.ts +221 -0
- package/dist/templates/blog/tanstack-start/src/i18n.ts +62 -0
- package/dist/templates/blog/tanstack-start/src/locale-server.ts +54 -0
- package/dist/templates/blog/tanstack-start/src/messages.ts +71 -0
- package/dist/templates/blog/tanstack-start/src/model.ts +128 -0
- package/dist/templates/blog/tanstack-start/src/router.tsx +10 -0
- package/dist/templates/blog/tanstack-start/src/routes/$.tsx +7 -0
- package/dist/templates/blog/tanstack-start/src/routes/__root.tsx +50 -0
- package/dist/templates/blog/tanstack-start/src/routes/index.tsx +5 -0
- package/dist/templates/blog/tanstack-start/src/styles.css +1159 -0
- package/dist/templates/blog/tanstack-start/src/vite-env.d.ts +1 -0
- package/dist/templates/blog/tanstack-start/tsconfig.json +23 -0
- package/dist/templates/blog/tanstack-start/vite.config.ts +50 -0
- package/dist/templates/blog/tanstack-start/wrangler.jsonc +12 -0
- package/dist/templates/blog/vue/.env.example +15 -0
- package/dist/templates/blog/vue/ASSETS.md +1 -0
- package/dist/templates/blog/vue/DEPLOY.md +23 -0
- package/dist/templates/blog/vue/LICENSE +21 -0
- package/dist/templates/blog/vue/README.md +36 -0
- package/dist/templates/blog/vue/_gitignore +11 -0
- package/dist/templates/blog/vue/index.html +2 -0
- package/dist/templates/blog/vue/linguana.json +10 -0
- package/dist/templates/blog/vue/package.json +34 -0
- package/dist/templates/blog/vue/public/assets/scene-1.svg +1 -0
- package/dist/templates/blog/vue/public/assets/scene-2.svg +1 -0
- package/dist/templates/blog/vue/public/assets/scene-3.svg +1 -0
- package/dist/templates/blog/vue/public/assets/scene-4.svg +1 -0
- package/dist/templates/blog/vue/public/assets/scene-5.svg +1 -0
- package/dist/templates/blog/vue/public/assets/scene-6.svg +1 -0
- package/dist/templates/blog/vue/src/App.vue +188 -0
- package/dist/templates/blog/vue/src/Copy.vue +59 -0
- package/dist/templates/blog/vue/src/demo-messages.ts +221 -0
- package/dist/templates/blog/vue/src/i18n.ts +62 -0
- package/dist/templates/blog/vue/src/main.ts +7 -0
- package/dist/templates/blog/vue/src/messages.ts +71 -0
- package/dist/templates/blog/vue/src/model.ts +128 -0
- package/dist/templates/blog/vue/src/styles.css +1159 -0
- package/dist/templates/blog/vue/src/vite-env.d.ts +1 -0
- package/dist/templates/blog/vue/tsconfig.json +23 -0
- package/dist/templates/blog/vue/vite.config.ts +36 -0
- package/dist/templates/blog/vue/wrangler.jsonc +8 -0
- package/dist/templates/saas/react/.env.example +15 -0
- package/dist/templates/saas/react/ASSETS.md +1 -0
- package/dist/templates/saas/react/DEPLOY.md +23 -0
- package/dist/templates/saas/react/LICENSE +21 -0
- package/dist/templates/saas/react/README.md +36 -0
- package/dist/templates/saas/react/_gitignore +11 -0
- package/dist/templates/saas/react/index.html +2 -0
- package/dist/templates/saas/react/linguana.json +10 -0
- package/dist/templates/saas/react/package.json +34 -0
- package/dist/templates/saas/react/src/App.tsx +631 -0
- package/dist/templates/saas/react/src/Copy.tsx +380 -0
- package/dist/templates/saas/react/src/demo-messages.ts +228 -0
- package/dist/templates/saas/react/src/i18n.ts +62 -0
- package/dist/templates/saas/react/src/main.tsx +11 -0
- package/dist/templates/saas/react/src/messages.ts +77 -0
- package/dist/templates/saas/react/src/model.ts +73 -0
- package/dist/templates/saas/react/src/styles.css +1159 -0
- package/dist/templates/saas/react/src/vite-env.d.ts +1 -0
- package/dist/templates/saas/react/tsconfig.json +23 -0
- package/dist/templates/saas/react/vite.config.ts +36 -0
- package/dist/templates/saas/react/wrangler.jsonc +8 -0
- package/dist/templates/saas/solidjs/.env.example +15 -0
- package/dist/templates/saas/solidjs/ASSETS.md +1 -0
- package/dist/templates/saas/solidjs/DEPLOY.md +23 -0
- package/dist/templates/saas/solidjs/LICENSE +21 -0
- package/dist/templates/saas/solidjs/README.md +36 -0
- package/dist/templates/saas/solidjs/_gitignore +11 -0
- package/dist/templates/saas/solidjs/index.html +2 -0
- package/dist/templates/saas/solidjs/linguana.json +10 -0
- package/dist/templates/saas/solidjs/package.json +31 -0
- package/dist/templates/saas/solidjs/src/App.tsx +629 -0
- package/dist/templates/saas/solidjs/src/Copy.tsx +380 -0
- package/dist/templates/saas/solidjs/src/demo-messages.ts +228 -0
- package/dist/templates/saas/solidjs/src/i18n.ts +62 -0
- package/dist/templates/saas/solidjs/src/main.tsx +14 -0
- package/dist/templates/saas/solidjs/src/messages.ts +77 -0
- package/dist/templates/saas/solidjs/src/model.ts +73 -0
- package/dist/templates/saas/solidjs/src/styles.css +1159 -0
- package/dist/templates/saas/solidjs/src/vite-env.d.ts +1 -0
- package/dist/templates/saas/solidjs/tsconfig.json +24 -0
- package/dist/templates/saas/solidjs/vite.config.ts +36 -0
- package/dist/templates/saas/solidjs/wrangler.jsonc +8 -0
- package/dist/templates/saas/svelte/.env.example +15 -0
- package/dist/templates/saas/svelte/ASSETS.md +1 -0
- package/dist/templates/saas/svelte/DEPLOY.md +23 -0
- package/dist/templates/saas/svelte/LICENSE +21 -0
- package/dist/templates/saas/svelte/README.md +36 -0
- package/dist/templates/saas/svelte/_gitignore +11 -0
- package/dist/templates/saas/svelte/index.html +2 -0
- package/dist/templates/saas/svelte/linguana.json +10 -0
- package/dist/templates/saas/svelte/package.json +32 -0
- package/dist/templates/saas/svelte/src/App.svelte +252 -0
- package/dist/templates/saas/svelte/src/Copy.svelte +74 -0
- package/dist/templates/saas/svelte/src/Root.svelte +11 -0
- package/dist/templates/saas/svelte/src/demo-messages.ts +228 -0
- package/dist/templates/saas/svelte/src/i18n.ts +62 -0
- package/dist/templates/saas/svelte/src/main.ts +5 -0
- package/dist/templates/saas/svelte/src/messages.ts +77 -0
- package/dist/templates/saas/svelte/src/model.ts +73 -0
- package/dist/templates/saas/svelte/src/styles.css +1159 -0
- package/dist/templates/saas/svelte/src/vite-env.d.ts +1 -0
- package/dist/templates/saas/svelte/svelte.config.js +2 -0
- package/dist/templates/saas/svelte/tsconfig.json +23 -0
- package/dist/templates/saas/svelte/vite.config.ts +36 -0
- package/dist/templates/saas/svelte/wrangler.jsonc +8 -0
- package/dist/templates/saas/tanstack-start/.env.example +15 -0
- package/dist/templates/saas/tanstack-start/ASSETS.md +1 -0
- package/dist/templates/saas/tanstack-start/DEPLOY.md +23 -0
- package/dist/templates/saas/tanstack-start/LICENSE +21 -0
- package/dist/templates/saas/tanstack-start/README.md +36 -0
- package/dist/templates/saas/tanstack-start/_gitignore +11 -0
- package/dist/templates/saas/tanstack-start/linguana.json +10 -0
- package/dist/templates/saas/tanstack-start/nitro.config.ts +2 -0
- package/dist/templates/saas/tanstack-start/package.json +42 -0
- package/dist/templates/saas/tanstack-start/src/App.tsx +616 -0
- package/dist/templates/saas/tanstack-start/src/Copy.tsx +380 -0
- package/dist/templates/saas/tanstack-start/src/demo-messages.ts +228 -0
- package/dist/templates/saas/tanstack-start/src/i18n.ts +62 -0
- package/dist/templates/saas/tanstack-start/src/locale-server.ts +54 -0
- package/dist/templates/saas/tanstack-start/src/messages.ts +77 -0
- package/dist/templates/saas/tanstack-start/src/model.ts +73 -0
- package/dist/templates/saas/tanstack-start/src/router.tsx +10 -0
- package/dist/templates/saas/tanstack-start/src/routes/$.tsx +7 -0
- package/dist/templates/saas/tanstack-start/src/routes/__root.tsx +50 -0
- package/dist/templates/saas/tanstack-start/src/routes/index.tsx +5 -0
- package/dist/templates/saas/tanstack-start/src/styles.css +1159 -0
- package/dist/templates/saas/tanstack-start/src/vite-env.d.ts +1 -0
- package/dist/templates/saas/tanstack-start/tsconfig.json +23 -0
- package/dist/templates/saas/tanstack-start/vite.config.ts +50 -0
- package/dist/templates/saas/tanstack-start/wrangler.jsonc +12 -0
- package/dist/templates/saas/vue/.env.example +15 -0
- package/dist/templates/saas/vue/ASSETS.md +1 -0
- package/dist/templates/saas/vue/DEPLOY.md +23 -0
- package/dist/templates/saas/vue/LICENSE +21 -0
- package/dist/templates/saas/vue/README.md +36 -0
- package/dist/templates/saas/vue/_gitignore +11 -0
- package/dist/templates/saas/vue/index.html +2 -0
- package/dist/templates/saas/vue/linguana.json +10 -0
- package/dist/templates/saas/vue/package.json +34 -0
- package/dist/templates/saas/vue/src/App.vue +244 -0
- package/dist/templates/saas/vue/src/Copy.vue +73 -0
- package/dist/templates/saas/vue/src/demo-messages.ts +228 -0
- package/dist/templates/saas/vue/src/i18n.ts +62 -0
- package/dist/templates/saas/vue/src/main.ts +7 -0
- package/dist/templates/saas/vue/src/messages.ts +77 -0
- package/dist/templates/saas/vue/src/model.ts +73 -0
- package/dist/templates/saas/vue/src/styles.css +1159 -0
- package/dist/templates/saas/vue/src/vite-env.d.ts +1 -0
- package/dist/templates/saas/vue/tsconfig.json +23 -0
- package/dist/templates/saas/vue/vite.config.ts +36 -0
- package/dist/templates/saas/vue/wrangler.jsonc +8 -0
- package/dist/templates/storefront/react/.env.example +15 -0
- package/dist/templates/storefront/react/ASSETS.md +1 -0
- package/dist/templates/storefront/react/DEPLOY.md +23 -0
- package/dist/templates/storefront/react/LICENSE +21 -0
- package/dist/templates/storefront/react/README.md +36 -0
- package/dist/templates/storefront/react/_gitignore +11 -0
- package/dist/templates/storefront/react/index.html +2 -0
- package/dist/templates/storefront/react/linguana.json +10 -0
- package/dist/templates/storefront/react/package.json +34 -0
- package/dist/templates/storefront/react/public/assets/collection.svg +1 -0
- package/dist/templates/storefront/react/public/assets/product-1.svg +1 -0
- package/dist/templates/storefront/react/public/assets/product-2.svg +1 -0
- package/dist/templates/storefront/react/public/assets/product-3.svg +1 -0
- package/dist/templates/storefront/react/public/assets/product-4.svg +1 -0
- package/dist/templates/storefront/react/public/assets/product-5.svg +1 -0
- package/dist/templates/storefront/react/public/assets/product-6.svg +1 -0
- package/dist/templates/storefront/react/public/assets/product-7.svg +1 -0
- package/dist/templates/storefront/react/public/assets/product-8.svg +1 -0
- package/dist/templates/storefront/react/src/App.tsx +616 -0
- package/dist/templates/storefront/react/src/Copy.tsx +304 -0
- package/dist/templates/storefront/react/src/demo-messages.ts +205 -0
- package/dist/templates/storefront/react/src/i18n.ts +64 -0
- package/dist/templates/storefront/react/src/main.tsx +11 -0
- package/dist/templates/storefront/react/src/messages.ts +71 -0
- package/dist/templates/storefront/react/src/model.ts +146 -0
- package/dist/templates/storefront/react/src/styles.css +1159 -0
- package/dist/templates/storefront/react/src/vite-env.d.ts +1 -0
- package/dist/templates/storefront/react/tsconfig.json +23 -0
- package/dist/templates/storefront/react/vite.config.ts +36 -0
- package/dist/templates/storefront/react/wrangler.jsonc +8 -0
- package/dist/templates/storefront/solidjs/.env.example +15 -0
- package/dist/templates/storefront/solidjs/ASSETS.md +1 -0
- package/dist/templates/storefront/solidjs/DEPLOY.md +23 -0
- package/dist/templates/storefront/solidjs/LICENSE +21 -0
- package/dist/templates/storefront/solidjs/README.md +36 -0
- package/dist/templates/storefront/solidjs/_gitignore +11 -0
- package/dist/templates/storefront/solidjs/index.html +2 -0
- package/dist/templates/storefront/solidjs/linguana.json +10 -0
- package/dist/templates/storefront/solidjs/package.json +31 -0
- package/dist/templates/storefront/solidjs/public/assets/collection.svg +1 -0
- package/dist/templates/storefront/solidjs/public/assets/product-1.svg +1 -0
- package/dist/templates/storefront/solidjs/public/assets/product-2.svg +1 -0
- package/dist/templates/storefront/solidjs/public/assets/product-3.svg +1 -0
- package/dist/templates/storefront/solidjs/public/assets/product-4.svg +1 -0
- package/dist/templates/storefront/solidjs/public/assets/product-5.svg +1 -0
- package/dist/templates/storefront/solidjs/public/assets/product-6.svg +1 -0
- package/dist/templates/storefront/solidjs/public/assets/product-7.svg +1 -0
- package/dist/templates/storefront/solidjs/public/assets/product-8.svg +1 -0
- package/dist/templates/storefront/solidjs/src/App.tsx +612 -0
- package/dist/templates/storefront/solidjs/src/Copy.tsx +304 -0
- package/dist/templates/storefront/solidjs/src/demo-messages.ts +205 -0
- package/dist/templates/storefront/solidjs/src/i18n.ts +64 -0
- package/dist/templates/storefront/solidjs/src/main.tsx +14 -0
- package/dist/templates/storefront/solidjs/src/messages.ts +71 -0
- package/dist/templates/storefront/solidjs/src/model.ts +146 -0
- package/dist/templates/storefront/solidjs/src/styles.css +1159 -0
- package/dist/templates/storefront/solidjs/src/vite-env.d.ts +1 -0
- package/dist/templates/storefront/solidjs/tsconfig.json +24 -0
- package/dist/templates/storefront/solidjs/vite.config.ts +36 -0
- package/dist/templates/storefront/solidjs/wrangler.jsonc +8 -0
- package/dist/templates/storefront/svelte/.env.example +15 -0
- package/dist/templates/storefront/svelte/ASSETS.md +1 -0
- package/dist/templates/storefront/svelte/DEPLOY.md +23 -0
- package/dist/templates/storefront/svelte/LICENSE +21 -0
- package/dist/templates/storefront/svelte/README.md +36 -0
- package/dist/templates/storefront/svelte/_gitignore +11 -0
- package/dist/templates/storefront/svelte/index.html +2 -0
- package/dist/templates/storefront/svelte/linguana.json +10 -0
- package/dist/templates/storefront/svelte/package.json +32 -0
- package/dist/templates/storefront/svelte/public/assets/collection.svg +1 -0
- package/dist/templates/storefront/svelte/public/assets/product-1.svg +1 -0
- package/dist/templates/storefront/svelte/public/assets/product-2.svg +1 -0
- package/dist/templates/storefront/svelte/public/assets/product-3.svg +1 -0
- package/dist/templates/storefront/svelte/public/assets/product-4.svg +1 -0
- package/dist/templates/storefront/svelte/public/assets/product-5.svg +1 -0
- package/dist/templates/storefront/svelte/public/assets/product-6.svg +1 -0
- package/dist/templates/storefront/svelte/public/assets/product-7.svg +1 -0
- package/dist/templates/storefront/svelte/public/assets/product-8.svg +1 -0
- package/dist/templates/storefront/svelte/src/App.svelte +218 -0
- package/dist/templates/storefront/svelte/src/Copy.svelte +66 -0
- package/dist/templates/storefront/svelte/src/Root.svelte +11 -0
- package/dist/templates/storefront/svelte/src/demo-messages.ts +205 -0
- package/dist/templates/storefront/svelte/src/i18n.ts +64 -0
- package/dist/templates/storefront/svelte/src/main.ts +5 -0
- package/dist/templates/storefront/svelte/src/messages.ts +71 -0
- package/dist/templates/storefront/svelte/src/model.ts +146 -0
- package/dist/templates/storefront/svelte/src/styles.css +1159 -0
- package/dist/templates/storefront/svelte/src/vite-env.d.ts +1 -0
- package/dist/templates/storefront/svelte/svelte.config.js +2 -0
- package/dist/templates/storefront/svelte/tsconfig.json +23 -0
- package/dist/templates/storefront/svelte/vite.config.ts +36 -0
- package/dist/templates/storefront/svelte/wrangler.jsonc +8 -0
- package/dist/templates/storefront/tanstack-start/.env.example +15 -0
- package/dist/templates/storefront/tanstack-start/ASSETS.md +1 -0
- package/dist/templates/storefront/tanstack-start/DEPLOY.md +23 -0
- package/dist/templates/storefront/tanstack-start/LICENSE +21 -0
- package/dist/templates/storefront/tanstack-start/README.md +36 -0
- package/dist/templates/storefront/tanstack-start/_gitignore +11 -0
- package/dist/templates/storefront/tanstack-start/linguana.json +10 -0
- package/dist/templates/storefront/tanstack-start/nitro.config.ts +2 -0
- package/dist/templates/storefront/tanstack-start/package.json +42 -0
- package/dist/templates/storefront/tanstack-start/public/assets/collection.svg +1 -0
- package/dist/templates/storefront/tanstack-start/public/assets/product-1.svg +1 -0
- package/dist/templates/storefront/tanstack-start/public/assets/product-2.svg +1 -0
- package/dist/templates/storefront/tanstack-start/public/assets/product-3.svg +1 -0
- package/dist/templates/storefront/tanstack-start/public/assets/product-4.svg +1 -0
- package/dist/templates/storefront/tanstack-start/public/assets/product-5.svg +1 -0
- package/dist/templates/storefront/tanstack-start/public/assets/product-6.svg +1 -0
- package/dist/templates/storefront/tanstack-start/public/assets/product-7.svg +1 -0
- package/dist/templates/storefront/tanstack-start/public/assets/product-8.svg +1 -0
- package/dist/templates/storefront/tanstack-start/src/App.tsx +601 -0
- package/dist/templates/storefront/tanstack-start/src/Copy.tsx +304 -0
- package/dist/templates/storefront/tanstack-start/src/demo-messages.ts +205 -0
- package/dist/templates/storefront/tanstack-start/src/i18n.ts +64 -0
- package/dist/templates/storefront/tanstack-start/src/locale-server.ts +54 -0
- package/dist/templates/storefront/tanstack-start/src/messages.ts +71 -0
- package/dist/templates/storefront/tanstack-start/src/model.ts +146 -0
- package/dist/templates/storefront/tanstack-start/src/router.tsx +10 -0
- package/dist/templates/storefront/tanstack-start/src/routes/$.tsx +7 -0
- package/dist/templates/storefront/tanstack-start/src/routes/__root.tsx +50 -0
- package/dist/templates/storefront/tanstack-start/src/routes/index.tsx +5 -0
- package/dist/templates/storefront/tanstack-start/src/styles.css +1159 -0
- package/dist/templates/storefront/tanstack-start/src/vite-env.d.ts +1 -0
- package/dist/templates/storefront/tanstack-start/tsconfig.json +23 -0
- package/dist/templates/storefront/tanstack-start/vite.config.ts +50 -0
- package/dist/templates/storefront/tanstack-start/wrangler.jsonc +12 -0
- package/dist/templates/storefront/vue/.env.example +15 -0
- package/dist/templates/storefront/vue/ASSETS.md +1 -0
- package/dist/templates/storefront/vue/DEPLOY.md +23 -0
- package/dist/templates/storefront/vue/LICENSE +21 -0
- package/dist/templates/storefront/vue/README.md +36 -0
- package/dist/templates/storefront/vue/_gitignore +11 -0
- package/dist/templates/storefront/vue/index.html +2 -0
- package/dist/templates/storefront/vue/linguana.json +10 -0
- package/dist/templates/storefront/vue/package.json +34 -0
- package/dist/templates/storefront/vue/public/assets/collection.svg +1 -0
- package/dist/templates/storefront/vue/public/assets/product-1.svg +1 -0
- package/dist/templates/storefront/vue/public/assets/product-2.svg +1 -0
- package/dist/templates/storefront/vue/public/assets/product-3.svg +1 -0
- package/dist/templates/storefront/vue/public/assets/product-4.svg +1 -0
- package/dist/templates/storefront/vue/public/assets/product-5.svg +1 -0
- package/dist/templates/storefront/vue/public/assets/product-6.svg +1 -0
- package/dist/templates/storefront/vue/public/assets/product-7.svg +1 -0
- package/dist/templates/storefront/vue/public/assets/product-8.svg +1 -0
- package/dist/templates/storefront/vue/src/App.vue +210 -0
- package/dist/templates/storefront/vue/src/Copy.vue +65 -0
- package/dist/templates/storefront/vue/src/demo-messages.ts +205 -0
- package/dist/templates/storefront/vue/src/i18n.ts +64 -0
- package/dist/templates/storefront/vue/src/main.ts +7 -0
- package/dist/templates/storefront/vue/src/messages.ts +71 -0
- package/dist/templates/storefront/vue/src/model.ts +146 -0
- package/dist/templates/storefront/vue/src/styles.css +1159 -0
- package/dist/templates/storefront/vue/src/vite-env.d.ts +1 -0
- package/dist/templates/storefront/vue/tsconfig.json +23 -0
- package/dist/templates/storefront/vue/vite.config.ts +36 -0
- package/dist/templates/storefront/vue/wrangler.jsonc +8 -0
- package/package.json +38 -0
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
import { useTranslation } from "@linguanahq/react";
|
|
2
|
+
import { Fragment, useCallback, useEffect, useState } from "react";
|
|
3
|
+
import Copy from "./Copy.tsx";
|
|
4
|
+
import { demoLocales } from "./i18n";
|
|
5
|
+
import { messages } from "./messages";
|
|
6
|
+
import {
|
|
7
|
+
initialState,
|
|
8
|
+
items,
|
|
9
|
+
quantity,
|
|
10
|
+
readCart,
|
|
11
|
+
type State,
|
|
12
|
+
saveCart,
|
|
13
|
+
} from "./model";
|
|
14
|
+
|
|
15
|
+
export default function App({ path }: { path?: string }) {
|
|
16
|
+
const runtime = useTranslation();
|
|
17
|
+
const locale = () => runtime.locale;
|
|
18
|
+
const locales = () =>
|
|
19
|
+
runtime.availableLocales.length
|
|
20
|
+
? runtime.availableLocales
|
|
21
|
+
: demoLocales.filter((item) => item.code === runtime.sourceLocale);
|
|
22
|
+
const translate = runtime.translate;
|
|
23
|
+
const changeLocale = (value: string) => void runtime.setLocale(value);
|
|
24
|
+
const [state, setState] = useState(() => initialState(path));
|
|
25
|
+
const set = useCallback(
|
|
26
|
+
<K extends keyof State>(key: K, value: State[K]) =>
|
|
27
|
+
setState((previous) => ({ ...previous, [key]: value })),
|
|
28
|
+
[],
|
|
29
|
+
);
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
set("cart", readCart());
|
|
32
|
+
const pop = () => set("path", window.location.pathname);
|
|
33
|
+
window.addEventListener("popstate", pop);
|
|
34
|
+
return () => window.removeEventListener("popstate", pop);
|
|
35
|
+
}, [set]);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
document.documentElement.lang = runtime.locale;
|
|
38
|
+
document.documentElement.dir = runtime.locale.startsWith("ar")
|
|
39
|
+
? "rtl"
|
|
40
|
+
: "ltr";
|
|
41
|
+
}, [runtime.locale]);
|
|
42
|
+
const msg = (id: string, values?: Record<string, string | number>) =>
|
|
43
|
+
String(translate(id, messages[id] ?? id, values));
|
|
44
|
+
const value = (event: Event | { currentTarget: EventTarget | null }) =>
|
|
45
|
+
(event.currentTarget as HTMLInputElement).value;
|
|
46
|
+
const _money = (amount: number) =>
|
|
47
|
+
new Intl.NumberFormat(locale(), {
|
|
48
|
+
style: "currency",
|
|
49
|
+
currency: "USD",
|
|
50
|
+
maximumFractionDigits: 2,
|
|
51
|
+
}).format(amount);
|
|
52
|
+
const date = (input: string) =>
|
|
53
|
+
new Intl.DateTimeFormat(locale(), {
|
|
54
|
+
dateStyle: "medium",
|
|
55
|
+
timeZone: "UTC",
|
|
56
|
+
}).format(new Date(input));
|
|
57
|
+
const visible = () =>
|
|
58
|
+
items
|
|
59
|
+
.filter(
|
|
60
|
+
(item) =>
|
|
61
|
+
(state.category === "all" || item.category === state.category) &&
|
|
62
|
+
`${msg(`${item.id}Title`)} ${msg(`${item.id}Summary`)}`
|
|
63
|
+
.toLocaleLowerCase(locale())
|
|
64
|
+
.includes(state.query.toLocaleLowerCase(locale()).trim()),
|
|
65
|
+
)
|
|
66
|
+
.sort((a, b) =>
|
|
67
|
+
state.sort === "low"
|
|
68
|
+
? a.price - b.price
|
|
69
|
+
: state.sort === "high"
|
|
70
|
+
? b.price - a.price
|
|
71
|
+
: 0,
|
|
72
|
+
);
|
|
73
|
+
const detailHref = (id: string) =>
|
|
74
|
+
`/articles/${items.find((item) => item.id === id)!.slug}`;
|
|
75
|
+
const detail = () => items.find((item) => detailHref(item.id) === state.path);
|
|
76
|
+
const notFound = () => state.path !== "/" && detail() === undefined;
|
|
77
|
+
const clearFilters = () => {
|
|
78
|
+
set("query", "");
|
|
79
|
+
set("category", "all");
|
|
80
|
+
};
|
|
81
|
+
const _count = () =>
|
|
82
|
+
Object.values(state.cart).reduce((total, count) => total + count, 0);
|
|
83
|
+
const cartItems = () =>
|
|
84
|
+
items.filter((item) => (state.cart[item.id] ?? 0) > 0);
|
|
85
|
+
const _total = () =>
|
|
86
|
+
cartItems().reduce(
|
|
87
|
+
(total, item) => total + item.price * state.cart[item.id]!,
|
|
88
|
+
0,
|
|
89
|
+
);
|
|
90
|
+
const updateCart = (id: string, count: number) => {
|
|
91
|
+
const cart = { ...state.cart };
|
|
92
|
+
if (count <= 0) delete cart[id];
|
|
93
|
+
else cart[id] = quantity(count);
|
|
94
|
+
set("cart", cart);
|
|
95
|
+
saveCart(cart);
|
|
96
|
+
};
|
|
97
|
+
const _add = (id: string, count: number) => {
|
|
98
|
+
updateCart(id, (state.cart[id] ?? 0) + count);
|
|
99
|
+
set("added", true);
|
|
100
|
+
set("checkout", false);
|
|
101
|
+
};
|
|
102
|
+
const _checkout = () => {
|
|
103
|
+
set("cart", {});
|
|
104
|
+
saveCart({});
|
|
105
|
+
set("checkout", true);
|
|
106
|
+
set("added", false);
|
|
107
|
+
};
|
|
108
|
+
const _submit = (event: { preventDefault(): void }) => {
|
|
109
|
+
event.preventDefault();
|
|
110
|
+
const valid = Boolean(
|
|
111
|
+
state.name.trim() && /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(state.email),
|
|
112
|
+
);
|
|
113
|
+
set("error", !valid);
|
|
114
|
+
set("sent", valid);
|
|
115
|
+
};
|
|
116
|
+
const navigate = (_event: {
|
|
117
|
+
currentTarget: EventTarget | null;
|
|
118
|
+
preventDefault(): void;
|
|
119
|
+
metaKey: boolean;
|
|
120
|
+
ctrlKey: boolean;
|
|
121
|
+
shiftKey: boolean;
|
|
122
|
+
altKey: boolean;
|
|
123
|
+
button: number;
|
|
124
|
+
}) => {
|
|
125
|
+
return;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
return (
|
|
129
|
+
<div className="site blog">
|
|
130
|
+
<a href="#main" className="skip-link">
|
|
131
|
+
<Copy name="skip" />
|
|
132
|
+
</a>
|
|
133
|
+
<header className="site-header">
|
|
134
|
+
<a
|
|
135
|
+
href="/"
|
|
136
|
+
className="brand"
|
|
137
|
+
onClick={(event) => {
|
|
138
|
+
navigate(event);
|
|
139
|
+
}}
|
|
140
|
+
aria-label={`Elsewhere — ${msg("home")}`}
|
|
141
|
+
>
|
|
142
|
+
<span className="brand-mark" aria-hidden="true">
|
|
143
|
+
{"✳"}
|
|
144
|
+
</span>
|
|
145
|
+
{"Elsewhere"}
|
|
146
|
+
</a>
|
|
147
|
+
<nav aria-label={msg("home")}>
|
|
148
|
+
<a
|
|
149
|
+
href="/"
|
|
150
|
+
onClick={(event) => {
|
|
151
|
+
navigate(event);
|
|
152
|
+
}}
|
|
153
|
+
>
|
|
154
|
+
<Copy name="latest" />
|
|
155
|
+
</a>
|
|
156
|
+
<label className="locale-picker">
|
|
157
|
+
<span className="sr-only">
|
|
158
|
+
<Copy name="language" />
|
|
159
|
+
</span>
|
|
160
|
+
<select
|
|
161
|
+
value={locale()}
|
|
162
|
+
aria-label={msg("language")}
|
|
163
|
+
onChange={(event) => {
|
|
164
|
+
changeLocale(value(event));
|
|
165
|
+
}}
|
|
166
|
+
>
|
|
167
|
+
{locales().map((language) => (
|
|
168
|
+
<Fragment key={language.code}>
|
|
169
|
+
<option value={language.code}>{language.nativeName}</option>
|
|
170
|
+
</Fragment>
|
|
171
|
+
))}
|
|
172
|
+
</select>
|
|
173
|
+
</label>
|
|
174
|
+
</nav>
|
|
175
|
+
</header>
|
|
176
|
+
<main id="main">
|
|
177
|
+
{state.path === "/" && (
|
|
178
|
+
<>
|
|
179
|
+
<section className="hero blog-hero">
|
|
180
|
+
<div className="hero-copy">
|
|
181
|
+
<p className="eyebrow">
|
|
182
|
+
<Copy name="eyebrow" />
|
|
183
|
+
</p>
|
|
184
|
+
<h1>
|
|
185
|
+
<Copy name="headline" />
|
|
186
|
+
</h1>
|
|
187
|
+
<p className="intro">
|
|
188
|
+
<Copy name="intro" />
|
|
189
|
+
</p>
|
|
190
|
+
<a href="#journal" className="text-link">
|
|
191
|
+
<Copy name="latest" />
|
|
192
|
+
{" ↘"}
|
|
193
|
+
</a>
|
|
194
|
+
</div>
|
|
195
|
+
<a
|
|
196
|
+
href="/articles/lisbon"
|
|
197
|
+
onClick={(event) => {
|
|
198
|
+
navigate(event);
|
|
199
|
+
}}
|
|
200
|
+
>
|
|
201
|
+
<img
|
|
202
|
+
src="/assets/scene-1.svg"
|
|
203
|
+
alt={msg("p1Title")}
|
|
204
|
+
className="hero-image"
|
|
205
|
+
width={800}
|
|
206
|
+
height={600}
|
|
207
|
+
loading="lazy"
|
|
208
|
+
/>
|
|
209
|
+
<div className="image-caption">
|
|
210
|
+
<span>{"01 / LISBOA"}</span>
|
|
211
|
+
<Copy name="read" />
|
|
212
|
+
</div>
|
|
213
|
+
</a>
|
|
214
|
+
</section>
|
|
215
|
+
<section id="journal" className="section">
|
|
216
|
+
<div className="section-heading">
|
|
217
|
+
<h2>
|
|
218
|
+
<Copy name="latest" />
|
|
219
|
+
</h2>
|
|
220
|
+
<span className="muted">
|
|
221
|
+
<Copy name="notes" />
|
|
222
|
+
</span>
|
|
223
|
+
</div>
|
|
224
|
+
<div className="filters">
|
|
225
|
+
<fieldset
|
|
226
|
+
className="filter-buttons"
|
|
227
|
+
aria-label={msg(
|
|
228
|
+
"collection" in messages ? "collection" : "latest",
|
|
229
|
+
)}
|
|
230
|
+
>
|
|
231
|
+
<button
|
|
232
|
+
type="button"
|
|
233
|
+
className={
|
|
234
|
+
state.category === "all" ? "chip active" : "chip"
|
|
235
|
+
}
|
|
236
|
+
aria-pressed={state.category === "all"}
|
|
237
|
+
onClick={(_event) => {
|
|
238
|
+
set("category", "all");
|
|
239
|
+
}}
|
|
240
|
+
>
|
|
241
|
+
<Copy name="all" />
|
|
242
|
+
</button>
|
|
243
|
+
<button
|
|
244
|
+
type="button"
|
|
245
|
+
className={
|
|
246
|
+
state.category === "cities" ? "chip active" : "chip"
|
|
247
|
+
}
|
|
248
|
+
aria-pressed={state.category === "cities"}
|
|
249
|
+
onClick={(_event) => {
|
|
250
|
+
set("category", "cities");
|
|
251
|
+
}}
|
|
252
|
+
>
|
|
253
|
+
<Copy name="cities" />
|
|
254
|
+
</button>
|
|
255
|
+
<button
|
|
256
|
+
type="button"
|
|
257
|
+
className={
|
|
258
|
+
state.category === "nature" ? "chip active" : "chip"
|
|
259
|
+
}
|
|
260
|
+
aria-pressed={state.category === "nature"}
|
|
261
|
+
onClick={(_event) => {
|
|
262
|
+
set("category", "nature");
|
|
263
|
+
}}
|
|
264
|
+
>
|
|
265
|
+
<Copy name="nature" />
|
|
266
|
+
</button>
|
|
267
|
+
<button
|
|
268
|
+
type="button"
|
|
269
|
+
className={
|
|
270
|
+
state.category === "coast" ? "chip active" : "chip"
|
|
271
|
+
}
|
|
272
|
+
aria-pressed={state.category === "coast"}
|
|
273
|
+
onClick={(_event) => {
|
|
274
|
+
set("category", "coast");
|
|
275
|
+
}}
|
|
276
|
+
>
|
|
277
|
+
<Copy name="coast" />
|
|
278
|
+
</button>
|
|
279
|
+
</fieldset>
|
|
280
|
+
<label className="search">
|
|
281
|
+
<span className="sr-only">
|
|
282
|
+
<Copy name="search" />
|
|
283
|
+
</span>
|
|
284
|
+
<input
|
|
285
|
+
type="search"
|
|
286
|
+
placeholder={msg("search")}
|
|
287
|
+
value={state.query}
|
|
288
|
+
onInput={(event) => {
|
|
289
|
+
set("query", value(event));
|
|
290
|
+
}}
|
|
291
|
+
/>
|
|
292
|
+
</label>
|
|
293
|
+
</div>
|
|
294
|
+
<div className="article-grid">
|
|
295
|
+
{visible().map((item) => (
|
|
296
|
+
<Fragment key={item.id}>
|
|
297
|
+
<article className="article-card">
|
|
298
|
+
<a
|
|
299
|
+
href={detailHref(item.id)}
|
|
300
|
+
onClick={(event) => {
|
|
301
|
+
navigate(event);
|
|
302
|
+
}}
|
|
303
|
+
>
|
|
304
|
+
<img
|
|
305
|
+
src={item.image}
|
|
306
|
+
alt={msg(`${item.id}Title`)}
|
|
307
|
+
className=""
|
|
308
|
+
width={800}
|
|
309
|
+
height={600}
|
|
310
|
+
loading="lazy"
|
|
311
|
+
/>
|
|
312
|
+
</a>
|
|
313
|
+
<div className="meta">
|
|
314
|
+
<Copy name={item.category} />
|
|
315
|
+
<span>{date(item.date)}</span>
|
|
316
|
+
</div>
|
|
317
|
+
<h3>
|
|
318
|
+
<a
|
|
319
|
+
href={detailHref(item.id)}
|
|
320
|
+
onClick={(event) => {
|
|
321
|
+
navigate(event);
|
|
322
|
+
}}
|
|
323
|
+
>
|
|
324
|
+
<Copy name={`${item.id}Title`} />
|
|
325
|
+
</a>
|
|
326
|
+
</h3>
|
|
327
|
+
<p>
|
|
328
|
+
<Copy name={`${item.id}Summary`} />
|
|
329
|
+
</p>
|
|
330
|
+
<a
|
|
331
|
+
href={detailHref(item.id)}
|
|
332
|
+
onClick={(event) => {
|
|
333
|
+
navigate(event);
|
|
334
|
+
}}
|
|
335
|
+
>
|
|
336
|
+
<Copy name="read" />
|
|
337
|
+
{" ↗"}
|
|
338
|
+
</a>
|
|
339
|
+
</article>
|
|
340
|
+
</Fragment>
|
|
341
|
+
))}
|
|
342
|
+
</div>
|
|
343
|
+
{visible().length === 0 && (
|
|
344
|
+
<div className="empty" role="status">
|
|
345
|
+
<h3>
|
|
346
|
+
<Copy name="empty" />
|
|
347
|
+
</h3>
|
|
348
|
+
<p>
|
|
349
|
+
<Copy name="emptyHint" />
|
|
350
|
+
</p>
|
|
351
|
+
<button
|
|
352
|
+
type="button"
|
|
353
|
+
className="button"
|
|
354
|
+
onClick={(_event) => {
|
|
355
|
+
clearFilters();
|
|
356
|
+
}}
|
|
357
|
+
>
|
|
358
|
+
<Copy name="clear" />
|
|
359
|
+
</button>
|
|
360
|
+
</div>
|
|
361
|
+
)}
|
|
362
|
+
</section>
|
|
363
|
+
</>
|
|
364
|
+
)}
|
|
365
|
+
{detail() !== undefined && (
|
|
366
|
+
<article className="article-detail section">
|
|
367
|
+
<a
|
|
368
|
+
href="/"
|
|
369
|
+
onClick={(event) => {
|
|
370
|
+
navigate(event);
|
|
371
|
+
}}
|
|
372
|
+
>
|
|
373
|
+
<Copy name="back" />
|
|
374
|
+
</a>
|
|
375
|
+
<p className="eyebrow">
|
|
376
|
+
<Copy name={detail()!.category} />
|
|
377
|
+
</p>
|
|
378
|
+
<h1>
|
|
379
|
+
<Copy name={`${detail()!.id}Title`} />
|
|
380
|
+
</h1>
|
|
381
|
+
<div className="meta">
|
|
382
|
+
{date(detail()!.date)}
|
|
383
|
+
<Copy name="minutes" values={{ count: detail()!.minutes }} />
|
|
384
|
+
</div>
|
|
385
|
+
<img
|
|
386
|
+
src={detail()!.image}
|
|
387
|
+
alt={msg(`${detail()!.id}Title`)}
|
|
388
|
+
className="detail-image"
|
|
389
|
+
width={800}
|
|
390
|
+
height={600}
|
|
391
|
+
loading="lazy"
|
|
392
|
+
/>
|
|
393
|
+
<div className="prose">
|
|
394
|
+
<p className="lead">
|
|
395
|
+
<Copy name={`${detail()!.id}Summary`} />
|
|
396
|
+
</p>
|
|
397
|
+
<p>
|
|
398
|
+
<Copy name={`${detail()!.id}Body`} />
|
|
399
|
+
</p>
|
|
400
|
+
<p>
|
|
401
|
+
<Copy name={`${detail()!.id}End`} />
|
|
402
|
+
</p>
|
|
403
|
+
</div>
|
|
404
|
+
</article>
|
|
405
|
+
)}
|
|
406
|
+
{notFound() && (
|
|
407
|
+
<section className="section empty">
|
|
408
|
+
<p className="eyebrow">{"404"}</p>
|
|
409
|
+
<h1>
|
|
410
|
+
<Copy name="missing" />
|
|
411
|
+
</h1>
|
|
412
|
+
<p>
|
|
413
|
+
<Copy name="missingHint" />
|
|
414
|
+
</p>
|
|
415
|
+
<a
|
|
416
|
+
href="/"
|
|
417
|
+
onClick={(event) => {
|
|
418
|
+
navigate(event);
|
|
419
|
+
}}
|
|
420
|
+
>
|
|
421
|
+
<Copy name="back" />
|
|
422
|
+
</a>
|
|
423
|
+
</section>
|
|
424
|
+
)}
|
|
425
|
+
</main>
|
|
426
|
+
<footer className="site-footer">
|
|
427
|
+
<div>
|
|
428
|
+
<a
|
|
429
|
+
href="/"
|
|
430
|
+
className="brand"
|
|
431
|
+
onClick={(event) => {
|
|
432
|
+
navigate(event);
|
|
433
|
+
}}
|
|
434
|
+
>
|
|
435
|
+
{"Elsewhere"}
|
|
436
|
+
</a>
|
|
437
|
+
<p>
|
|
438
|
+
<Copy name="about" />
|
|
439
|
+
</p>
|
|
440
|
+
</div>
|
|
441
|
+
<p className="fine">
|
|
442
|
+
<Copy name="demo" />
|
|
443
|
+
<a href="https://linguana.mohammedibrahim.dev" rel="noreferrer">
|
|
444
|
+
{"Linguana ↗"}
|
|
445
|
+
</a>
|
|
446
|
+
</p>
|
|
447
|
+
</footer>
|
|
448
|
+
</div>
|
|
449
|
+
);
|
|
450
|
+
}
|