mirror of
https://github.com/FranP-code/Open-Telegram-to-Notion-Website.git
synced 2025-10-13 00:42:53 +00:00
Header changes
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import icon from './icon.png'
|
import icon from './icon.png'
|
||||||
import styled from 'styled-components'
|
import styled from 'styled-components'
|
||||||
|
import { Link } from 'wouter'
|
||||||
|
|
||||||
function Header() {
|
function Header() {
|
||||||
|
|
||||||
@@ -8,12 +9,16 @@ function Header() {
|
|||||||
height: 15vh;
|
height: 15vh;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
padding: 0px 2vw;
|
padding: 0px 2vw;
|
||||||
|
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
|
|
||||||
|
user-select: none;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
.logotype {
|
.logotype {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -40,16 +45,41 @@ function Header() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.links {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #000;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
`
|
`
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<HeaderStyles>
|
<HeaderStyles>
|
||||||
<div className='logotype'>
|
<Link href='/'>
|
||||||
<img src={icon} alt="Page icon"></img>
|
<div className='logotype'>
|
||||||
<h1>Telegram to Notion Bot</h1>
|
<img src={icon} alt="Page icon"></img>
|
||||||
</div>
|
<h1>Telegram to Notion Bot</h1>
|
||||||
<div>
|
</div>
|
||||||
|
</Link>
|
||||||
|
<div className="links">
|
||||||
|
<Link href="/about">
|
||||||
|
About
|
||||||
|
</Link>
|
||||||
|
<Link href="/privacy-policy">
|
||||||
|
Privacy policy
|
||||||
|
</Link>
|
||||||
|
<Link href="/terms-of-use">
|
||||||
|
Terms of use
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</HeaderStyles>
|
</HeaderStyles>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user