Skip to content

Commit

Permalink
feat: Integrate shadcn/ui, enhance file structure, and implement Tail…
Browse files Browse the repository at this point in the history
…wind configuration for color themes. Add components/ui folder, layouts and pages lib. Introduce CSS variables for light/dark mode. Include button components, mode-toggle, theme-provider, and drop-menu from shadcn.
  • Loading branch information
No0ne003 committed Mar 2, 2024
1 parent 293a673 commit 7f2f1a0
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 5 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ['main']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload dist repository
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
46 changes: 41 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,44 @@
# React + Vite
# React-Projects

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Welcome to the React-Projects repository! This project is a collection of React applications bundled together using Vite, styled with Tailwind CSS, and enhanced with UI components from ui.shadcn. It's a powerful and flexible setup that allows you to manage and deploy multiple React projects within a single application.

Currently, two official plugins are available:
## Table of Contents

- [React-Projects](#react-projects)
- [Table of Contents](#table-of-contents)
- [Getting Started](#getting-started)
- [Technologies Used](#technologies-used)
- [Contributing](#contributing)

## Getting Started

Follow these instructions to get the project up and running on your local machine.

1. **Clone the repository:**

```bash
git clone https://github.com/No0ne003/React-Project.git
```

2. **Install dependencies:**

```bash
npm install
```

3. **Run the development server:**

```bash
npm run dev
```

This will start the development server, and you can access the application at `http://localhost:3000`.

## Technologies Used

[![Tailwind](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)](https://tailwindcss.com) [![react](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)](https://reactjs.org/) [![Vite](https://img.shields.io/badge/vite-%23646CFF.svg?style=for-the-badge&logo=vite&logoColor=white)](https://vitejs.dev/)

## Contributing

Contributions are welcome! If you have any suggestions, improvements, or bug fixes, feel free to open an issue or submit a pull request.

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

0 comments on commit 7f2f1a0

Please sign in to comment.