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