mirror of
https://github.com/sergeyyarkov/devthread.ru.git
synced 2026-10-11 02:09:04 +03:00
some fixes
This commit is contained in:
parent
bdcb6cc55a
commit
ff2b6f0aef
@ -11,6 +11,7 @@ const OnDark = () => {
|
||||
window.__setTheme = function(theme) {
|
||||
onChangeTheme(theme)
|
||||
}
|
||||
|
||||
// onRefreshPage
|
||||
if (localStorage.getItem('dark') || (new Date().getHours() >= 22 || new Date().getHours() <= 6)) {
|
||||
window.__isDarkTheme = true
|
||||
|
||||
@ -42,12 +42,15 @@ const Footer = () => {
|
||||
</div>
|
||||
</div>
|
||||
<div className="footer-nav__helpers">
|
||||
<span>Разработка при помощи:</span>
|
||||
<div className="helpers-icons">
|
||||
<a href="https://www.gatsbyjs.org/" rel='noreferrer' target="_blank">
|
||||
<GatsbyIcon />
|
||||
GatsbyJS
|
||||
</a>
|
||||
<a href="https://www.netlify.com/" rel='noreferrer' target="_blank">
|
||||
<NetlifyIcon />
|
||||
Netlify
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -51,15 +51,20 @@ footer {
|
||||
& .footer-nav__helpers {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: flex-end;
|
||||
flex-direction: column;
|
||||
& span {
|
||||
margin-right: 10px;
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
& .helpers-icons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
& a {
|
||||
text-decoration: none;
|
||||
font-size: 0;
|
||||
}
|
||||
& a:nth-child(1) {
|
||||
text-decoration: none;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -85,7 +85,7 @@ const Header = () => {
|
||||
: null
|
||||
}
|
||||
</div>
|
||||
<button onClick={mobileHandler} className={isMobileOpen ? "header-content__button mobile active" : 'header-content__button mobile'}>
|
||||
<button aria-label='menu' onClick={mobileHandler} className={isMobileOpen ? "header-content__button mobile active" : 'header-content__button mobile'}>
|
||||
<span />
|
||||
<span />
|
||||
<span />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user