A modern, responsive website for Jarida - empowering African tech innovation through open-source solutions and global developer communities.
- Modern Tech Stack: React 18, TypeScript, Vite, Tailwind CSS
- Smooth Animations: Framer Motion for beautiful transitions
- Multi-language Support: English and Kiswahili (Swahili)
- Brand Perfect: Exact Jarida brand colors and typography
- Mobile First: Responsive design for all devices
- SEO Optimized: Meta tags, Open Graph, and performance optimized
- Accessibility: WCAG AA compliant
- Fast Loading: Code splitting and optimized assets
- Jarida Purple:
#8C52FF
(primary buttons, highlights) - Jarida Charcoal:
#171616
(headings, text) - Jarida White:
#fff9f9
(text on dark backgrounds) - Light Grey:
#F5F5F5
(backgrounds, dividers) - Accent White:
#FFFFFF
(high contrast text)
- Comfortaa: Primary headings
- Inter: Body text
- Quicksand: Accent elements
- Node.js 18+
- npm or yarn
-
Clone the repository
git clone https://github.com/jaridahq/jarida.git cd jarida/jarida-website
-
Install dependencies
npm install
-
Start development server
npm run dev
-
Build for production
npm run build
-
Preview production build
npm run preview
The website supports multiple languages:
- English (
en
) - Default - Kiswahili (
sw
) - Swahili translation
Translation files are located in public/locales/
and the language switcher is available in the header.
src/
├── components/ # React components
│ ├── common/ # Reusable components
│ ├── layout/ # Layout components
│ ├── sections/ # Page sections
│ └── ui/ # UI components
├── pages/ # Page components
├── hooks/ # Custom React hooks
├── utils/ # Utility functions
├── assets/ # Static assets
└── types/ # TypeScript types
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLintnpm run lint:fix
- Fix ESLint errors
The website is built with a mobile-first approach:
- Mobile: 320px - 768px
- Tablet: 768px - 1024px
- Desktop: 1024px+
- Large screens: 1440px+
- Lighthouse Score: 90+ for Performance, Accessibility, Best Practices, and SEO
- Code Splitting: Automatic route-based splitting
- Lazy Loading: Images and components
- Optimized Fonts: Preloaded Google Fonts
- Compressed Assets: Build optimization
The website is automatically deployed to GitHub Pages using GitHub Actions when code is pushed to the main branch.
-
Build the project
npm run build
-
Deploy to GitHub Pages The
dist
folder contains all the static files ready for deployment.
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create a feature branch:
git checkout -b feature-name
- Make your changes
- Run tests and linting:
npm run lint
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature-name
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: https://jaridahq.github.io/jarida/
- GitHub: https://github.com/jaridahq
- Email: hello@jarida.dev
- All contributors who have helped build this project
- The amazing African tech community
- Open source libraries that make this possible
Made with ❤️ in Africa for the World