chore: remove logo
This commit is contained in:
parent
b6360d520a
commit
437733f4af
2 changed files with 3 additions and 40 deletions
|
@ -103,17 +103,7 @@ function SideBar({ dispatch, theme }) {
|
|||
}, [dispatch]);
|
||||
return (
|
||||
<div className={s.root}>
|
||||
<a
|
||||
href="https://github.com/haishanh/yacd"
|
||||
className={s.logoLink}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<div className={s.logo}>
|
||||
<SvgYacd width={80} height={80} />
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div className={s.logoPlaceholder} />
|
||||
<div className={s.rows}>
|
||||
{pages.map(({ to, iconId, labelText }) => (
|
||||
<SideBarRow
|
||||
|
|
|
@ -3,38 +3,11 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.logoLink {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 25px 0 15px;
|
||||
.logoPlaceholder {
|
||||
height: 15px;
|
||||
@media (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
color: #2a477a;
|
||||
transition: color 0.3s ease-in-out;
|
||||
|
||||
&:hover {
|
||||
animation: pulse 0.3s ease-in-out 0s infinite alternate;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
color: #2a477a;
|
||||
}
|
||||
100% {
|
||||
color: #1f52ac;
|
||||
}
|
||||
}
|
||||
|
||||
.rows {
|
||||
|
|
Loading…
Reference in a new issue