Compare commits
1 Commits
ui-update
...
af70a8f2e7
| Author | SHA1 | Date | |
|---|---|---|---|
| af70a8f2e7 |
BIN
resources/weed.png
Normal file
BIN
resources/weed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
@@ -3,5 +3,5 @@
|
|||||||
max-width: 1280px;
|
max-width: 1280px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: center;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,15 +10,26 @@ export default function Dashboard() {
|
|||||||
<div className={style.dashboard}>
|
<div className={style.dashboard}>
|
||||||
<div className={style.cardWrapper}>
|
<div className={style.cardWrapper}>
|
||||||
<div className={style.card}>
|
<div className={style.card}>
|
||||||
|
<div className={style.cardHeader}>🕐 Timetable</div>
|
||||||
|
<div className={style.cardContent}>
|
||||||
<Timetable />
|
<Timetable />
|
||||||
</div>
|
</div>
|
||||||
<div className={style.card}>
|
|
||||||
<Flatastic />
|
|
||||||
</div>
|
</div>
|
||||||
<div className={style.card}>
|
<div className={style.card}>
|
||||||
|
<div className={style.cardHeaderInactive}>🧹 Flatastic</div>
|
||||||
|
<div className={style.cardContent}>
|
||||||
|
<Flatastic />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className={style.card}>
|
||||||
|
<div className={style.cardHeaderInactive}>
|
||||||
|
🏠 HomeAssistant [Tent]
|
||||||
|
</div>
|
||||||
|
<div className={style.cardContent}>
|
||||||
<HomeAssistant />
|
<HomeAssistant />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className={style.footer}>
|
<div className={style.footer}>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
background-color: #007c7d;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cardWrapper {
|
.cardWrapper {
|
||||||
@@ -14,12 +15,37 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
border-radius: 10px;
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
background-color: #c0c0c0;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
border-left: 2px solid white;
|
||||||
|
border-bottom: 2px solid #828282;
|
||||||
|
border-right: 2px solid #828282;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cardContent {
|
||||||
padding: 1px 100px 30px 100px;
|
padding: 1px 100px 30px 100px;
|
||||||
border: 1px solid rgba(220, 220, 220, 0.4);
|
}
|
||||||
box-shadow: 5px 5px 7px rgba(220, 220, 220, 0.5);
|
|
||||||
|
.cardHeader {
|
||||||
|
height: 30px;
|
||||||
|
color: white;
|
||||||
|
background-color: #000082;
|
||||||
|
text-align: left;
|
||||||
|
padding-left: 5px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cardHeaderInactive {
|
||||||
|
height: 30px;
|
||||||
|
color: #c0c0c0;
|
||||||
|
background-color: #808080;
|
||||||
|
text-align: left;
|
||||||
|
padding-left: 5px;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
background-color: rgba(220, 220, 220, 0.5);
|
background-color: #c0c0c0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,11 +2,12 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
border: 1px solid rgba(220, 220, 220, 0.4);
|
|
||||||
box-shadow: 5px 5px 7px rgba(220, 220, 220, 0.5);
|
|
||||||
border-radius: 10px;
|
|
||||||
padding: 0 10px 20px 10px;
|
padding: 0 10px 20px 10px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
border-left: 2px solid white;
|
||||||
|
border-bottom: 2px solid #828282;
|
||||||
|
border-right: 2px solid #828282;
|
||||||
}
|
}
|
||||||
|
|
||||||
.departureLists {
|
.departureLists {
|
||||||
|
|||||||
@@ -3,16 +3,18 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
border-radius: 10px;
|
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chore {
|
.chore {
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
border: 1px solid rgba(220, 220, 220, 0.4);
|
|
||||||
box-shadow: 5px 5px 7px rgba(220, 220, 220, 0.5);
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
border-left: 2px solid white;
|
||||||
|
border-bottom: 2px solid #828282;
|
||||||
|
border-right: 2px solid #828282;
|
||||||
}
|
}
|
||||||
|
|
||||||
.userName {
|
.userName {
|
||||||
|
|||||||
@@ -8,10 +8,24 @@ export default function Footer() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={style.container}>
|
<div className={style.container}>
|
||||||
|
<div className={style.taskbar}>
|
||||||
|
<div className={style.startButton}>
|
||||||
|
<img className={style.startIcon} src="resources/weed.png" />
|
||||||
|
Start
|
||||||
|
</div>
|
||||||
|
<span className={style.divider}></span>
|
||||||
|
<div className={style.windows}>
|
||||||
|
<span className={style.window}>🕐 Timetable</span>
|
||||||
|
<span className={style.window}>🧹 Flatastic</span>
|
||||||
|
<span className={style.window}>🏠 HomeAssistant</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className={style.newsticker}>
|
||||||
<div className={style.info}>BREAKING</div>
|
<div className={style.info}>BREAKING</div>
|
||||||
<div className={style.marquee}>
|
<div className={style.marquee}>
|
||||||
<Marquee>{pasta}</Marquee>
|
<Marquee>{pasta}</Marquee>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,69 @@
|
|||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.taskbar {
|
||||||
|
font-weight: bold;
|
||||||
|
height: 35px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.startButton {
|
||||||
|
display: inline-flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
align-items: center;
|
||||||
|
width: 100px;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
border-left: 2px solid white;
|
||||||
|
border-bottom: 2px solid black;
|
||||||
|
border-right: 2px solid black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.startIcon {
|
||||||
|
height: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.divider {
|
||||||
|
margin: auto 8px;
|
||||||
|
width: 4px;
|
||||||
|
height: 25px;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
border-left: 2px solid white;
|
||||||
|
border-bottom: 2px solid black;
|
||||||
|
border-right: 2px solid black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.windows {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
gap: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.window {
|
||||||
|
min-width: 150px;
|
||||||
|
padding-left: 10px;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
border-left: 2px solid white;
|
||||||
|
border-bottom: 2px solid black;
|
||||||
|
border-right: 2px solid black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newsticker {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
border-top: 2px solid white;
|
||||||
|
border-left: 2px solid white;
|
||||||
|
border-bottom: 2px solid black;
|
||||||
|
border-right: 2px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
@@ -13,5 +74,4 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.marquee {
|
.marquee {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ export default function Timetable() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<h1>Tent</h1>
|
|
||||||
<div className={style.cardContainer}>
|
<div className={style.cardContainer}>
|
||||||
<div className={style.card}>
|
<div className={style.card}>
|
||||||
<h4>Temperature</h4>
|
<h4>Temperature</h4>
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
.cardContainer {
|
.cardContainer {
|
||||||
|
padding-top: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
@@ -12,7 +13,9 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
border: 1px solid rgba(220, 220, 220, 0.4);
|
text-align: center;
|
||||||
box-shadow: 5px 5px 7px rgba(220, 220, 220, 0.5);
|
border-top: 2px solid white;
|
||||||
border-radius: 10px;
|
border-left: 2px solid white;
|
||||||
|
border-bottom: 2px solid #828282;
|
||||||
|
border-right: 2px solid #828282;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export default function Timetable() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={style.wrapper}>
|
<div className={style.wrapper}>
|
||||||
<h1>Timetable 🚉</h1>
|
<h1>Departures</h1>
|
||||||
<DepartureList departures={pStreet.departureList} name="P-Street" />
|
<DepartureList departures={pStreet.departureList} name="P-Street" />
|
||||||
<DepartureList departures={hStreet.departureList} name="H-Street" />
|
<DepartureList departures={hStreet.departureList} name="H-Street" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user