Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 6416c6b

Browse files
committed
Merge branch 'feature/landing_page' into develop
2 parents 58a099d + 30320f6 commit 6416c6b

36 files changed

+1728
-67
lines changed

.vscode/extensions.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"redhat.vscode-yaml",
1010
"tobermory.es6-string-html",
1111
"vitest.explorer",
12-
"yzhang.markdown-all-in-one"
12+
"yzhang.markdown-all-in-one",
13+
"svelte.svelte-vscode",
14+
"bradlc.vscode-tailwindcss"
1315
]
1416
}

apps/website/.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
node_modules
2+
3+
# Output
4+
.output
5+
.vercel
6+
.netlify
7+
.wrangler
8+
/.svelte-kit
9+
/build
10+
11+
# OS
12+
.DS_Store
13+
Thumbs.db
14+
15+
# Env
16+
.env
17+
.env.*
18+
!.env.example
19+
!.env.test
20+
21+
# Vite
22+
vite.config.js.timestamp-*
23+
vite.config.ts.timestamp-*
24+
25+
# Paraglide
26+
src/lib/paraglide
27+
28+
project.inlang/cache

apps/website/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

apps/website/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# sv
2+
3+
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
4+
5+
## Creating a project
6+
7+
If you're seeing this, you've probably already done this step. Congrats!
8+
9+
```bash
10+
# create a new project in the current directory
11+
npx sv create
12+
13+
# create a new project in my-app
14+
npx sv create my-app
15+
```
16+
17+
## Developing
18+
19+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20+
21+
```bash
22+
npm run dev
23+
24+
# or start the server and open the app in a new browser tab
25+
npm run dev -- --open
26+
```
27+
28+
## Building
29+
30+
To create a production version of your app:
31+
32+
```bash
33+
npm run build
34+
```
35+
36+
You can preview the production build with `npm run preview`.
37+
38+
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

apps/website/eslint.config.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
import js from '@eslint/js';
2+
import { includeIgnoreFile } from '@eslint/compat';
3+
import svelte from 'eslint-plugin-svelte';
4+
import globals from 'globals';
5+
import { fileURLToPath } from 'node:url';
6+
import ts from 'typescript-eslint';
7+
import svelteConfig from './svelte.config.js';
8+
9+
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
10+
11+
export default ts.config(
12+
includeIgnoreFile(gitignorePath),
13+
js.configs.recommended,
14+
...ts.configs.recommended,
15+
...svelte.configs.recommended,
16+
{
17+
languageOptions: {
18+
globals: { ...globals.browser, ...globals.node }
19+
},
20+
rules: { // typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects.
21+
// see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
22+
"no-undef": 'off' }
23+
},
24+
{
25+
files: [
26+
'**/*.svelte',
27+
'**/*.svelte.ts',
28+
'**/*.svelte.js'
29+
],
30+
languageOptions: {
31+
parserOptions: {
32+
projectService: true,
33+
extraFileExtensions: ['.svelte'],
34+
parser: ts.parser,
35+
svelteConfig
36+
}
37+
}
38+
}
39+
);

apps/website/messages/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://inlang.com/schema/inlang-message-format",
3+
"hello_world": "Hello, {name} from en!"
4+
}

apps/website/package.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"name": "website",
3+
"private": true,
4+
"version": "0.0.1",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite dev",
8+
"build": "vite build",
9+
"preview": "vite preview",
10+
"prepare": "svelte-kit sync || echo ''",
11+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
12+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
13+
"lint": "eslint ."
14+
},
15+
"devDependencies": {
16+
"@eslint/compat": "^1.2.5",
17+
"@eslint/js": "^9.18.0",
18+
"@sveltejs/adapter-auto": "^6.0.0",
19+
"@sveltejs/kit": "^2.16.0",
20+
"@sveltejs/vite-plugin-svelte": "^5.0.0",
21+
"@tailwindcss/typography": "^0.5.15",
22+
"@tailwindcss/vite": "^4.0.0",
23+
"eslint": "^9.18.0",
24+
"eslint-plugin-svelte": "^3.0.0",
25+
"globals": "^16.0.0",
26+
"mdsvex": "^0.12.3",
27+
"svelte": "^5.0.0",
28+
"svelte-check": "^4.0.0",
29+
"tailwindcss": "^4.0.0",
30+
"typescript": "^5.0.0",
31+
"typescript-eslint": "^8.20.0",
32+
"vite": "^6.2.6"
33+
},
34+
"dependencies": {
35+
"@inlang/paraglide-js": "^2.0.0"
36+
}
37+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dv1iXGpHP2mMvuQQo4
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://inlang.com/schema/project-settings",
3+
"modules": [
4+
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@4/dist/index.js",
5+
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@2/dist/index.js"
6+
],
7+
"plugin.inlang.messageFormat": {
8+
"pathPattern": "./messages/{locale}.json"
9+
},
10+
"baseLocale": "en",
11+
"locales": [
12+
"en"
13+
]
14+
}

apps/website/src/app.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import 'tailwindcss';
2+
@plugin '@tailwindcss/typography';

0 commit comments

Comments
 (0)