mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
fix: update footer imports
This commit is contained in:
parent
889e1b543d
commit
897d27ebe1
@ -3,7 +3,7 @@
|
||||
import { quintOut } from 'svelte/easing';
|
||||
|
||||
import ContributorHost from './ContributorSection.svelte';
|
||||
import Footer from '$layout/Footer.svelte';
|
||||
import Footer from '$layout/Footer/FooterHost.svelte';
|
||||
import Meta from '$lib/components/Meta.svelte';
|
||||
import Query from '$lib/components/Query.svelte';
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
import type { LayoutData } from './$types';
|
||||
|
||||
import DocsNavTree from './DocsNavTree.svelte';
|
||||
import Footer from '$layout/Footer.svelte';
|
||||
import Footer from '$layout/Footer/FooterHost.svelte';
|
||||
|
||||
export let data: LayoutData;
|
||||
</script>
|
||||
|
@ -10,7 +10,7 @@
|
||||
import Meta from '$lib/components/Meta.svelte';
|
||||
import Query from '$lib/components/Query.svelte';
|
||||
import Button from '$lib/components/Button.svelte';
|
||||
import Footer from '$layout/Footer.svelte';
|
||||
import Footer from '$layout/Footer/FooterHost.svelte';
|
||||
import Picture from '$lib/components/Picture.svelte';
|
||||
import Dialogue from '$lib/components/Dialogue.svelte';
|
||||
import { onMount } from 'svelte';
|
||||
|
@ -13,7 +13,7 @@
|
||||
import PackageMenu from '../PackageMenu.svelte';
|
||||
import Package from '../Package.svelte';
|
||||
import PatchItem from '../PatchItem.svelte';
|
||||
import Footer from '$layout/Footer.svelte';
|
||||
import Footer from '$layout/Footer/FooterHost.svelte';
|
||||
import Search from '$lib/components/Search.svelte';
|
||||
import FilterChip from '$lib/components/FilterChip.svelte';
|
||||
import Dialogue from '$lib/components/Dialogue.svelte';
|
||||
@ -80,7 +80,11 @@
|
||||
.toLowerCase();
|
||||
// Update search URL params
|
||||
// must use history.pushState instead of goto(), as goto() unselects the search bar
|
||||
window.history.pushState(null, '', `${window.location.href.split('?')[0]}${searchTerm ? '?s=' + searchTerm : ''}`)
|
||||
window.history.pushState(
|
||||
null,
|
||||
'',
|
||||
`${window.location.href.split('?')[0]}${searchTerm ? '?s=' + searchTerm : ''}`
|
||||
);
|
||||
}, 500);
|
||||
};
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user