Prettying stuff

This commit is contained in:
mrfry 2021-03-06 14:59:09 +01:00
parent 843f0a7dad
commit 34cc962ab4
16 changed files with 247 additions and 218 deletions

View file

@ -1,18 +1,19 @@
import constants from '../constants.json'
export default function Sleep (props) {
export default function Sleep(props) {
const hours = new Date().getHours()
if (hours < 4 || hours > 23) {
return (
<div>
<div>
<center>
<img
style={{
margin: '10px',
width: '300px',
border: '2px solid white'
border: '2px solid white',
}}
src={constants.siteUrl + 'img/aludni.jpeg'} title="Ezt a kepet azert latod, mert ilyenkor mar igazan nem ezen az oldalon kellene jarnod"
src={constants.siteUrl + 'img/aludni.jpeg'}
title="Ezt a kepet azert latod, mert ilyenkor mar igazan nem ezen az oldalon kellene jarnod"
/>
</center>
</div>