Skip to content

Commit 0d4b231

Browse files
committed
Revert "add error page & update homepage"
This reverts commit a43ab65.
1 parent 2c41521 commit 0d4b231

File tree

4 files changed

+4
-28
lines changed

4 files changed

+4
-28
lines changed

src/components/head.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
<meta property="og:title" content={title} />
2020
<meta property="og:type" content={type} />
21-
{#if url !== false}
22-
<meta property="og:url" content={ogUrl} />
23-
{/if}
21+
<meta property="og:url" content={ogUrl} />
2422
<meta
2523
property="og:image"
2624
content="https://www.gravatar.com/avatar/14ef2f372719714e6084be2efb400f069316e03aa62c87a28e17f92544a547e0?s=200" />

src/routes/+error.svelte

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/routes/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
<Head {config} />
1515
</svelte:head>
1616

17-
<h2 class="text-xl font-extrabold text-center">Welcome to My Homepage 🎉</h2>
18-
<img class="w-1/2 md:w-1/4 mx-auto" src="/memes/meme-1.png" alt="Salam akal sehat" />
17+
<h2 class="text-xl font-extrabold">Welcome to My Homepage 🎉</h2>
18+
<img src="/memes/meme-1.png" alt="Salam akal sehat" />

svelte.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const config = {
2020
kit: {
2121
adapter: adapter({
2222
pages: "dist",
23+
precompress: false,
2324
strict: true,
2425
}),
2526
alias: {

0 commit comments

Comments
 (0)