Welcome to the repository for the main website of Dezh Technologies This README will provide you with essential information about the project structure, setup instructions, available scripts, and deployment process.
This repository contains the source code for the main website of Dezh Technology. The website is built using React, Tailwind CSS, and Vite for fast and efficient development. TypeScript is used for static typing and improved code maintainability.
If anyone wants to add their logo to our partners section, they should follow these steps:
-
Add the logo with
#FFFFFF
color to thepublic/companies
directory with an.svg
extension. The SVG name should be the company or team name. For example,google.svg
. -
Change the
data/companies.json
file and add their information. The JSON structure should be as follows:{ "name": "Name", "logo": "/companies/name.svg", "website": "https://example.com" }
To get started with the project, follow these steps:
-
Clone this repository to your local machine:
git clone <repository_url>
-
Navigate to the project directory:
cd website
-
Install dependencies:
npm install
In the project directory, you can run the following scripts:
npm run dev
: Starts the development server using Vite.npm run build
: Builds the project for production.npm run lint
: Lints the project files using ESLint.npm run preview
: Previews the built project locally.npm run predeploy
: Runs the build script as a pre-deployment step.npm run deploy
: Deploys the built project to GitHub Pages.
The project has the following dependencies:
react
andreact-dom
: Core libraries for building the user interface.tailwind-merge
andtailwindcss
: Utility libraries for styling the UI.clsx
: A utility for constructing className strings conditionally.- Various development dependencies for tooling, linting, and TypeScript support.
The main project files and directories are structured as follows:
public/
: Contains static assets.data/
: Contains partners and social media data.src/
: Contains the source code for the React components and styles.package.json
: Configuration file for Node.js dependencies and scripts.tsconfig.json
: Configuration file for TypeScript.vite.config.js
: Configuration file for Vite.
The project is configured to deploy to GitHub Pages. To deploy the project, run:
npm run deploy
This script will build the project and deploy it to the gh-pages
branch of the repository.
Contributions to the project are welcome! Feel free to submit bug reports, feature requests, or pull requests via the GitHub repository.
This project is licensed under the MIT License.
Thank you for using Dezh Technology! If you have any questions or issues, please don't hesitate to contact us. Visit our homepage for more information about our products and services.