├── .gitignore
├── LICENSE.md
├── README.md
├── countdown.gif
├── package-lock.json
├── package.json
├── public
├── favicon.ico
└── index.html
└── src
├── App.js
├── Countdown.js
├── github.png
├── index.css
├── index.js
└── logo.svg
/.gitignore:
--------------------------------------------------------------------------------
1 | # See http://help.github.com/ignore-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | node_modules
5 |
6 | # testing
7 | coverage
8 |
9 | # production
10 | build
11 |
12 | # misc
13 | .DS_Store
14 | .env
15 | npm-debug.log
16 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Kristin Baumann
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # React Countdown
2 |
3 | React Component demonstrating a count down to a certain date.
4 |
5 | This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app) to test its functionality in erasing the setup effort for small React experiments.
6 |
7 | Live: [https://countdown2christmas.kristin-baumann.com/](https://countdown2christmas.kristin-baumann.com/)
8 |
9 |
10 |
11 | # Scripts
12 |
13 | ### `npm start`
14 |
15 | Runs the app in the development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
16 |
17 | ### `npm run build`
18 |
19 | Builds the app for production to the `build` folder.
20 |
21 | ## License
22 |
23 | See the [LICENSE](LICENSE.md) file for license rights and limitations (MIT).
24 |
--------------------------------------------------------------------------------
/countdown.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kristinbaumann/react-countdown/06c2006cd554cc926e7406cb921dd82b36ed3dce/countdown.gif
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-countdown",
3 | "version": "1.0.0",
4 | "description": "React Countdown Component",
5 | "author": "Kristin Baumann (https://www.kristin-baumann.com)",
6 | "repository": "https://github.com/kristinbaumann/react-countdown",
7 | "devDependencies": {
8 | "react-scripts": "5.0.0"
9 | },
10 | "dependencies": {
11 | "react": "17.0.0",
12 | "react-dom": "17.0.0"
13 | },
14 | "scripts": {
15 | "start": "react-scripts start",
16 | "build": "react-scripts build",
17 | "test": "react-scripts test --env=jsdom",
18 | "eject": "react-scripts eject"
19 | },
20 | "browserslist": {
21 | "production": [
22 | ">0.2%",
23 | "not dead",
24 | "not op_mini all"
25 | ],
26 | "development": [
27 | "last 1 chrome version",
28 | "last 1 firefox version",
29 | "last 1 safari version"
30 | ]
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kristinbaumann/react-countdown/06c2006cd554cc926e7406cb921dd82b36ed3dce/public/favicon.ico
--------------------------------------------------------------------------------
/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |