From a98d906fa6052c46ce65b4b708378f5f403573aa Mon Sep 17 00:00:00 2001 From: Wanjohi Date: Sat, 19 Jul 2025 15:17:01 +0300 Subject: [PATCH] feat: Add some web stuff --- packages/web/.astro/data-store.json | 2 +- packages/web/bun.lock | 3 ++ packages/web/package.json | 1 + packages/web/public/favicon.ico | Bin 0 -> 15086 bytes packages/web/public/favicon.svg | 9 ------ packages/web/src/layouts/Layout.astro | 41 ++++++++++++++++++++++++++ packages/web/src/pages/index.astro | 25 +++++++--------- 7 files changed, 57 insertions(+), 24 deletions(-) create mode 100644 packages/web/public/favicon.ico delete mode 100644 packages/web/public/favicon.svg create mode 100644 packages/web/src/layouts/Layout.astro diff --git a/packages/web/.astro/data-store.json b/packages/web/.astro/data-store.json index c42784d5..6f468394 100644 --- a/packages/web/.astro/data-store.json +++ b/packages/web/.astro/data-store.json @@ -1 +1 @@ -[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.11.2","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false},\"legacy\":{\"collections\":false}}"] \ No newline at end of file +[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.11.2","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"site\":\"https://dev.nestri.io\",\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"index.js\",\"redirects\":false,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":\"0.0.0.0\",\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/noop\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":false},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false},\"legacy\":{\"collections\":false},\"session\":{\"driver\":\"fs-lite\",\"options\":{\"base\":\"/home/wanjohi/nestri/packages/web/.astro/integrations/_astrojs_cloudflare/sessions\"}}}"] \ No newline at end of file diff --git a/packages/web/bun.lock b/packages/web/bun.lock index e9e2adf2..ab36abad 100644 --- a/packages/web/bun.lock +++ b/packages/web/bun.lock @@ -5,6 +5,7 @@ "dependencies": { "@astrojs/cloudflare": "^12.6.0", "@astrojs/solid-js": "^5.1.0", + "@fontsource/geist-sans": "^5.2.5", "astro": "^5.11.2", }, }, @@ -138,6 +139,8 @@ "@esbuild/win32-x64": ["@esbuild/win32-x64@0.25.6", "", { "os": "win32", "cpu": "x64" }, "sha512-NgJPHHbEpLQgDH2MjQu90pzW/5vvXIZ7KOnPyNBm92A6WgZ/7b6fJyUBjoumLqeOQQGqY2QjQxRo97ah4Sj0cA=="], + "@fontsource/geist-sans": ["@fontsource/geist-sans@5.2.5", "", {}, "sha512-anllOHyJbElRs9fV15TeDRqAeb1IKm4bSknPl6ZMoyPTx1BBy7logudcUwpNjmQLkzn4Q0JGQLRCUKJYoyST6A=="], + "@img/sharp-darwin-arm64": ["@img/sharp-darwin-arm64@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.0.4" }, "os": "darwin", "cpu": "arm64" }, "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ=="], "@img/sharp-darwin-x64": ["@img/sharp-darwin-x64@0.33.5", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-x64": "1.0.4" }, "os": "darwin", "cpu": "x64" }, "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q=="], diff --git a/packages/web/package.json b/packages/web/package.json index fb3d3347..7f464a92 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -11,6 +11,7 @@ "dependencies": { "@astrojs/cloudflare": "^12.6.0", "@astrojs/solid-js": "^5.1.0", + "@fontsource/geist-sans": "^5.2.5", "astro": "^5.11.2" } } \ No newline at end of file diff --git a/packages/web/public/favicon.ico b/packages/web/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..664912414c521396a40c0c5ac0b9ea2de5ed21de GIT binary patch literal 15086 zcmeI3KQ9D97{=ebbKH^RqM+S^M5z)~8WqWfl18bcK_yZ706KgD(TOi`g-S?-UVH?l zkXX-iw{tmre;jMgOuU=?Zgywq^}hS;%zGa?cM(Q#Si5qV{# zJipl|a)<&`C<7DO0L-s#6ZJ%YRRL8%6;K6!S%FHJkxH0#oJ_l`&Q!u2*ahd{%uyH{ zW6Z^`0eN|F2|~wVjCqaU+I>>}?Y0rs-%b7d&@UZ<2XN;ojEym3meaZ+zXV1dr_>s` z|2fb+3+BKoSaB4_#u&44#gWJH!v)~@;muJP8)MY*gS|dfpI`R0XZ=_G-PPac{?qH{ zSNwVA<1yN{x8pa&?)CVYV~VJ6)%BBf`&WH_rK|5(^;h**{lBUs-OhKaKVGk&*TxGT zzrXNtyrVIz0;+&2U{isxwu$^SeP-|@B2P>Qex7#n@9N(**WD@ZUi0~#Rsa@2<2x;U z%cYwt;F7XS4s+_W!@zKi^StOlW2NX`VxxssewlKz%)-^|vaLi(^W~^UZO$^X6PU zG&^PphS+Mv`XhYjEa058McX$VBr1d9J{k7QiYOceOYsqyE@SjGc RiWw~P%rW - - - diff --git a/packages/web/src/layouts/Layout.astro b/packages/web/src/layouts/Layout.astro new file mode 100644 index 00000000..a56280ad --- /dev/null +++ b/packages/web/src/layouts/Layout.astro @@ -0,0 +1,41 @@ +--- +import "@fontsource/geist-sans/400.css"; +import "@fontsource/geist-sans/500.css"; +import "@fontsource/geist-sans/600.css"; +import "@fontsource/geist-sans/700.css"; +import "@fontsource/geist-sans/800.css"; +import "@fontsource/geist-sans/900.css"; +--- + + + + + + + + Nestri + + + + + + + diff --git a/packages/web/src/pages/index.astro b/packages/web/src/pages/index.astro index 2d141073..66e0ffb8 100644 --- a/packages/web/src/pages/index.astro +++ b/packages/web/src/pages/index.astro @@ -1,16 +1,13 @@ --- +import Layout from "../layouts/Layout.astro"; +import "@fontsource/geist-sans/400.css"; +import "@fontsource/geist-sans/500.css"; +import "@fontsource/geist-sans/600.css"; +import "@fontsource/geist-sans/700.css"; +import "@fontsource/geist-sans/800.css"; +import "@fontsource/geist-sans/900.css"; +--- ---- - - - - - - - - Astro - - -

Astro

- - + +Nestri +