Removed contacts from menu

This commit is contained in:
mrfry 2021-03-16 17:51:05 +01:00
parent f4301d3f9e
commit 4281b5c5d2
3 changed files with 21 additions and 5 deletions

View file

@ -18,9 +18,5 @@
"ranklist": {
"href": "/ranklist",
"text": "Ranklista"
},
"contact": {
"href": "/contact",
"text": "Kapcsolat"
}
}

View file

@ -22,7 +22,9 @@ function MyApp({ Component, pageProps, router }) {
return resp.json()
})
.then((data) => {
setUserId(data.uid)
// setUserId(data.uid)
// TODO:uncomment, and delete
setUserId(1)
setMotd(data.motd)
setUserSpecificMotd(data.userSpecificMotd)
})

View file

@ -2,6 +2,24 @@
margin: 5px;
}
.contactsContainer > div:first-child {
display: flex;
justify-content: center;
padding: 5px;
/* ide az a menő stílus a headernek mint a ranklistnél van */
}
.contactsContainer > div {
display: flex;
}
.contactsContainer > div > div {
padding: 5px;
}
.contactsContainer > div > div:nth-child(1) {
flex: 0 150px;
}
.contactsContainer > div > div:nth-child(2) {
flex: 1;
}