web search done right
add 'http' protocol to site links in /explore
Mikkel Denker87a54eb20a29
diff --git a/frontend/src/lib/components/Site.svelte b/frontend/src/lib/components/Site.svelteindex 99839708..9069e8f0 100644--- a/frontend/src/lib/components/Site.svelte+++ b/frontend/src/lib/components/Site.svelte@@ -10,6 +10,7 @@<span class="group flex overflow-hidden rounded-lg bg-brand-500 transition dark:bg-brand-800"><a{href}+ target="_blank"class={twMerge('bg-brand-500 py-2','text-white',diff --git a/frontend/src/routes/explore/+page.svelte b/frontend/src/routes/explore/+page.svelteindex 32a92373..c4c92dd7 100644--- a/frontend/src/routes/explore/+page.svelte+++ b/frontend/src/routes/explore/+page.svelte@@ -95,7 +95,7 @@{#each chosenSites as site (site)}<div transition:slide={{ duration: 100 }} animate:flip={{ duration: 200 }}><Site- href={site}+ href="http://{site}"on:delete={() => (chosenSites = chosenSites.filter((s) => s != site))}>{site}@@ -150,7 +150,7 @@</div><span>{site.score.toFixed(2)}</span><div class="flex">- <a href={site.site} class="underline">{site.site}</a>+ <a href="http://{site.site}" target="_blank" class="underline">{site.site}</a></div></div>{/each}diff --git a/frontend/src/routes/settings/sites/+page.svelte b/frontend/src/routes/settings/sites/+page.svelteindex 5da4873b..3e0628bb 100644--- a/frontend/src/routes/settings/sites/+page.svelte+++ b/frontend/src/routes/settings/sites/+page.svelte@@ -60,7 +60,7 @@<div class="flex flex-wrap gap-x-5 gap-y-3" id="sites-list">{#each $ranked[section] as site (site)}<div animate:flip={{ duration: 150 }}>- <Site href="https://{site}" on:delete={unrankSite(site)}>+ <Site href="http://{site}" on:delete={unrankSite(site)}>{site}</Site></div>