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- Add markdown file:
public/content/blogs/{category}/{slug}.md - Add entry to the appropriate category array in
src/config/blogPosts.js:{ title: 'Post Title', image: '/pictures/Blogs/image.jpg', description: 'Brief description', link: '/blog/{category}/{slug}', // or 'url' for outreach markdownPath: '/content/blogs/{category}/{slug}.md', category: '{category}' }
Note: Category pages automatically import from blogPosts.js, so you only need to update one file.
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.