Welcome to the official website repo for the Canadian Undergraduate Journal of Cognitive Science — built with ❤️ by students, for students.
- Vite + React + TypeScript
- Tailwind CSS for styling
- React Router for page routing
- Node.js v20+
- npm v10+
npm installnpm run devThen go to http://localhost:5173.
src/
│
├── components/ # Reusable UI components (Navbar, Footer, Layout, Dropdown, etc.)
├── pages/ # Individual routes/pages (Home, About, Submissions, Editions, Art, Contact, etc.)
├── data/ # JSON files for dynamic content (e.g., editions.json, team.json)
├── assets/ # Images, logos, and other static assets
├── index.css # Tailwind and global CSS
└── main.tsx # App entry point
- components/: All reusable UI building blocks. Import these into pages or layouts as needed.
- pages/: Each file is a route/page. Add new pages here for new routes.
- data/: Store editable JSON files for dynamic content (e.g., team members, editions, etc.). Import these into components/pages as needed.
- assets/: Store images, logos, and other static files here. Reference them in your components/pages.
- index.css: Tailwind directives and global styles. Do not add max-width or margin constraints here unless you want them everywhere.
- main.tsx: App entry point. Handles rendering and bootstrapping.
/— Home/about/editions/submissions/art/contact
- Add/Edit a Page: Create or edit a file in
src/pages/. Each file is a route. - Add/Edit a Component: Create or edit a file in
src/components/. Import into pages/layouts as needed. - Add/Edit Data: Place JSON files in
src/data/and import them into your components/pages for dynamic content. - Add/Edit Images: Place images in
src/assets/orpublic/and reference them in your code.
See attached screenshots or Figma for the current design.
- Bright Orange: #F57C00
- Light Peach: #FAC090
- Deep Red: #A70039
- Pink: #F06292
- White: #FFFFFF
- Muted Purple-Gray: #D7C1C8
- IBM Plex Sans (imported from Google Fonts)
- Each component/page is in
src/componentsorsrc/pages. - Use the color palette and font as specified above.
- Refer to the design screenshot or Figma for layout and spacing.
- Keep all global styles in
index.cssand use Tailwind for layout and spacing. - Do not add max-width or margin constraints in global CSS unless you want them everywhere.
- Use
w-fulland centering utilities in your components for layout control. - For dynamic content, use JSON files in
src/data/and import them as needed.
For any questions, contact the project lead or open an issue on GitHub.