Skip to content

Clock app with weather๐ŸŒก, settings โš™ and more ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ

Notifications You must be signed in to change notification settings

daniknewgarden/react-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

50 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Simple neomorphism react clock ๐Ÿ•˜

screenshot

See demo

Here you can read how to run it, and how to use all components. Lets start ๐Ÿ‘‡

This project was bootstrapped with Create React App.

To do:

  • Time format changing
  • Temperature units changing

How to run? ๐Ÿƒโ€โ™‚๏ธ

In the project directory, you can run:

npm start

Runs the app in the development mode. ๐Ÿ› 
Open http://localhost:3000 to view it in the browser.

npm test

Launches the test runner in the interactive watch mode. ๐Ÿงช
But right now this feature isn't available. ๐ŸŒš

npm build

Builds the app for production to the build folder. ๐Ÿ—
It correctly bundles React in production mode and optimizes the build for the best performance.

Components guide ๐Ÿงฉ

Analog clock โŒš

Analog clock screenshot

Uses useTime hook to get data about arrows rotation (hh, mm, ss). [See docs](https://github.com/daniknewgarden/amazing-react-hooks#usetime- useTime docs)

Button ๐Ÿ”˜

Button screenshot

Toggle button

Props

Prop Type Description
text string text inside button
icon img path to button icon
onClick function callback function

Date ๐Ÿ“†

Date screenshot

Uses useDate hook to get current day and mountName. [See docs](https://github.com/daniknewgarden/amazing-react-hooks#usedate- useDate docs)

Digital clock ๐Ÿ•ฆ

Digital clock screenshot

Uses useTime hook to get current time. [See docs](https://github.com/daniknewgarden/amazing-react-hooks#usetime- useTime docs)

Settings โš™

Settings screenshot

Switcher

Switcher screenshot

Prop Type Description
ariaLabel string aria description
callback function callback function
defaultState boolean enabled or disabled

Text

Title

Title screenshot

Heading 2

Prop Type Description
text string text

Subtitle

Subtitle screenshot

Heading 3

Prop Type Description
text string text

Weather โ˜

Weather screenshot

Prop Type Description
tempUnits string celsius '_c' or fahrenheit '_f'

About

Clock app with weather๐ŸŒก, settings โš™ and more ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published