diff --git a/ui/src/lib/components/Modal.svelte b/ui/src/lib/components/Modal.svelte new file mode 100644 index 0000000..1534724 --- /dev/null +++ b/ui/src/lib/components/Modal.svelte @@ -0,0 +1,119 @@ + + +{#if open} + + +{/if} \ No newline at end of file diff --git a/ui/src/lib/css/global.scss b/ui/src/lib/css/global.scss index c1bad32..806a642 100644 --- a/ui/src/lib/css/global.scss +++ b/ui/src/lib/css/global.scss @@ -5,6 +5,12 @@ html, body { color: #fff; } +body.modal-open { + width: 100vw; + height: 100vh; + overflow: hidden; +} + @font-face { font-family: 'clash'; src: url('$lib/fonts/ClashDisplay-Semibold.woff') format('woff'); diff --git a/ui/src/routes/business/+page.svelte b/ui/src/routes/business/+page.svelte index a7b1778..b2fa111 100644 --- a/ui/src/routes/business/+page.svelte +++ b/ui/src/routes/business/+page.svelte @@ -233,6 +233,7 @@ import Accordion from '$lib/components/Accordion.svelte'; import Blob from '$lib/components/Blob.svelte'; import Globe from "$lib/components/Globe.svelte"; + import Modal from '$lib/components/Modal.svelte'; import blueCloud from '$lib/images/cloud-blue.png'; import purpleCloud from '$lib/images/cloud-purple.png'; @@ -241,9 +242,74 @@ {id: 'bizdev', title: 'Business Automation'}, {id: 'design', title: 'Design & Branding'}, ]; + + let showModal = ''; + function closeModal() { + console.log('close modal'); + showModal = ''; + document.body.classList.remove('modal-open'); + + } + function openModal(event, modal = '') { + event.preventDefault(); + showModal = modal; + document.body.classList.add('modal-open'); + }
+ +
+ + A screenshot of the Chive Charities Website + +
+

Chive Charities

+
+

Description of Chive Charities

+

The Wetfish Community is a mix of everything from queer hackers, to farmers, researchers, and artists. Some of us work at senior positions at big tech companies, others are just trying to make ends meet. We're spread out across the globe physically, but digitally united.

+
Visit Chive Charities +
+
+ +
+ + A screenshot of the Churnkey Website + +
+

Churnkey

+
+

Churnkey.co

+

The Wetfish Community is a mix of everything from queer hackers, to farmers, researchers, and artists. Some of us work at senior positions at big tech companies, others are just trying to make ends meet. We're spread out across the globe physically, but digitally united.

+
Visit Churnkey +
+
+ +
+ + A screenshot of the Coyote.space Website + +
+

Coyote Space

+
+

Coyote.space

+

The Wetfish Community is a mix of everything from queer hackers, to farmers, researchers, and artists. Some of us work at senior positions at big tech companies, others are just trying to make ends meet. We're spread out across the globe physically, but digitally united.

+
Visit Coyote Space +
+
+ +
+ + A screenshot of the Wavve.co Website + +
+

Wavve

+
+

wavve.co

+

The Wetfish Community is a mix of everything from queer hackers, to farmers, researchers, and artists. Some of us work at senior positions at big tech companies, others are just trying to make ends meet. We're spread out across the globe physically, but digitally united.

+
Visit Wavve +
+
@@ -342,7 +408,7 @@
- + openModal(event, 'chive-charities')}>
A screenshot of the Chive Charities Website @@ -350,17 +416,17 @@
Chive Charities
- - + openModal(event, 'churnkey')}>
A screenshot of the ChurnKey.co Website
Churnkey
+
- + openModal(event, 'coyote')}>
A screenshot of the Coyote Space Website @@ -369,7 +435,7 @@
- + openModal(event, 'wavve')}>
A screenshot of the Wavve.co Website