Skip to content
CoRoLab-BerlinPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CoRoLab website

link to github.io

React (Next.js) + Tailwind, bilingual (EN/DE), hosted on GitHub Pages. All text lives in content/ – nobody needs to touch code to change it.

👉 Step-by-step guide for editors (German): ANLEITUNG.md

Edit content (no setup needed)

  1. Open this repository on GitHub and go to the content folder.
  2. Pick the language: *_en.md (English) or *_de.md (Deutsch).
  3. Click a file → ✏️ (pencil) → edit → Commit changes. The site rebuilds automatically (~2 min). If you made a mistake in the header of a file, the build fails with a plain message and the live site stays unchanged.

What is where

Folder / file What
content/site.md menu labels, footer, fixed texts
content/pages/home.md start page (hero, text, image strip, logos)
content/pages/contact.md, disclaimer.md contact and legal pages (plain text)
content/projects/*.md one file per project
content/hardware/*.md one file per robot/device
content/work/*.md research topics
content/team/*.md one file per person (grouped by role, then surname)
content/teaching/*.md one file per module
content/publications/*.md lists per category (journal, conference, …)
content/<section>/_index.md title + intro text of that section's page

Add something new

Open the folder → Add file → Create new file → name it e.g. my-project.md → copy the matching file from templates/ and fill it in. The file name becomes the URL.

Images and PDFs

Upload to public/images/... or public/pdfs/... (Add file → Upload files), then reference as images/projects/photo.jpg. Please resize photos to ≤ 1600 px wide.

YouTube videos

Put the normal YouTube link on a line of its own (with an empty line before and after):

https://www.youtube.com/watch?v=VIDEO_ID

It is shown as an embedded video (privacy-friendly youtube-nocookie).

Translations

German and English files have the same name, apart from the suffix before the filesuffix. If a German file is missing, the English text is shown with a short note, so nothing ever disappears. To translate: copy the English file filename_en.md into a file next to it rename it to filename_de.md and translate it.

The header block

Each file starts with fields between --- lines (title:, description: …). Keep the --- lines and the field: value format. Put text with a colon in quotes: title: "Robots: a story". Allowed fields are in src/lib/schemas.ts and the templates.

Develop locally

Use Node Version Manager nvm to install/use the same node version as used in the deployment currently that is version 22

nvm install 22  # to install
nvm use 22      # to make version 22 active when multible versions are installed on your machine.

To install the dependencies and run the website in a hot reload dev deployment use

npm install
npm run bibtex:parse # to update the publications if need be.
npm run dev        # http://localhost:3000/en/
npm run build      # validates content, builds static site into ./out

Deployment: pushes to main build and publish to GitHub Pages (.github/workflows/deploy.yml). In the repo settings set Pages → Source: GitHub Actions.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages