Welcome to the Dominion Organization Website repository! This project is built using Next.js and Sanity CMS to promote charity events, share news, and provide information about the organization.
- Introduction
- Features
- Technologies Used
- Installation
- Configuration
- Running the Project
- Deployment
- Contributing
- License
This project aims to create a user-friendly and interactive website for the charity organization. The website showcases our mission, upcoming events, latest news, and provides an easy way for visitors to get involved and donate.
- Dynamic content management with Sanity CMS
- SEO-friendly and fast performance with Next.js
- Responsive design for all devices
- Events calendar and news section
- Contact form for inquiries and support
- Donation integration
- Next.js - A React framework for server-side rendering and static site generation
- Sanity CMS - A headless CMS for managing content
- React - A JavaScript library for building user interfaces
- Tailwind CSS - A utility-first CSS framework for styling
- Vercel - A cloud platform for deploying Next.js applications
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/skaleway/dominion.git cd charity-organization-website
-
Install dependencies
pnpm isntall
-
Set up Sanity CMS:
- Create a Sanity project at Sanity.io.
- Generate an API token for your project.
- Copy the
sanity.json
configuration file from your Sanity project to the root of this repository.
-
Configure environment variables:
Create a
.env
file in the root of your project and add the following environment variables:DATABASE_URL="" NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="" CLERK_SECRET_KEY="" NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="" NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="" UPLOADTHING_SECRET="" UPLOADTHING_APP_ID=""
-
Run the development server:
pnpm dev
This project can be easily deployed to Vercel. Follow these steps:
-
Deploy to Vercel:
- Push your project to a Git repository.
- Go to Vercel and import your Git repository.
- Set the required environment variables in the Vercel dashboard.
- Deploy your project.
We welcome contributions to this project! To contribute, follow these steps:
-
Fork the repository:
Click the "Fork" button at the top right of this page to create a copy of this repository under your GitHub account.
-
Clone the forked repository:
git clone https://github.com/skaleway/dominion.git cd dominion
-
Create a new branch:
git checkout -b your-feature-branch
-
Make your changes and commit them:
git commit -m "feat: Your changes here"
-
Push to the branch:
git push origin your-feature-branch
-
Create a pull request:
Open a pull request from your branch to the main branch of this repository and describe your changes.
This project is licensed under the Skaling License. See the LICENSE file for details.