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" />
|
||||
<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>
|
||||
|
||||
@@ -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
@@ -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>
|
||||
|
||||
@@ -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