Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/weak-apes-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@quassel/website": patch
---

Improve website
3 changes: 0 additions & 3 deletions apps/website/public/assets/arrow.svg

This file was deleted.

Binary file removed apps/website/public/assets/poster.png
Binary file not shown.
91 changes: 91 additions & 0 deletions apps/website/src/assets/logos/quassel-icon.svg
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 apps/website/src/assets/video/quassel.mp4
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions apps/website/src/components/Head.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
const { title } = Astro.props;
---

<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/quassel-icon.svg" />
<title>{title}</title>
<meta
name="description"
content="Quassel is a web-based application designed to aid researchers in collecting and analyzing data on children's language exposure. "
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.quassel.ch/" />
<meta
property="og:description"
content="Quassel (previously Language Exposure Questionnaire) is a web-based application designed to aid researchers in collecting and analyzing data on children's language exposure. "
/>
</head>
7 changes: 2 additions & 5 deletions apps/website/src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import Head from "../components/Head.astro";
import Site from "../layouts/Site.astro";
import Header from "../sections/Header.astro";
import Footer from "../sections/Footer.astro";
Expand All @@ -8,11 +9,7 @@ import Administration from "../sections/Administration.astro";
import About from "../sections/About.astro";
---

<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/assets/quassel-icon.svg" />
<title>Quassel</title>
</head>
<Head title="Quassel" />
<Site>
<Header />
<main>
Expand Down
10 changes: 8 additions & 2 deletions apps/website/src/sections/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
import { Image } from "astro:assets";
import UzhLogo from "../assets/logos/uzh-logo.svg";
import OpenScriptLogo from "../assets/logos/openscript-logo.svg";
---

<style>
footer {
display: grid;
Expand Down Expand Up @@ -43,14 +49,14 @@
<footer>
<h2>Interested in Using Quassel?</h2>
<div class="contact">
<img src="../assets/uzh-logo.svg" alt="University of Zurich logo" />
<Image src={UzhLogo} alt="University of Zurich logo" />
<h3>Research collaboration</h3>
<a href="https://www.psychology.uzh.ch/en/areas/dev/devpsy/Weltentdecker/Research-area-Multilingualism-and-Communication.html">
Reach out to <strong>Stephanie</strong> from University of Zurich
</a>
</div>
<div class="contact">
<img src="../assets/openscript-logo.svg" alt="openscript Ltd. logo" />
<Image src={OpenScriptLogo} alt="openscript Ltd. logo" />
<h3>Tech collaboration</h3>
<a href="https://openscript.ch/en/">Contact <strong>Robin</strong> from openscript Ltd.</a>
</div>
Expand Down
8 changes: 5 additions & 3 deletions apps/website/src/sections/Header.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
import { Image } from "astro:assets";
import QuasselLogo from "../assets/logos/quassel-icon.svg";
import IconChevronRight from "~icons/tabler/chevron-right";
---

Expand All @@ -12,7 +14,7 @@ import IconChevronRight from "~icons/tabler/chevron-right";

.brand {
display: flex;
gap: var(--spacing-md);
gap: var(--spacing-sm);
color: var(--color-highlight);
align-items: baseline;
}
Expand Down Expand Up @@ -41,15 +43,15 @@ import IconChevronRight from "~icons/tabler/chevron-right";
stroke-width: 3;
}

img {
.brand img {
height: 4rem;
}
</style>

<header>
<div class="brand">
<h1>Quassel</h1>
<img src="../assets/quassel-icon.svg" alt="Quassel logo" />
<Image class="logo" src={QuasselLogo} alt="Quassel logo" />
</div>
<nav>
<ul>
Expand Down
10 changes: 7 additions & 3 deletions apps/website/src/sections/Spotlight.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
import { Image } from "astro:assets";
import UzhLogo from "../assets/logos/uzh-logo.svg";
import videoUrl from "../assets/video/quassel.mp4";
import Poster from "../assets/video/video-assets/poster.png";
import PlayButton from "../assets/video/video-assets/play-button.svg";
---

<style>
Expand Down Expand Up @@ -103,15 +107,15 @@ import videoUrl from "../assets/video/quassel.mp4";
<p>Efficient documenting <strong>children's</strong> language exposure by carer giver and time.</p>
</div>
<div class="quassel-video">
<video controls poster="./assets/poster.png" muted playsinline>
<video controls poster={Poster.src} muted playsinline>
<source src={videoUrl} type="video/mp4" />
</video>
<button class="playButton">
<img src="../assets/play-button.svg" alt="Play button" />
<Image src={PlayButton} alt="Play button" />
</button>
</div>
<div class="used-by">
<h2>Used by</h2>
<a href="https://www.uzh.ch/en.html"><img src="../assets/uzh-logo.svg" alt="University of Zurich" /></a>
<a href="https://www.uzh.ch/en.html"><Image src={UzhLogo} alt="University of Zurich" /></a>
</div>
</section>