From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_DBL_BLOCKED_OPENDNS, URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1737247206; bh=5T3LKwyF436kB7LtdLeeZ/zgc5rpr55cO4oTEoHz9L8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Message-ID:Date:From: Reply-To:Subject:To:Cc:In-Reply-To:References:Resent-Date: Resent-From:Resent-To:Resent-Cc:User-Agent:Content-Type: Content-Transfer-Encoding; b=XtaCazcQbJVZziLCZfP/EgU6STF8lHnkR9AKPrMLVpsImfibsYQ7JR5K28YdyrGs0 nl5JN5sW6Cp49ECDBA65aL2e2fT88zxHqIzJu4JLC1U8naind95+lh4qgBG+Z2qHAm 4s3z7/036vy4j1Bsxz+SPptS4ovKZlrlAoi98XGSAdLKZKCQhzmgJBiukCY9ETPpu6 letBomY3Y3dRGP3r+NdRFuVMd2LQLLKbHSqp714mK2hZDSlTDSW4QAi+7ZXLAglmy6 +TgqVJCXpmXKSUXIIKM9xI21QtBQlBL6h6xYUcYUSR/4l6YkKafIdhdQNMddnv9+mp b5mjqOcEbhlgA== Received: from localhost.localdomain (unknown [101.128.125.239]) by server-vie001.gnuweeb.org (Postfix) with ESMTPSA id 53E612061C2A; Sun, 19 Jan 2025 00:40:05 +0000 (UTC) From: Muhammad Rizki To: Ammar Faizi Cc: Kiizuha Kanazawa , Alviro Iskandar Setiawan , Dwiky Rizky Ananditya , GNU/Weeb Mailing List Subject: [PATCH v1 10/16] feat(components): add app-sidebar component Date: Sun, 19 Jan 2025 07:39:03 +0700 Message-ID: <20250119003911.1183-11-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.45.2.windows.1 In-Reply-To: <20250119003911.1183-1-kiizuha@gnuweeb.org> References: <20250119003911.1183-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Kiizuha Kanazawa this component will dispaly its sidebar like menu navigations. Signed-off-by: Kiizuha Kanazawa --- src/lib/components/customs/app-sidebar.svelte | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 src/lib/components/customs/app-sidebar.svelte diff --git a/src/lib/components/customs/app-sidebar.svelte b/src/lib/components/customs/app-sidebar.svelte new file mode 100644 index 0000000..9291b94 --- /dev/null +++ b/src/lib/components/customs/app-sidebar.svelte @@ -0,0 +1,74 @@ + + + + + + + + + sidebar.toggle()} size="lg"> +
+ +
+
+ {auth.user?.full_name} + @{auth.user?.username} +
+
+
+
+
+ + + + {#each navigations as item (item.name)} + + + {#snippet child({ props })} + + + {item.name} + + {/snippet} + + + {/each} + + +
+
+ + + + + +
-- Muhammad Rizki