Add about page
To be stabilized with @MichelJuillard @thomasbrand
/about
page with:
- funding?
- they talk about us
- features guide: cart, charts, full-text search...
- resources?
Keep the home page dedicated for data.
Acceptance criteria
-
/about
page MUST exist -
page content MUST have been provided and validated by the team
Technical design
- allow the page contents to be edited by the team without having to modify the source code of the application
- updating the page contents must not trigger a rebuild of the application
- the application loads page contents dynamically, parses and renders it in HTML
Questions:
- howto store and edit content? use a headless CMS or just a simple Markdown in a Git repo?
Tasks
-
create a Markdown file in the Git repo of dbnomics-website in content/about.md
-
let the CI pipeline ignore changes to the content
directory (in.gitlab-ci.yml
) -
create a Sapper server route in routes/about.html.js
(will be available at/about.html
) that fetches thecontent/about.md
from GitLab repository "raw" URL, parses the Markdown and formats it to HTML with Marked -
parametrize the "raw" URL in .env.example
and.env
-
create /about
page in Sapper inroutes/about.svelte
that calls the server route to fetch the rendered HTML, and display it with{@html xxx}
-
use Tailwind Typography to style the HTML contents -
replace dummy content with real content, validated by the team
Edited by Ghost User