Update web search

This commit is contained in:
Korbs 2024-10-25 14:53:56 -04:00
parent 2db5a5abab
commit b0a9bffc76

View file

@ -13,7 +13,6 @@ import Answer from "@components/search/Answer.astro";
import RelatedSearches from "@components/search/RelatedSearches.astro";
import WebLink from "@components/search/WebLink.astro";
import WebLinkSkeleton from "@components/search/WebLinkSkeleton.astro";
import { undefined } from "astro:schema";
// Fetch
const QueryString = Astro.url.href.split("web?=").pop() // Get user's search query from URL
@ -52,8 +51,8 @@ console.log(ShowRelated + '' + Query.related[0])
<slot slot="sublinks">
{query.sublink.map((link) =>
<a href={link.url}>
<p style="font-size: 18px; text-decoration: none;">{link.title}</p>
<p style="font-size: 14px;">{link.url}</p>
<p style="font-size: 18px; text-decoration: none; color: inherit !important; transition: 0.8s color;">{link.title}</p>
<p style="font-size: 14px; color: var(--link);">{link.url}</p>
</a>
)}
</slot>