File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script >
2+ import { icons } from " @iconify-json/simple-icons/icons.json" ;
3+ import { height } from " @iconify-json/simple-icons/info.json" ;
4+
25 let { icon, class: classes, ... rest } = $props ();
36 </script >
47
5- <span class ="bi bi- {icon } {classes }" {...rest }></span >
8+ <svg
9+ xmlns =" http://www.w3.org/2000/svg"
10+ width ={height }
11+ {height }
12+ fill =" currentColor"
13+ viewBox ="0 0 {height } {height }"
14+ class ={classes }
15+ {...rest }>{@html icons [icon ]?.body ?? " " }</svg >
Original file line number Diff line number Diff line change 55 const pages = [
66 {
77 name: " Blog" ,
8- icon: " book-half " ,
8+ icon: " bookstack " ,
99 url: " /blogs" ,
1010 },
1111 ];
2727 <ul class =" flex flex-row gap-4" >
2828 {#each menu as { name, icon, url } (url )}
2929 <li >
30- <a href ={url } title ={name } class =" hover:text-neutral-300" >
30+ <a href ={url } title ={name } class =" flex gap-2 hover:text-neutral-300" >
3131 <Icon {icon } />
3232 <span class ="hidden md:inline" >{name }</span >
3333 </a >
Original file line number Diff line number Diff line change 5959 <p class =" **:inline" >
6060 Halo, saya <b >Hyper-Z11</b >. Seorang programmer pemula. Nama asli saya adalah
6161 <b >Firjatullah Zeroun</b >. Saya dari
62- <a href =" https://id.wikipedia.org/wiki/Indonesia" ><b ><Icon icon =" pin-map " class =" mx-1 " />Indonesia</b ></a >. Saya
62+ <a href =" https://id.wikipedia.org/wiki/Indonesia" ><b ><Icon icon =" googlemaps " class =" h-5 " />Indonesia</b ></a >. Saya
6363 suka koding sebagai hobi saya dan berkontribusi ke proyek sumber terbuka jika saya mau. Anda mungkin tidak akan
6464 menemukan banyak hal disini. Jadi terima kasih sudah berkunjung. Dan jika anda mau, mungkin anda bisa mengunjungi
6565 <a href =" /blogs" >kumpulan blog saya</a >.
Original file line number Diff line number Diff line change 2929 },
3030 {
3131 "name" : " JSON" ,
32- "icon" : " braces " ,
32+ "icon" : " json " ,
3333 "color" : " orange"
3434 },
3535 {
3939 },
4040 {
4141 "name" : " HTML" ,
42- "icon" : " code-slash " ,
42+ "icon" : " html5 " ,
4343 "color" : " orange"
4444 },
4545 {
5656 },
5757 {
5858 "name" : " Node.js" ,
59- "icon" : " app " ,
59+ "icon" : " nodedotjs " ,
6060 "color" : " green"
6161 },
6262 {
6363 "name" : " Vite" ,
64- "icon" : " lightning " ,
64+ "icon" : " vite " ,
6565 "color" : " darkviolet"
6666 },
6767 {
6868 "name" : " NPM" ,
69- "icon" : " app " ,
69+ "icon" : " npm " ,
7070 "color" : " red"
7171 },
7272 {
7373 "name" : " PNPM" ,
74- "icon" : " app " ,
74+ "icon" : " pnpm " ,
7575 "color" : " yellow"
7676 }
7777 ]
Original file line number Diff line number Diff line change 11@import "tailwindcss" ;
2- @import "bootstrap-icons/font/bootstrap-icons.css" ;
32
43@keyframes down {
54 from {
Original file line number Diff line number Diff line change @@ -4,4 +4,7 @@ import tailwindcss from "@tailwindcss/vite";
44
55export default defineConfig ( {
66 plugins : [ sveltekit ( ) , tailwindcss ( ) ] ,
7+ json : {
8+ namedExports : true ,
9+ } ,
710} ) ;
You can’t perform that action at this time.
0 commit comments