Skip to content

Repository files navigation

Artificial Scientist Lab Website

Group website built with Next.js (App Router) and Tailwind CSS.

Requirements

  • Node.js 20 or newer
  • npm (comes with Node.js)
  • Git (needed only if you want to clone the repository)

Install Requirements

Linux / macOS (recommended: nvm)

  1. Install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
  1. Restart your terminal, then install Node.js LTS (includes npm):
nvm install --lts
nvm use --lts
  1. Verify installation:
node -v
npm -v

Windows

  1. Install Node.js LTS (includes npm) using winget:
winget install OpenJS.NodeJS.LTS
  1. Restart terminal and verify:
node -v
npm -v

Install Git (if needed)

  • Linux (Ubuntu/Debian): sudo apt install git
  • macOS (Homebrew): brew install git
  • Windows: winget install Git.Git

First-Time Setup

  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open the site at:
http://localhost:3000
  1. Stop the server with Ctrl + C.

Useful Commands

  • Run dev server: npm run dev
  • Run lint checks: npm run lint
  • Create static export build: npm run build (output goes to out/)

Update Team Member Texts and Images

Team members are defined in app/page.tsx in the teamMembers array near the top of the file.

Each member has this structure:

{
  name: "Full Name",
  role: "Role",
  focus: "Short research description.",
  image: "/team/file-name.webp",
  links: [
    { label: "Website", href: "https://..." },
    { label: "GitHub", href: "https://..." }
  ]
}

Change Text Fields

Edit these keys inside the member object:

  • name
  • role
  • focus
  • links (labels and URLs)

Replace a Team Image

  1. (Recommended) Convert the image to the WebP format to reduce the file size. There are many online converters available.
  2. Add the new image file to public/team/ (for example: public/team/jane-doe.webp).
  3. Update that person’s image field in app/page.tsx:
image: "/team/jane-doe.jpg"

Important Image Behavior

  • .jpg, .jpeg, .png, .webp are shown as full photos (object-cover).
  • .svg is treated as a placeholder-style portrait (object-contain with padding and muted styling).

If you want a normal full-color photo card, use a raster format (.jpg/.png/.webp) instead of .svg.

Add, Remove, or Reorder Team Members

  • Add: copy an existing object in teamMembers, paste it, and edit values.
  • Remove: delete the corresponding object.
  • Reorder: move objects up/down in the teamMembers array.

About

Group Website

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages