refactor: update title in index.html and replace SVG with link in SiF.svelte; remove Themer.svelte

This commit is contained in:
2026-08-26 13:07:20 +05:30
parent 770f2fcb95
commit bcaaaab155
4 changed files with 23 additions and 37 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/sif.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>flaressh</title>
<title>SilicoFlare SSH</title>
</head>
<body>
<div id="app"></div>
-2
View File
@@ -1,9 +1,7 @@
<script>
import SiF from "./SiF.svelte";
import Themer from "./Themer.svelte";
</script>
<div class="w-full absolute top-0 flex items-center justify-between p-7 px-10">
<SiF factor={7} />
<Themer />
</div>
+3 -1
View File
@@ -1,7 +1,8 @@
<script lang="ts">
let { factor = 4 } : { factor: number } = $props()
let { factor = 4 }: { factor: number } = $props();
</script>
<a href="https://silicoflare.dev" target="_blank" title="SilicoFlare">
<svg
id="svg"
xmlns="http://www.w3.org/2000/svg"
@@ -21,3 +22,4 @@
></path>
</g>
</svg>
</a>
-14
View File
@@ -1,14 +0,0 @@
<script lang="ts">
import { SunIcon, MoonIcon } from '@lucide/svelte'
</script>
<label class="swap swap-rotate">
<!-- this hidden checkbox controls the state -->
<input type="checkbox" class="theme-controller" value="light" />
<!-- sun icon -->
<SunIcon class="swap-on h-5 w-5" />
<!-- moon icon -->
<MoonIcon class="swap-off h-5 w-5" />
</label>