From ecffc6e8a94217963ac5163d685d864fc20db1c2 Mon Sep 17 00:00:00 2001 From: Michael_Estrada <98861990+BryanEstrada003@users.noreply.github.com> Date: Mon, 5 Aug 2024 11:57:08 -0500 Subject: [PATCH] Add Navbar (#44) * Create component nav * Components * Corrections about styles in nav * Refactor --------- Co-authored-by: Adrian Delgado --- src/lib/assets/images/logo.png | Bin 0 -> 2801 bytes src/routes/+layout.svelte | 4 +++- src/routes/components/Navbar.svelte | 34 ++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/lib/assets/images/logo.png create mode 100644 src/routes/components/Navbar.svelte diff --git a/src/lib/assets/images/logo.png b/src/lib/assets/images/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..f2d6d4f7ffc553427d8fe802278652bfded23306 GIT binary patch literal 2801 zcmVMQvf<7DLG6CW;0l_l}qfHytbQ=AX6;(GO#8V;SG6DFC6!Cl$ z?N+$`ADk$mjn@gxzV-n6ruWZw_2Ry^%q7^E&OhAs#ILEHPyaIgfj1J;h&1L?0X`h zY~df?p-aZJpML~I$HM=uGP`R}w0VncUc94%z9WJSZ~cjIEqB%tEMb{Tz&Av&Ty!S@ z^0c{1hkqVn$eL>e`sxJnJruGGZH}V5lOO@}kAT2`7s8OWcMYA+ie`caDnuBv)_d2R zPZaRqBLR?Q&17do0~H|5Yc>NO8t5B@d0BJ#lz;}>qk?AGk*Lsr(Pn#A8#6Y5R>gA< z01Z^oLj`g*#e)AK2t#{Knb1Io_fTl9DG~gSO8{hPN`wtSta#o5pn(oW82%M9fCf4~ z0c%6qEQASqd;%<2=_F*7usRCiz2Y&#%Mrnd9%^~2C+Q^5i}4BAD<4D2G0)G%NQBqQ zm!I{ZZO$SPB0N)gYZ-Z^^N0kjXYd(-$<6O7hbF+1_i&NwVur;Ll;k_$L(=@!+?(Pr}!ZF+$!DSwwT38C04nOirTf^{@gmy3t zkdXjO{kthF1qflAgJdw=3UaLci4Rh6*X>#-p$3?k4iMlYC@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V!@p$rxWji4%swU&0DxbT zBye0ua2>o8Q0v9N>{$pL=L6~pt88!pOW(=Bao!tdEV5ez07)K(!0~`2*nVS<@ce)S zT&ln^V1Anb%n>fpOg~IjVhoPO5%5LsJs)B@p)!ndRSpu^%eAO6(vwlsIZA2$W%ri$H($O#tyIe&9Tu6F*dh zF*v@ync@%t;cjSf*mt5(3C6fg_8?9`m!d!QWkzsJLB(rr00000NkvXXu0mjf D&rLBO literal 0 HcmV?d00001 diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 854e88d..5f88a65 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -2,7 +2,7 @@ import "../app.postcss"; import { Toaster } from "svelte-sonner"; import { page } from "$app/stores"; - + import Navbar from "./components/Navbar.svelte"; let { children } = $props(); @@ -11,5 +11,7 @@ + + {@render children()} diff --git a/src/routes/components/Navbar.svelte b/src/routes/components/Navbar.svelte new file mode 100644 index 0000000..042367a --- /dev/null +++ b/src/routes/components/Navbar.svelte @@ -0,0 +1,34 @@ + + +