mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Removed contacts from menu
This commit is contained in:
parent
f4301d3f9e
commit
4281b5c5d2
3 changed files with 21 additions and 5 deletions
|
@ -18,9 +18,5 @@
|
||||||
"ranklist": {
|
"ranklist": {
|
||||||
"href": "/ranklist",
|
"href": "/ranklist",
|
||||||
"text": "Ranklista"
|
"text": "Ranklista"
|
||||||
},
|
|
||||||
"contact": {
|
|
||||||
"href": "/contact",
|
|
||||||
"text": "Kapcsolat"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,9 @@ function MyApp({ Component, pageProps, router }) {
|
||||||
return resp.json()
|
return resp.json()
|
||||||
})
|
})
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
setUserId(data.uid)
|
// setUserId(data.uid)
|
||||||
|
// TODO:uncomment, and delete
|
||||||
|
setUserId(1)
|
||||||
setMotd(data.motd)
|
setMotd(data.motd)
|
||||||
setUserSpecificMotd(data.userSpecificMotd)
|
setUserSpecificMotd(data.userSpecificMotd)
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,6 +2,24 @@
|
||||||
margin: 5px;
|
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 {
|
.contactsContainer > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contactsContainer > div > div {
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contactsContainer > div > div:nth-child(1) {
|
||||||
|
flex: 0 150px;
|
||||||
|
}
|
||||||
|
.contactsContainer > div > div:nth-child(2) {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue