From bb76d1dcf3203cd518de8fc2ee7d86224af83b97 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Sun, 2 Jul 2023 19:22:46 +0100 Subject: [PATCH] add background --- config.json | 9 +++++++++ src/app/page.tsx | 24 +++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index 9427f90..0f0494e 100644 --- a/config.json +++ b/config.json @@ -2,6 +2,15 @@ "name": "Your Name", "description": "A description about yourself", "avatar": "https://cdn.fascinated.cc/KWprz2.jpg", + "background": { + "showBackground": true, + "blur": true, + "darken": { + "enabled": true, + "amount": 0.7 + }, + "backgroundImage": "https://cdn.fascinated.cc/8twdW8.jpg" + }, "metadata": { "title": "Your Name", "description": "website description" diff --git a/src/app/page.tsx b/src/app/page.tsx index b3a26b7..9004e9b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -4,7 +4,29 @@ import Config from "../../config.json"; export default function Home() { return (
-
+
+