A lingerie showcase website built using Next.js, Tailwind CSS, and Sanity CMS. This project aims to provide a dynamic and visually appealing platform for showcasing lingerie products.
To get started with the Bellania project, follow the steps below:
-
Open a terminal or command prompt.
-
Change the current working directory to the location where you want to clone the project.
-
Run the following command to clone the project repository:
git clone https://github.com/kunalkeshan/Bellania
-
Make sure you have installed pnpm globally. If not, you can install it using the following command:
npm install -g pnpm
-
Change the current working directory to the project root directory.
-
Run the following command to install all project dependencies:
pnpm install
-
Create a new Sanity project by following the instructions on the Sanity website.
-
Obtain the Sanity project ID and dataset name.
-
Update the
.env.local
file with the following variables:NEXT_PUBLIC_SANITY_PROJECT_ID=<sanity_project_id> NEXT_PUBLIC_SANITY_DATASET=<sanity_dataset_name>
-
Import Data
Use the Sanity CLI to import data. Suppose you have a shared
production.tar.gz
file (or contact code maintainers to get access to the latest production dataset).Open your terminal and navigate to your project directory.
Run the following command, replacing ../production.tar.gz with the path to your tar file:
sanity dataset import ../production.tar.gz production
This command imports the specified tar file into the 'production' dataset. Reference: https://www.sanity.io/docs/migrating-data.
-
Obtain the Gmail email address and password that will be used to send contact form submissions. Your gmail passoword will need to be an app password, to obtain it follow these steps mentioned by google to get app password.
-
Update the
.env.local
file with the following variables:GMAIL_EMAIL=<gmail_email_address> GMAIL_PASSWORD=<gmail_password>
-
Remove the
disabled
attribute from thefieldset
tag wrapping the contact form inputs inContact.tsx
component.
We welcome contributions to the Bellania project. If you would like to contribute, please follow the guidelines below:
- Fork the project repository on GitHub.
- Clone your forked repository to your local machine.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure they follow the project's coding conventions.
- Write appropriate tests for your changes, if applicable.
- Commit your changes and push them to your forked repository.
- Submit a pull request, describing the changes you made and why they should be included in the main project.
The Bellania project is licensed under MIT License.