Skip to content

Commit 539ad02

Browse files
authored
Merge pull request #327 from openscript-ch/214-create-a-landing-page-for-the-project
214 create a landing page for the project
2 parents 256b69c + c7e60b4 commit 539ad02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4537
-19
lines changed

.changeset/sour-snakes-knock.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@quassel/website": patch
3+
---
4+
5+
Create initial version of landing page

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"bierner.markdown-mermaid",
1212
"GitHub.vscode-pull-request-github",
1313
"DavidAnson.vscode-markdownlint",
14-
"TheUMLetTeam.umlet"
14+
"TheUMLetTeam.umlet",
15+
"astro-build.astro-vscode"
1516
]
1617
}
1718
},

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,4 @@ dist
227227

228228
.nx/cache
229229
.nx/workspace-data
230+
.astro/

.prettierrc.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,14 @@
44
"tabWidth": 2,
55
"semi": true,
66
"singleQuote": false,
7-
"printWidth": 144
7+
"printWidth": 144,
8+
"plugins": ["prettier-plugin-astro"],
9+
"overrides": [
10+
{
11+
"files": "*.astro",
12+
"options": {
13+
"parser": "astro"
14+
}
15+
}
16+
]
817
}

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@
1616
"[css]": {
1717
"editor.defaultFormatter": "vscode.css-language-features"
1818
},
19+
"[astro]": {
20+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
21+
},
1922
"javascript.preferences.importModuleSpecifier": "relative",
2023
"typescript.preferences.importModuleSpecifier": "relative",
2124
"github.copilot.enable": {
2225
"*": true,
2326
"plaintext": false,
2427
"scminput": false,
2528
"markdown": true
26-
}
29+
},
2730
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ All parts of the project live inside this monorepo.
3131
- [`backend`](./apps/backend/)
3232
- [`frontend`](./apps/frontend/)
3333
- [`mockup`](./apps/mockup/)
34+
- [`website`](./apps/website/)
3435
- Libs
3536
- [`ui`](./libs/ui/)

apps/website/.docker/nginx.conf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
worker_processes 1;
2+
3+
events {
4+
worker_connections 1024;
5+
}
6+
7+
http {
8+
server {
9+
listen 80;
10+
server_name _;
11+
12+
root /usr/share/nginx/html;
13+
index index.html index.htm;
14+
include /etc/nginx/mime.types;
15+
16+
gzip on;
17+
gzip_min_length 1000;
18+
gzip_proxied expired no-cache no-store private auth;
19+
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
20+
21+
error_page 404 /404.html;
22+
location = /404.html {
23+
root /usr/share/nginx/html;
24+
internal;
25+
}
26+
27+
location / {
28+
try_files $uri $uri/index.html =404;
29+
}
30+
}
31+
}

apps/website/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:lts AS build
2+
3+
WORKDIR /app
4+
COPY package*.json ./
5+
RUN npm install
6+
COPY . .
7+
RUN npm run build
8+
9+
FROM docker.io/nginx:stable-alpine AS runtime
10+
11+
COPY ./.docker/nginx.conf /etc/nginx/nginx.conf
12+
COPY --from=build /app/dist /usr/share/nginx/html
13+
14+
EXPOSE 80

apps/website/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Website
2+
3+
## Resources
4+
5+
- [Mockup](https://www.figma.com/design/OTh2qYuiYBC1tENZWveRhG/Quassel-landing-page?node-id=0-1&m=dev&t=lZbsgWJY6MOegek4-1)
6+
- [Icons](https://tabler.io/icons)
7+
- Frames
8+
- [tablet](https://www.freepik.com/free-vector/digital-device-mockup-set_4394195.htm)
9+
- [laptop](https://www.freepik.com/free-vector/digital-device-mockup_4249950.htm)

apps/website/astro.config.mjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// @ts-check
2+
import { defineConfig } from "astro/config";
3+
import Icons from "unplugin-icons/vite";
4+
5+
// https://astro.build/config
6+
export default defineConfig({
7+
server: {
8+
port: 3003,
9+
},
10+
11+
experimental: {
12+
svg: true,
13+
},
14+
15+
vite: {
16+
plugins: [Icons({ compiler: "astro" })],
17+
},
18+
});
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
- icon: "study-entry"
2+
title: "Entry for studies"
3+
description: "Allow administrators to create and manage questionnaire series and participants linked to specific studies."
4+
screenshot: "study-entry.png"
5+
- icon: "data-management"
6+
title: "Default data management"
7+
description: "Store the data about carers' background information."
8+
screenshot: "data-management.png"
9+
- icon: "export-data"
10+
title: "Export raw data to CSV"
11+
description: "The collected raw data are allowed to be exported into CSV or SQL formats."
12+
screenshot: "export-data.png"
13+
- icon: "consolidate-data"
14+
title: "Consolidate data into reports"
15+
description: "Consolidate data into reports which contains participants ID and their language exposure information for further analysis."
16+
screenshot: "consolidate-data.png"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
- icon: "calendar-week"
2+
title: "Calendar interface"
3+
description: "A dynamic weekly calendar interface that allows users to track, create, and modify overlapping language exposure entries."
4+
screenshot: "calendar-interface.png"
5+
- icon: "time-period"
6+
title: "Easy to select time period"
7+
description: "A seamless time period selection feature allows users to define specific months or years for managing language exposure data."
8+
screenshot: "time-period.png"
9+
- icon: "detect-gaps"
10+
title: "Auto detect gaps"
11+
description: "An automatic gap detection feature identifies missing language exposure periods, notifies users, and offers options to highlight or proceed despite gaps."
12+
screenshot: "gap-detect.png"
13+
- icon: "recurring-entries"
14+
title: "Recurring entries"
15+
description: "Ability to create recurring entries for regular langage exposure events on weekly bases only (e.g. every second week)."
16+
screenshot: "recurring-entry.png"

apps/website/package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "@quassel/website",
3+
"type": "module",
4+
"version": "0.0.1",
5+
"scripts": {
6+
"dev": "astro dev --host",
7+
"prebuild": "astro check",
8+
"build": "astro build",
9+
"preview": "astro preview",
10+
"astro": "astro"
11+
},
12+
"dependencies": {
13+
"@fontsource-variable/montserrat": "^5.2.5",
14+
"@fontsource-variable/onest": "^5.2.6",
15+
"astro": "^5.5.3",
16+
"reveal.js": "^5.2.0"
17+
},
18+
"devDependencies": {
19+
"@astrojs/check": "^0.9.4",
20+
"@iconify/json": "^2.2.318",
21+
"@types/reveal.js": "^5.0.5",
22+
"sharp": "^0.33.5",
23+
"typescript": "^5.8.2",
24+
"unplugin-icons": "^22.1.0"
25+
}
26+
}

apps/website/project.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
3+
"name": "@quassel/website",
4+
"targets": {
5+
"container": {
6+
"executor": "@nx-tools/nx-container:build"
7+
}
8+
}
9+
}

apps/website/public/assets/arrow.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 77 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

apps/website/public/assets/poster.png

525 KB
Loading
Lines changed: 91 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)