SwissCovid QR Landingpage | Read-only mirror of https://github.com/SwissCovid/swisscovid-qr-landingpage — SwissCovid. Issues & pull requests at the source.
  • JavaScript 52.2%
  • HTML 19.2%
  • SCSS 18.2%
  • Python 10.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-03-30 16:59:52 +02:00
.github/workflows workflow: install postcss 2022-03-15 09:29:19 +01:00
.well-known add well-known to action 2021-05-25 14:19:14 +02:00
assets stop landingpage from overlapping with language select 2022-03-17 10:52:29 +01:00
content/generate PP-1055: Add language switcher 2021-08-31 16:05:04 +02:00
i18n update translations and info URL 2022-03-30 16:52:38 +02:00
layouts update translations and info URL 2022-03-30 16:52:38 +02:00
static Replace logos with pngs 2021-09-02 12:07:27 +02:00
translation update translations and info URL 2022-03-30 16:52:38 +02:00
.gitignore Update .gitignore 2021-09-02 09:01:16 +02:00
config.toml PP-1055: Add language switcher 2021-08-31 16:05:04 +02:00
getTranslations.py Basic working version for qr gen. 2021-08-27 21:14:33 +02:00
LICENSE initial commit 2021-05-25 13:08:45 +02:00
package.json Update README 2021-09-01 08:48:38 +02:00
README.md Update README 2021-09-01 08:48:38 +02:00
webpack.abn.js PP-1055: extend build with yarn. 2021-08-31 17:06:35 +02:00
webpack.common.js PP-1055: Add styles and improved functionality 2021-08-31 15:29:26 +02:00
webpack.dev.js Basic working version for qr gen. 2021-08-27 21:14:33 +02:00
webpack.prod.js PP-1055: extend build with yarn. 2021-08-31 17:06:35 +02:00
yarn.lock PP-1055: extend build with yarn. 2021-08-31 17:06:35 +02:00

swisscovid-qr-landingpage

License: MPL 2.0

Build

This project requires Hugo 0.78.2 which can be installed from here. Careful the extended version is needed for SCSS preprocessing.

Additional dependencies need to be installed using the yarn package manager with yarn install:globals; yarn install.

Build Site

The javascript can be compiled using yarn build:TARGET:js where target is one of {prod, abn, dev}. This site can then be built with the command hugo.

Start Server

Simlarly a dev server can be started using yarn watch:js and hugo server.

License

This project is licensed under the terms of the MPL 2 license. See the LICENSE file.