Skip to content

Commit 1c3e7f4

Browse files
committedJun 6, 2024·
Updates.
1 parent d6d9441 commit 1c3e7f4

File tree

5 files changed

+23
-13
lines changed

5 files changed

+23
-13
lines changed
 

‎content/_index.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2-
"title": "Holy Name Hockey Golf Tournament"
2+
"title": "Holy Name Hockey Golf Tournament",
3+
"time": "Sunday, September 15, 2024",
4+
"place": {
5+
"text": "East Mountain Country Club",
6+
"link": "https://www.eastmountaincc.com/"
7+
}
38
}

‎layouts/content/_index.svelte

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<script>
2-
export let title;
2+
export let title, time, place;
33
</script>
44

55
<h1>{title}</h1>
66
<div class="details">
7-
<div class="time">Sunday, September 15, 2024</div>
7+
<div class="time">{time}</div>
88
<div class="place">
9-
<a href="https://www.eastmountaincc.com/" target="blank" rel="noopener noreferrer">East Mountain Country Club</a>
9+
<a href={place.link} target="blank" rel="noopener noreferrer">{place.text}</a>
1010
</div>
1111
<div class="schedule">
1212
<h3>Schedule</h3>
@@ -23,7 +23,7 @@
2323
<div class="name">Tim</div>
2424
<div class="handle">@Timothy-Harper-23</div>
2525
<div class="qr-code">
26-
<img src="/venmo.jpg" alt="QR code to pay with venmo" />
26+
<img src="/media/venmo.webp" alt="QR code to pay with venmo" />
2727
</div>
2828
</div>
2929
<div class="checks">
@@ -41,9 +41,3 @@
4141
<div>Contact Laura</div>
4242
</div>
4343
</div>
44-
45-
<style>
46-
h1 {
47-
font-family: Helvetica, sans-serif;
48-
}
49-
</style>

‎layouts/global/head.svelte

+4
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@
1414
<link rel="icon" type="image/svg+xml" href="/media/logo.svg">
1515
<link rel='stylesheet' href="/spa/bundle.css">
1616
<link rel='stylesheet' href="/global.css">
17+
18+
<link rel="preconnect" href="https://fonts.googleapis.com">
19+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
20+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
1721
</head>

‎media/venmo.webp

42.1 KB
Binary file not shown.

‎static/global.css

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
:root {
2+
--primary: #318128;
3+
}
4+
* {
5+
font-family: "Open Sans", sans-serif;
6+
}
17
body {
28
text-align: center;
39
}
410
h1 {
5-
color: #318128;
6-
font-weight: bold;
11+
color: var(--primary);
12+
font-weight: 900;
13+
text-transform: uppercase;
714
}

0 commit comments

Comments
 (0)
Please sign in to comment.