cobalt/web/src/components/sidebar/CobaltLogo.svelte

21 lines
690 B
Svelte
Raw Normal View History

2024-06-14 11:33:01 +01:00
<div id="cobalt-logo">
<svg width="24" height="16" viewBox="0 0 24 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 15.6363L0 12.8594L9.47552 8.293L0 3.14038L0 0.363525L12.8575 7.4908V9.21862L0 15.6363Z" fill="white"/>
<path d="M11.1425 15.6363V12.8594L20.6181 8.293L11.1425 3.14038V0.363525L24 7.4908V9.21862L11.1425 15.6363Z" fill="white"/>
</svg>
</div>
<style>
#cobalt-logo {
display: flex;
justify-content: center;
align-items: center;
padding: calc(var(--sidebar-padding) * 2 - 2px);
}
2024-06-14 12:33:33 +01:00
@media screen and (max-width: 535px) {
#cobalt-logo {
display: none;
}
}
2024-06-14 11:33:01 +01:00
</style>