From a8d975b238bfc9473ccab6ad9d6fde0c1208d301 Mon Sep 17 00:00:00 2001 From: Ethan Davidson <31261035+EthanThatOneKid@users.noreply.github.com> Date: Fri, 16 Sep 2022 15:17:42 -0800 Subject: [PATCH] Initial progress --- src/routes/1st/_index.test.ts | 15 +++++ src/routes/1st/index.svelte | 102 ++++++++++++++++++++++++---------- 2 files changed, 87 insertions(+), 30 deletions(-) create mode 100644 src/routes/1st/_index.test.ts diff --git a/src/routes/1st/_index.test.ts b/src/routes/1st/_index.test.ts new file mode 100644 index 000000000..1327aab24 --- /dev/null +++ b/src/routes/1st/_index.test.ts @@ -0,0 +1,15 @@ +import { beforeEach, test, expect } from 'vitest'; +import { cleanup, render } from '@testing-library/svelte'; + +import First from './index.svelte'; + +beforeEach(cleanup); + +test('can render', () => { + render(First); +}); + +test('can find the correct page title', () => { + const { getByText } = render(First); + expect(getByText('acmcsuf.com/1st aims to simplify')).toBeDefined(); +}); diff --git a/src/routes/1st/index.svelte b/src/routes/1st/index.svelte index a0b2d63a1..8868408a5 100644 --- a/src/routes/1st/index.svelte +++ b/src/routes/1st/index.svelte @@ -3,11 +3,20 @@ @@ -16,28 +25,41 @@ 1st Contributions | ACM at CSUF -
+
-

First Contributions

- - - -
+

+ {#if raining} + + {/if} + + First Contributions + + {#if raining} + + {/if} +

+
+ +
+ - -
-
+

acmcsuf.com/1st aims to simplify and guide the way beginners make their first @@ -71,10 +93,8 @@

fork this repository

@@ -92,10 +112,8 @@

clone this repository

@@ -114,9 +132,8 @@

copy URL to clipboard

@@ -284,6 +301,28 @@ git push origin -u