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>
+22 -20
View File
@@ -1,23 +1,25 @@
<script lang="ts">
let { factor = 4 } : { factor: number } = $props()
let { factor = 4 }: { factor: number } = $props();
</script>
<svg
id="svg"
xmlns="http://www.w3.org/2000/svg"
// xmlns:xlink="http://www.w3.org/1999/xlink"
width={400/factor}
height={219.35483870967744/factor}
viewBox="0, 0, 400,219.35483870967744"
class="text-foreground"
>
<g id="svgg">
<path
id="path0"
d="M12.903 70.968 L 12.903 129.032 70.968 129.032 L 129.032 129.032 129.032 148.387 L 129.032 167.742 70.968 167.742 L 12.903 167.742 12.903 187.097 L 12.903 206.452 90.323 206.452 L 167.742 206.452 167.742 148.387 L 167.742 90.323 109.677 90.323 L 51.613 90.323 51.613 70.968 L 51.613 51.613 109.677 51.613 L 167.742 51.613 167.742 32.258 L 167.742 12.903 90.323 12.903 L 12.903 12.903 12.903 70.968 M232.258 109.677 L 232.258 206.452 251.613 206.452 L 270.968 206.452 270.968 167.742 L 270.968 129.032 329.032 129.032 L 387.097 129.032 387.097 109.677 L 387.097 90.323 329.032 90.323 L 270.968 90.323 270.968 70.968 L 270.968 51.613 329.032 51.613 L 387.097 51.613 387.097 32.258 L 387.097 12.903 309.677 12.903 L 232.258 12.903 232.258 109.677 M180.645 58.065 L 180.645 77.419 200.000 77.419 L 219.355 77.419 219.355 58.065 L 219.355 38.710 200.000 38.710 L 180.645 38.710 180.645 58.065 M180.645 148.387 L 180.645 206.452 200.000 206.452 L 219.355 206.452 219.355 148.387 L 219.355 90.323 200.000 90.323 L 180.645 90.323 180.645 148.387 "
stroke="none"
fill="currentColor"
// fill-rule="evenodd"
></path>
</g>
</svg>
<a href="https://silicoflare.dev" target="_blank" title="SilicoFlare">
<svg
id="svg"
xmlns="http://www.w3.org/2000/svg"
// xmlns:xlink="http://www.w3.org/1999/xlink"
width={400 / factor}
height={219.35483870967744 / factor}
viewBox="0, 0, 400,219.35483870967744"
class="text-foreground"
>
<g id="svgg">
<path
id="path0"
d="M12.903 70.968 L 12.903 129.032 70.968 129.032 L 129.032 129.032 129.032 148.387 L 129.032 167.742 70.968 167.742 L 12.903 167.742 12.903 187.097 L 12.903 206.452 90.323 206.452 L 167.742 206.452 167.742 148.387 L 167.742 90.323 109.677 90.323 L 51.613 90.323 51.613 70.968 L 51.613 51.613 109.677 51.613 L 167.742 51.613 167.742 32.258 L 167.742 12.903 90.323 12.903 L 12.903 12.903 12.903 70.968 M232.258 109.677 L 232.258 206.452 251.613 206.452 L 270.968 206.452 270.968 167.742 L 270.968 129.032 329.032 129.032 L 387.097 129.032 387.097 109.677 L 387.097 90.323 329.032 90.323 L 270.968 90.323 270.968 70.968 L 270.968 51.613 329.032 51.613 L 387.097 51.613 387.097 32.258 L 387.097 12.903 309.677 12.903 L 232.258 12.903 232.258 109.677 M180.645 58.065 L 180.645 77.419 200.000 77.419 L 219.355 77.419 219.355 58.065 L 219.355 38.710 200.000 38.710 L 180.645 38.710 180.645 58.065 M180.645 148.387 L 180.645 206.452 200.000 206.452 L 219.355 206.452 219.355 148.387 L 219.355 90.323 200.000 90.323 L 180.645 90.323 180.645 148.387 "
stroke="none"
fill="currentColor"
// fill-rule="evenodd"
></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>