refactor: update title in index.html and replace SVG with link in SiF.svelte; remove Themer.svelte
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/sif.svg" />
|
<link rel="icon" type="image/svg+xml" href="/sif.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>flaressh</title>
|
<title>SilicoFlare SSH</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import SiF from "./SiF.svelte";
|
import SiF from "./SiF.svelte";
|
||||||
import Themer from "./Themer.svelte";
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="w-full absolute top-0 flex items-center justify-between p-7 px-10">
|
<div class="w-full absolute top-0 flex items-center justify-between p-7 px-10">
|
||||||
<SiF factor={7} />
|
<SiF factor={7} />
|
||||||
<Themer />
|
|
||||||
</div>
|
</div>
|
||||||
+8
-6
@@ -1,16 +1,17 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
let { factor = 4 } : { factor: number } = $props()
|
let { factor = 4 }: { factor: number } = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svg
|
<a href="https://silicoflare.dev" target="_blank" title="SilicoFlare">
|
||||||
|
<svg
|
||||||
id="svg"
|
id="svg"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
// xmlns:xlink="http://www.w3.org/1999/xlink"
|
// xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
width={400/factor}
|
width={400 / factor}
|
||||||
height={219.35483870967744/factor}
|
height={219.35483870967744 / factor}
|
||||||
viewBox="0, 0, 400,219.35483870967744"
|
viewBox="0, 0, 400,219.35483870967744"
|
||||||
class="text-foreground"
|
class="text-foreground"
|
||||||
>
|
>
|
||||||
<g id="svgg">
|
<g id="svgg">
|
||||||
<path
|
<path
|
||||||
id="path0"
|
id="path0"
|
||||||
@@ -20,4 +21,5 @@
|
|||||||
// fill-rule="evenodd"
|
// fill-rule="evenodd"
|
||||||
></path>
|
></path>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
|
</a>
|
||||||
|
|||||||
@@ -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>
|
|
||||||
Reference in New Issue
Block a user