From 8854b1dcf987d702a2cebf07d0abd9825866762a Mon Sep 17 00:00:00 2001 From: Neshura Date: Sat, 6 Jan 2024 09:49:24 +0100 Subject: [PATCH] Add content to Home Page --- package.json | 2 +- src/lib/components/ui/separator/index.ts | 7 ++++ .../components/ui/separator/separator.svelte | 22 ++++++++++++ src/routes/+page.svelte | 35 +++++++++++++++++-- yarn.lock | 8 ++--- 5 files changed, 67 insertions(+), 7 deletions(-) create mode 100644 src/lib/components/ui/separator/index.ts create mode 100644 src/lib/components/ui/separator/separator.svelte diff --git a/package.json b/package.json index 149a6bb..1d9a4a0 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ }, "type": "module", "dependencies": { - "bits-ui": "^0.13.0", + "bits-ui": "^0.13.2", "clsx": "^2.1.0", "radix-icons-svelte": "^1.2.1", "socket.io": "^4.7.2", diff --git a/src/lib/components/ui/separator/index.ts b/src/lib/components/ui/separator/index.ts new file mode 100644 index 0000000..dbfb139 --- /dev/null +++ b/src/lib/components/ui/separator/index.ts @@ -0,0 +1,7 @@ +import Root from "./separator.svelte"; + +export { + Root, + // + Root as Separator +}; diff --git a/src/lib/components/ui/separator/separator.svelte b/src/lib/components/ui/separator/separator.svelte new file mode 100644 index 0000000..bf9127a --- /dev/null +++ b/src/lib/components/ui/separator/separator.svelte @@ -0,0 +1,22 @@ + + + diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2b9f176..5593da6 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,8 +1,39 @@ + + Home -
-

Home Page

+
+
+
+

Home Page

+

I'm not sure what to put here quite yet, maybe I'll think of something eventually. In the meantime I've linked some of my accounts in the sidebar to the right

+
+ +
+
+

Fediverse Accounts

+ + + Mastodon + + + + Lemmy + + + + PeerTube + + + +

Subsection

+ +

Link 4

+
diff --git a/yarn.lock b/yarn.lock index a9a3de8..4db2b60 100644 --- a/yarn.lock +++ b/yarn.lock @@ -702,10 +702,10 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -bits-ui@^0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/bits-ui/-/bits-ui-0.13.0.tgz#dff61c8b4a95b1f589105444da74396bdc6702e7" - integrity sha512-XMvGKhJQMvSWqaan0eaIx1uAVcFBpImgO6xf+XTb7UhqdzbH0//6be4DeR1nRUpIU70XoU1B7i3lMPrTWg37ng== +bits-ui@^0.13.2: + version "0.13.2" + resolved "https://registry.yarnpkg.com/bits-ui/-/bits-ui-0.13.2.tgz#caf47bfed774c7f28600b1d41ac69db0509ec347" + integrity sha512-hSxj/BDazR49j2QkgsAnWjHsWdG6OvprCF0IagQm4mDf1pwiunXXJMnSciNxocvaZ/HAkKQRf8R6orwDPO/HYg== dependencies: "@internationalized/date" "^3.5.1" "@melt-ui/svelte" "0.67.0"