Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

rizkytegar/indonesian-digital-clock

Repository files navigation

👋 Indonesian Digital Clock

A simple project to create a digital clock using Vite and ReactJS. In this project, I have used useState and useEffect, and I have also used luxon to fetch time based on the time zone.

Installation

To run this project, follow these steps:

  1. Clone the repository from GitHub:

    git clone https://github.com/rizkytegar/indonesian-digital-clock
  2. Navigate to the project directory:

    cd indonesian-digital-clock
  3. Install the required dependencies:

    npm install
  4. Start the project:

    npm run dev

    Open CLI in Another tab, Then Type:

    npm run tailwind

    See the json script below for more details

    "scripts": {
       "dev": "vite",
       "tailwind": "npx tailwindcss -i ./src/App.css -o ./src/style.css --watch ",
       "build": "tsc && vite build && npx tailwindcss build -i ./src/App.css -o ./src/style.css",
       "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
       "preview": "vite preview"
    },

Contribution

We welcome contributions from the community. If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for the feature or fix you want to contribute:

    git checkout -b new-feature
  3. Make the necessary changes.

  4. Commit your changes:

    git commit -m "Add new feature"
  5. Push to your branch:

    git push origin new-feature
  6. Create a Pull Request to the original repository.

Contributors

Rizky Tegar Pratama
Rizky Tegar Pratama

Stread
Stread

KathanrDave
KathanrDave

Ahmad Ammar Musyaffa
Ahmad Ammar Musyaffa

Vishnu Swaroop
Vishnu Swaroop

Sanskar Malkhede
Sanskar Malkhede

ilsyaa
イルシャア

Please feel free to reach out if you have any questions or issues related to this project. Thank you for contributing!