diff --git a/client/src/App.css b/client/src/App.css index 9a0266c..2cdab75 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -111,7 +111,7 @@ a:hover, .card-footer a:hover { .counter-number { font-family: 'Poppins', sans-serif; font-weight: 900; - font-size: 8rem; + font-size: 6rem; line-height: 1; color: #fff; text-transform: uppercase; @@ -201,7 +201,7 @@ a:hover, .card-footer a:hover { @media only screen and (max-width: 769px) { .counter-number { - font-size: 6rem; + font-size: 4rem; } .jumbotron-fluid > .container > h1 { padding-top: 1rem; diff --git a/client/src/components/CounterToWappu.js b/client/src/components/CounterToWappu.js index 9c1b830..471078b 100644 --- a/client/src/components/CounterToWappu.js +++ b/client/src/components/CounterToWappu.js @@ -20,7 +20,7 @@ const renderer = ({ days, hours, minutes, seconds, completed }) => { - {("0" + days).slice(-2)} + {days} Days diff --git a/server.js b/server.js index 46e6ef0..f6897fb 100644 --- a/server.js +++ b/server.js @@ -50,5 +50,6 @@ if (process.env.NODE_ENV === 'production') { const port = process.env.PORT || 5000; //create user -dataInitializer.createUser(); -app.listen(port, () => console.log(`Server started on port ${port}`)); +// dataInitializer.createUser(); + +app.listen(port, () => console.log(`Server started on port ${port}`)); \ No newline at end of file