From ea295d58a4643835939223d9c0d7f7fea4a66f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sat, 7 Mar 2026 18:54:40 +0100 Subject: [PATCH] initialize website MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/website/.gitignore | 3 + packages/website/astro.config.mjs | 28 + packages/website/package.json | 20 + packages/website/public/favicon.ico | Bin 0 -> 67646 bytes packages/website/public/favicon.svg | 9 + packages/website/src/components/Footer.astro | 18 + packages/website/src/components/Header.astro | 15 + packages/website/src/pages/index.astro | 72 + packages/website/tsconfig.json | 8 + pnpm-lock.yaml | 2942 +++++++++++++++++- 10 files changed, 3113 insertions(+), 2 deletions(-) create mode 100644 packages/website/.gitignore create mode 100644 packages/website/astro.config.mjs create mode 100644 packages/website/package.json create mode 100644 packages/website/public/favicon.ico create mode 100644 packages/website/public/favicon.svg create mode 100644 packages/website/src/components/Footer.astro create mode 100644 packages/website/src/components/Header.astro create mode 100644 packages/website/src/pages/index.astro create mode 100644 packages/website/tsconfig.json diff --git a/packages/website/.gitignore b/packages/website/.gitignore new file mode 100644 index 000000000..00d2d91ba --- /dev/null +++ b/packages/website/.gitignore @@ -0,0 +1,3 @@ +dist +.astro +node_modules \ No newline at end of file diff --git a/packages/website/astro.config.mjs b/packages/website/astro.config.mjs new file mode 100644 index 000000000..ff66301be --- /dev/null +++ b/packages/website/astro.config.mjs @@ -0,0 +1,28 @@ +// @ts-check +import mdx from "@astrojs/mdx"; +import sitemap from "@astrojs/sitemap"; +import { defineConfig } from "astro/config"; +import rehypeExternalLinks from "rehype-external-links"; + +export default defineConfig({ + site: "https://nicolium.app/", + integrations: [ + mdx({ + rehypePlugins: [ + [ + rehypeExternalLinks, + { target: "_blank", rel: ["noopener", "noreferrer"] }, + ], + ], + }), + sitemap(), + ], + markdown: { + rehypePlugins: [ + [ + rehypeExternalLinks, + { target: "_blank", rel: ["noopener", "noreferrer"] }, + ], + ], + }, +}); diff --git a/packages/website/package.json b/packages/website/package.json new file mode 100644 index 000000000..9e6caccb4 --- /dev/null +++ b/packages/website/package.json @@ -0,0 +1,20 @@ +{ + "name": "website", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "build": "astro build", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/mdx": "^4.3.13", + "@astrojs/rss": "^4.0.15", + "@astrojs/sitemap": "^3.7.0", + "@mkljczk/astro-theme": "github:mkljczk/mkljczk-astro-theme", + "astro": "^5.18.0", + "rehype-external-links": "^3.0.0", + "sharp": "^0.34.3" + } +} \ No newline at end of file diff --git a/packages/website/public/favicon.ico b/packages/website/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..92a091d5601a1a1ffd4ded409f90041f95d07132 GIT binary patch literal 67646 zcmeI5TZ|-C8OLiNVNfoE7f=E?sA$j!UN$T{UA4?&5byWkgE1z?Xu=DxJWeOP@T5`U zVFJ4hLtiHIAgmaa2r>wSM_)8iL1|rKcL}h)?5&5XKIQ+b?wYQuuBxu8uBz^y`uAqK z&;5Mo_kHI(RbA)wYT6wBRjV4_Z`5wSbWXcQ)3lrMha^d~(bz?mzm1a##m+|7*A2Jz-tFS+AJiEC-45jneJ+ zJ$euD1&}oqLN)IY!g>`>&<2z%mA+uM?51IK z?-^J3p8C3ay>`(2!fa6}x3mqtdpG9q+a5g*`FQX50a0ZgUvOA|`|@&=ot@FI-Foh0 z@ZV2F={0d4eZlM)Kwr|P-u)5m;8bE=hxiNI7vMXkU)}WTB{K)3qyj&F@Z85?15ajU z19+D7Tve;$R~z}7B?A5Hf_KKU16`e6t8_j!OXH@j0|Md;@GS6XdK>8ebkG_@vq~V1 zFTfh|EdBnhYJ6Dk!}|GaaXt6jc)mcLt}k8q#BeK2nRNo<3vf;MZj>D~D&3#V`Z!0) z->jHl1&e#9eXm@tVt%n{nBN;Uo+SCUFVNLfK{f!t|Hm|bf5R}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+((M_`sxF(h0Qbv#%d)msI?EEQ%3Ev2YFnK} zge-d;TZ`7V)fNeq-ELKcZwUfr_gj@5$V}m$DB(Nt5{2wsK;0^!) literal 0 HcmV?d00001 diff --git a/packages/website/public/favicon.svg b/packages/website/public/favicon.svg new file mode 100644 index 000000000..f086c3800 --- /dev/null +++ b/packages/website/public/favicon.svg @@ -0,0 +1,9 @@ + + + + + + diff --git a/packages/website/src/components/Footer.astro b/packages/website/src/components/Footer.astro new file mode 100644 index 000000000..f67e1e0ee --- /dev/null +++ b/packages/website/src/components/Footer.astro @@ -0,0 +1,18 @@ +--- +import BaseFooter from "@mkljczk/astro-theme/components/Footer.astro"; + +const footerLinks = [ + { + label: "Source code", + href: "https://codeberg.org/mkljczk/nicolium", + target: "_blank", + }, +]; +--- + + diff --git a/packages/website/src/components/Header.astro b/packages/website/src/components/Header.astro new file mode 100644 index 000000000..de0c167f7 --- /dev/null +++ b/packages/website/src/components/Header.astro @@ -0,0 +1,15 @@ +--- +import BaseHeader from "@mkljczk/astro-theme/components/Header.astro"; + +const navItems = [ + { label: "Source code", href: "https://codeberg.org/mkljczk/nicolium", target: "_blank" }, +]; +--- + + diff --git a/packages/website/src/pages/index.astro b/packages/website/src/pages/index.astro new file mode 100644 index 000000000..d9741759f --- /dev/null +++ b/packages/website/src/pages/index.astro @@ -0,0 +1,72 @@ +--- +import BaseHead from "@mkljczk/astro-theme/components/BaseHead.astro"; +import Hero from "@mkljczk/astro-theme/components/Hero.astro"; +import Section from "@mkljczk/astro-theme/components/Section.astro"; +import Footer from "../components/Footer.astro"; +import Header from "../components/Header.astro"; +--- + + + + + + + +
+
+ +
+
+
+
+
+
+
+
+
+
+
+