File tree Expand file tree Collapse file tree 6 files changed +10
-15
lines changed
Expand file tree Collapse file tree 6 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 66 %sveltekit.head%
77 </ head >
88 < body data-sveltekit-preload-data ="hover ">
9- < div class ="flex h-dvh flex-col ">
10- %sveltekit.body%
11- </ div >
9+ < div class ="flex h-dvh flex-col "> %sveltekit.body%</ div >
1210 </ body >
1311</ html >
Original file line number Diff line number Diff line change 22 let { text } = $props ();
33 </script >
44
5- <footer class =" p-4 bg-neutral-900 text-white" >
5+ <footer class =" bg-neutral-900 p-4 text-white" >
66 <p class ="text-xs" >{text }</p >
77</footer >
Original file line number Diff line number Diff line change 88 const toggle = (state ) => () => (opened = state);
99 </script >
1010
11- <nav class =" fixed top-0 left-0 flex w-dvw items-center justify-between p-4 bg-neutral-900 text-white" >
11+ <nav class =" fixed top-0 left-0 flex w-dvw items-center justify-between bg-neutral-900 p-4 text-white" >
1212 <a class =" font-black" href =" /" >Hyper-Z11</a >
1313 <button class ="flex md:hidden" onclick ={toggle (true )}><Icon icon =" three-dots-vertical" class =" h-5 w-5" /></button >
1414 <ul class =" hidden flex-row gap-4 md:flex" >
3030 out:fade ></button >
3131
3232 <ul
33- class =" fixed top-0 right-0 z-100 flex h-dvh flex-col gap-4 bg-neutral-900 text-white w-35 p-5"
33+ class =" fixed top-0 right-0 z-100 flex h-dvh w-35 flex-col gap-4 bg-neutral-900 p-5 text-white "
3434 in:slide ={{ axis : " x" }}
3535 out:slide ={{ axis : " x" }}>
3636 <li class =" flex items-center justify-between" >
Original file line number Diff line number Diff line change 2525
2626<Navbar menu ={navbarMenu } />
2727
28- <main class =" grow p-3 pt-16 bg-neutral-800 text-white" >
28+ <main class =" grow bg-neutral-800 p-3 pt-16 text-white" >
2929 <div class =" container mx-auto" >
3030 {@render children ()}
3131 </div >
Original file line number Diff line number Diff line change 33 import Head from " $components/Head.svelte" ;
44 import projects from " ./projects.json" ;
55
6- const bornYear = 2011 ;
7- let yearsOld = $state (new Date ().getFullYear () - bornYear);
8-
96 const profiles = [
107 {
118 name: " GitHub" ,
2825<div class =" flex flex-col gap-2 md:flex-row" >
2926 <div >
3027 <img class =" mx-auto max-h-fit max-w-3xs rounded border-4 border-neutral-600" src =" /favicon.png" alt =" Profile" />
31- <ul class =" flex my-2 flex-row gap-2 mx-auto w-fit flex-wrap-reverse justify-center" >
28+ <ul class =" mx-auto my-2 flex w-fit flex-row flex- wrap-reverse justify-center gap-2 " >
3229 {#each profiles as { name, icon, url } (url )}
3330 <li ><a href ={url } class ="flex items-center gap-1" ><Icon {icon } />{name }</a ></li >
3431 {/each }
3835 <section id =" about" >
3936 <h2 >About</h2 >
4037 <p class =" **:inline" >
41- Hello, i'm <b >Hyper-Z11</b > (he/him). The { yearsOld } years old beginner programmer. My real name is
38+ Hello, i'm <b >Hyper-Z11</b > (he/him). The beginner programmer. My real name is
4239 <b >Firjatullah Zeroun</b >. I'm from
43- <a href =" https://en.wikipedia.org/wiki/Indonesia" ><b ><Icon icon =" pin-map" class =" mx-1" />Indonesia</b ></a >. I like coding as my
44- hobby and contributing to open source projects if i want.
40+ <a href =" https://en.wikipedia.org/wiki/Indonesia" ><b ><Icon icon =" pin-map" class =" mx-1" />Indonesia</b ></a >. I like
41+ coding as my hobby and contributing to open source projects if i want.
4542 </p >
4643 </section >
4744
Original file line number Diff line number Diff line change 2020 <div class =" py-2" >
2121 <h3 class ="text-3xl font-extrabold" >{title }</h3 >
2222 <p class ="my-1 text-sm text-gray-400" >{formatDate (date )}</p >
23- <p class ="my-2 text-md" >{description }</p >
23+ <p class ="text-md my-2 " >{description }</p >
2424 <a class ="text-blue-500 hover:text-blue-400" href ="/blogs/ {slug }" >Read more</a >
2525 </div >
2626 {/each }
You can’t perform that action at this time.
0 commit comments