Skip to content

Commit f3d29bc

Browse files
authored
add application link to compass (#320)
* upgrade astro, add svelte integration * add host compass * add application link to end of compass
1 parent f756a73 commit f3d29bc

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/components/compass/data.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,5 @@ export const questions: QuestionData[] = [
134134
},
135135
},
136136
];
137+
138+
export const applicationLink = "https://forms.gle/N3sYozRTNp3X1UZp9";

src/components/compass/quiz.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import type { Tally } from "./data";
3-
import { questions } from "./data";
3+
import { questions, applicationLink } from "./data";
44
import { fly, fade } from "svelte/transition";
55
66
import Question from "./question.svelte";
@@ -41,6 +41,7 @@
4141
<p class="font-light text-xl sm:text-2xl">{host}</p>
4242
{/each}
4343
{/if}
44+
<a href={applicationLink} class="mt-10 font-bold underline text-xl">Apply here!</a>
4445
</div>
4546
{/if}
4647
{:else}

src/pages/students.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import { Image } from "astro:assets";
33
import Layout from "~/layouts/Layout.astro";
44
import studentSession from "~/assets/student_session.webp";
55
import fun from "~/assets/fun.webp";
6-
import { hosts } from "~/components/compass/data.ts"
6+
import { hosts, applicationLink } from "~/components/compass/data.ts"
77
8-
const applicationLink = "https://forms.gle/N3sYozRTNp3X1UZp9"
98
---
109

1110
<Layout>

0 commit comments

Comments
 (0)