One-page site, plain HTML, CSS and a little JavaScript. No build step.
index.html page (hero, about with services, portfolio, contact)
css/style.css styles
js/i18n.js EN / DE texts and the language switch
js/reveal.js runs the portrait scan while it is in view
assets/portrait.webp transparent cut-out of the portrait (portrait.png is the source)
assets/og-image.png preview image for shared links (1200x630)
favicon.svg site icon
fonts/ Dina Chaumont Display (Light, Regular, Bold), OTF as supplied
- Repository Settings → Pages.
- Source: Deploy from a branch.
- Branch:
claude/peaceful-turing-gzjpsc, folder/ (root). Save. - After 1-2 minutes the site opens at
https://dangerarrow.github.io/dangerArrow/.
.nojekyll makes Pages serve the files as they are.
- Project covers: the grey
.phblocks inindex.htmlbecome<img>elements fromassets/. A cover runs edge to edge on phones and as wide as the text column on large screens. - Texts live in
js/i18n.js(EN and DE). The English text is also the default inindex.html.
The headings use Dina Chaumont Display by bvh type. The files in fonts/ are the OTF files
as supplied; they are not converted. Check the font licence (EULA) before publishing.
If the vendor WOFF2 files are added to fonts/, list them first in each src of
the @font-face rules in css/style.css.
Body text uses Instrument Sans from Google Fonts (loaded by index.html).
Icons are Solar (Duotone) by 480 Design, CC BY 4.0, credited in the footer.
- Create a file
CNAMEin the repository root with one line, the domain, for exampleexample.com. - In Settings → Pages → Custom domain enter the domain and enable Enforce HTTPS.
- At the registrar add DNS records.
Apex domain (example.com): add the A records that GitHub lists in its documentation
(they are GitHub Pages servers, the same for every site):
https://docs.github.com/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site
www: a CNAME record pointing to dangerarrow.github.io.
A subdomain such as portfolio.example.com needs a single CNAME record to dangerarrow.github.io.
- Phones in portrait and landscape, tablets, laptop and a large monitor.
- No horizontal scroll, the astronaut fully visible in About, links in the nav land on their sections.