Skip to content

Commit 211f97b

Browse files
committed
feat: use embed
1 parent e9b4a98 commit 211f97b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/routes/+page.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import { RV_API_URL } from '$env/static/public';
77
88
import Footer from '$components/organisms/Footer.svelte';
9+
import Embed from '$components/molecules/Embed.svelte';
910
1011
const { data: about } = useSWR<BackendAbout>(`${RV_API_URL}/v4/about`);
1112
let referrer: string | null = $state(null);
@@ -19,6 +20,13 @@
1920
<title>ReVanced - Counterfeit notice</title>
2021
</svelte:head>
2122

23+
<Embed
24+
title="ReVanced - Counterfeit notice"
25+
description="You may be a victim of ReVanced counterfeit. Learn more about it here."
26+
websiteUrl="https://revanced.app"
27+
image="https://revanced.app/logo.png"
28+
/>
29+
2230
<main>
2331
<div id="content">
2432
<section class="hero">

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ import { defineConfig } from 'vite';
33
import Icons from 'unplugin-icons/vite';
44

55
export default defineConfig({
6-
plugins: [sveltekit(), Icons({ compiler: 'svelte' })]
6+
plugins: [sveltekit(), Icons({ compiler: 'svelte' })],
7+
server: { allowedHosts: true }
78
});

0 commit comments

Comments
 (0)