Skip to content

Commit 126030a

Browse files
authored
Merge pull request #574 from openscript/design-overhaul
Design overhaul
2 parents bbb3e9c + 34dd35b commit 126030a

86 files changed

Lines changed: 3488 additions & 1538 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/green-geckos-add.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"r.obin.ch": patch
3+
---
4+
5+
Add pixel display

.devcontainer.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,23 @@
1515
"unifiedjs.vscode-mdx",
1616
"github.vscode-github-actions",
1717
"GitHub.vscode-pull-request-github",
18-
"vunguyentuan.vscode-css-variables"
18+
"vunguyentuan.vscode-css-variables",
19+
"denoland.vscode-deno"
1920
]
2021
}
2122
},
23+
"forwardPorts": [
24+
4321
25+
],
26+
"portsAttributes": {
27+
"4321": {
28+
"label": "Astro Dev Server"
29+
}
30+
},
2231
"containerEnv": {
2332
"ASTRO_TELEMETRY_DISABLED": "1"
33+
},
34+
"features": {
35+
"ghcr.io/devcontainers-community/features/deno:1": {}
2436
}
2537
}

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
PUBLIC_SUPABASE_URL=https://ebazfrryxabwtqaiezir.supabase.co
2+
PUBLIC_SUPABASE_ANON_KEY=sb_publishable_BnfPS3NmFKJC1rwKTHgs3w_EPkMGv6S

.llm/pixelwidget

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 8afc9eb940c9cafd3495cae9269bde3f7a3e084f

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["denoland.vscode-deno"]
3+
}

.vscode/settings.json

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,45 @@
11
{
2-
"cSpell.language": "en,de-ch",
3-
"cSpell.words": [
4-
"Astro"
5-
],
6-
"typescript.tsdk": "node_modules/typescript/lib",
7-
"editor.rulers": [
8-
120
9-
],
102
"[astro]": {
113
"editor.defaultFormatter": "esbenp.prettier-vscode"
124
},
13-
"[typescript]": {
5+
"[css]": {
146
"editor.defaultFormatter": "esbenp.prettier-vscode"
157
},
168
"[markdown]": {
179
"editor.quickSuggestions": {
1810
"comments": "off",
19-
"strings": "off",
20-
"other": "off"
11+
"other": "off",
12+
"strings": "off"
2113
}
2214
},
15+
"[typescript]": {
16+
"editor.defaultFormatter": "esbenp.prettier-vscode"
17+
},
18+
"cSpell.language": "en,de-ch",
19+
"cSpell.words": [
20+
"Astro"
21+
],
22+
"deno.enablePaths": [
23+
"supabase/functions"
24+
],
25+
"deno.lint": true,
26+
"deno.unstable": [
27+
"bare-node-builtins",
28+
"byonm",
29+
"sloppy-imports",
30+
"unsafe-proto",
31+
"webgpu",
32+
"broadcast-channel",
33+
"worker-options",
34+
"cron",
35+
"kv",
36+
"ffi",
37+
"fs",
38+
"http",
39+
"net"
40+
],
41+
"editor.rulers": [
42+
120
43+
],
44+
"typescript.tsdk": "node_modules/typescript/lib"
2345
}

astro.config.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ import { remarkExcerpt } from "./src/remark/remark-excerpt";
99
import search from "./src/integrations/search";
1010
import sitemap from "@astrojs/sitemap";
1111
import Icons from "unplugin-icons/vite";
12+
import nanostoresI18n from "astro-nanostores-i18n";
13+
import deCH from "./src/translations/de-CH.json";
14+
import deCHExt from "./src/translations/de-CH.ext.json";
15+
import enUS from "./src/translations/en-US.json";
16+
import enUSExt from "./src/translations/en-US.ext.json";
1217

1318
export default defineConfig({
1419
prefetch: true,
@@ -52,5 +57,16 @@ export default defineConfig({
5257
Icons({ compiler: "astro" }),
5358
],
5459
},
55-
integrations: [search(), mdx(), sitemap({ i18n: { defaultLocale: C.DEFAULT_LOCALE, locales: C.LOCALES } })],
60+
integrations: [
61+
search(),
62+
mdx(),
63+
sitemap({ i18n: { defaultLocale: C.DEFAULT_LOCALE, locales: C.LOCALES } }),
64+
nanostoresI18n({
65+
translations: {
66+
de: { ...deCH, ...deCHExt },
67+
en: { ...enUS, ...enUSExt },
68+
},
69+
addMiddleware: true,
70+
}),
71+
],
5672
});

package.json

Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
"url": "https://github.com/openscript/r.obin.ch/issues"
1212
},
1313
"repository": "github:openscript/r.obin.ch",
14-
"packageManager": "pnpm@10.27.0",
14+
"packageManager": "pnpm@10.28.1",
15+
"pnpm": {
16+
"overrides": {
17+
"@astrojs/compiler": "npm:@openscript/astrojs-compiler@2.14.0"
18+
}
19+
},
1520
"scripts": {
1621
"dev": "astro dev --host",
1722
"start": "astro dev --host",
@@ -24,50 +29,57 @@
2429
"format": "prettier . --write",
2530
"version": "changeset version",
2631
"release": "changeset publish",
27-
"tag": "changeset tag"
32+
"tag": "changeset tag",
33+
"extract": "extract-messages --out src/translations/en-US.json"
2834
},
2935
"dependencies": {
3036
"@astrojs/check": "^0.9.6",
3137
"@astrojs/mdx": "^4.3.13",
32-
"@astrojs/rss": "^4.0.14",
33-
"@astrojs/sitemap": "^3.6.0",
38+
"@astrojs/rss": "^4.0.15",
39+
"@astrojs/sitemap": "^3.7.0",
3440
"@fontsource/ibm-plex-mono": "^5.2.7",
3541
"@fontsource/poppins": "^5.2.7",
3642
"@fontsource/rajdhani": "^5.2.7",
37-
"astro": "^5.16.6",
38-
"astro-loader-i18n": "^0.10.9",
39-
"limax": "^4.2.1",
43+
"@nanostores/i18n": "^1.2.2",
44+
"@supabase/supabase-js": "^2.93.3",
45+
"astro": "^5.17.1",
46+
"astro-loader-i18n": "^0.10.11",
47+
"astro-nanostores-i18n": "^0.4.0",
48+
"limax": "^4.2.2",
49+
"lit": "^3.3.2",
50+
"nanostores": "^1.1.0",
4051
"pagefind": "^1.4.0",
4152
"rehype-autolink-headings": "^7.1.0",
4253
"rehype-slug": "^6.0.0",
4354
"sharp": "^0.34.5",
4455
"simple-git": "^3.30.0",
45-
"unplugin-icons": "^22.5.0",
56+
"unplugin-icons": "^23.0.1",
4657
"vfile": "^6.0.3"
4758
},
4859
"devDependencies": {
4960
"@changesets/cli": "^2.29.8",
5061
"@eslint/js": "^9.39.2",
51-
"@iconify/json": "^2.2.419",
62+
"@iconify/json": "^2.2.434",
5263
"@openscript/unplugin-favicons": "^1.1.8",
5364
"@types/mdast": "^4.0.4",
54-
"@types/node": "^24.10.4",
55-
"@typescript-eslint/parser": "^8.50.0",
56-
"@vitest/coverage-v8": "4.0.16",
65+
"@types/node": "^24.10.6",
66+
"@typescript-eslint/parser": "^8.54.0",
67+
"@vitest/coverage-v8": "4.0.18",
5768
"astro-eslint-parser": "^1.2.2",
5869
"eslint": "^9.39.2",
5970
"eslint-config-prettier": "^10.1.8",
6071
"eslint-plugin-astro": "^1.5.0",
6172
"eslint-plugin-jsx-a11y": "^6.10.2",
62-
"eslint-plugin-prettier": "^5.5.4",
73+
"eslint-plugin-prettier": "^5.5.5",
6374
"favicons": "^7.2.0",
64-
"globals": "^16.5.0",
75+
"globals": "^17.3.0",
6576
"jiti": "^2.6.1",
66-
"prettier": "^3.7.4",
77+
"prettier": "^3.8.1",
6778
"prettier-plugin-astro": "^0.14.1",
6879
"sirv": "^3.0.2",
80+
"supabase": "^2.74.5",
6981
"typescript": "^5.9.3",
70-
"typescript-eslint": "^8.50.0",
71-
"vitest": "4.0.16"
82+
"typescript-eslint": "^8.54.0",
83+
"vitest": "4.0.18"
7284
}
7385
}

0 commit comments

Comments
 (0)