Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Lighthouse optimisations
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniils Petrovs committed Jul 28, 2024
1 parent e6322e5 commit 0d97567
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

@font-face {
font-family: "Britanic";
src: url('lib/assets/BRITANIC.TTF') format("truetype");
src: url('/fonts/BRITANIC.TTF') format("truetype"), local('Optima');
font-display: fallback;
}

body {
/* background-image: url('lib/assets/penlight-bg.jpg'); */
font-family: "Britanic";
font-family: "Britanic", Optima, sans-serif;
/* color: white !important; */

}
}
Binary file modified src/lib/assets/penlight-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/lib/assets/stage_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions src/lib/components/SeatForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import { ChevronDownOutline, EditSolid } from 'flowbite-svelte-icons';
import { fade } from 'svelte/transition';
import StageImage from '$lib/assets/stage_image.png?enhanced';
const sections = Object.keys(sectionPenlightColorMapping);
let activeStep: FormStep = FORM_STEP.SELECT_SEAT;
Expand Down Expand Up @@ -142,5 +140,3 @@
>
</section>
{/if}

<enhanced:img src={StageImage} alt="Penlight Stage Chart 2024" />
12 changes: 10 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script>
import SeatForm from '$lib/components/SeatForm.svelte';
import StageImage from '$lib/assets/stage_image.png?enhanced';
import { MetaTags } from 'svelte-meta-tags';
</script>

Expand All @@ -8,6 +10,12 @@

<MetaTags title="BDPP | Home" description="Breaking Dimensions Penlight Project" />

<section class="mx-auto max-w-xl p-4">
<div class="mx-auto max-w-xl space-y-4 p-4">
<SeatForm />
</section>
<br />
<div class="my-8 rounded border-2 border-primary-950/70"></div>
<br />
<p class="text-2xl">Map</p>

<enhanced:img src={StageImage} alt="Penlight Stage Chart 2024" class="mx-auto" />
</div>
File renamed without changes.

0 comments on commit 0d97567

Please sign in to comment.