This is the website for the Foundation for the Promotion of Rights, built with Next.js and TinaCMS.
First, install the dependencies:
npm installThen, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
This website uses TinaCMS for content management. To access the CMS:
- Run the development server with
npm run dev - Visit http://localhost:3000/admin to access the CMS interface
- Edit content directly through the visual interface
The content is organized as follows:
- News Articles: Located in
content/news/as MDX files - Mission Content: Located in
content/mission/mission.json
To use TinaCMS in production:
- Create an account on TinaCMS
- Create a new project and connect it to your GitHub repository
- Get your Client ID and Token from TinaCMS
- Create a
.env.localfile with the following variables:NEXT_PUBLIC_TINA_CLIENT_ID=your-client-id TINA_TOKEN=your-token NEXT_PUBLIC_TINA_BRANCH=main - Deploy your website with these environment variables
- Next.js 15 with App Router
- TinaCMS for content management
- Multilingual support (French and Arabic)
- Responsive design with Tailwind CSS
- Framer Motion animations
To learn more about the technologies used:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.