Skip to content

Commit

Permalink
fix: font path
Browse files Browse the repository at this point in the history
  • Loading branch information
chayapatr committed Jun 14, 2022
1 parent 2ca877c commit 909af25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion public/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ html, body {

@font-face{
font-family: 'XKCD';
src: url('/fonts/xkcd.ttf') format('truetype');
src: url('/6/fonts/xkcd.ttf') format('truetype');
}

body {
Expand Down
8 changes: 1 addition & 7 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
</script>

<main class="flex flex-col items-center justify-center mt-4 sm:mt-10">

<header class="mb-8 flex flex-col items-center justify-center">

<img src="images/banner.webp" alt="THE ៦th STUPID HACKATHON THAILAND"/>
<img src="images/banner.webp" alt="THE ៦th STUPID HACKATHON THAILAND" class="max-w-[100vw] max-h-[100vh]"/>

<article class="mt-6 text-lg">
<a href="https://facebook.com/stupidhackth" class="px-2">Facebook</a>
Expand Down Expand Up @@ -40,11 +39,6 @@
@tailwind components;
@tailwind utilities;
img {
max-height: 60vh;
max-width: 95%;
}
.links {
display: flex;
gap: 2rem;
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Gallary.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
export let data
</script>

<div class="@apply grid w-[90vw] grid-cols-2 border border-black bg-white sm:w-[28rem]">
<div class="grid w-[90vw] grid-cols-2 border border-black bg-white sm:w-[28rem]">
{#each data as type}
<a class="grid aspect-square items-center justify-center bg-white text-center text-black hover:brightness-95 border border-black"
href={type.href || "https://facebook.com/stupidhackth"}
href={type.href || "/"}
>
<div>
{#if type.imgSrc}
Expand Down

0 comments on commit 909af25

Please sign in to comment.