A modern React + Tailwind CSS website for the Arcturus robotics team, built with Vite.
npm installnpm run devThe site will be available at http://localhost:5173
npm run buildProduction files will be in the dist/ directory
npm run preview- Put markdown file with blog in
public/content/blogs/subteam/blog-name.md - Create component in
src/pages/blog/subteam/blog-name.jsxfor the blog card - Add blog to respective subteam's page in
src/pages/blog/Subteam.jsx
Place images in /public/Pictures/ and reference them with /Pictures/filename.jpg
Use Tailwind utility classes for consistency:
- Primary color:
text-primary,bg-primary - Headings:
font-heading - Container:
container mx-auto px-4 - Sections:
py-12orpy-16 - Cards:
bg-white rounded-lg shadow-md
- Primary:
#08054e(dark blue) - Primary Light:
#637dc5(light blue) - Accent:
#56b8e6(sky blue) - Background Light:
#f0f5ff(very light blue) - Text:
#969696(gray)
Custom fonts:
- Sans: Open Sans
- Heading: Raleway
Run npm run deploy. This generates dist/ folder which contains the build and pushes the contents to the branch gh-pages. GH pages is setup to deploy from that branch to arcturus.mit.edu.