update logo
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-04-18 22:51:36 +03:00
parent 81cba45eb3
commit 927897bd45
5 changed files with 95 additions and 24 deletions

View File

@@ -1,38 +1,76 @@
<template> <template>
<div <div class="flex row items-center no-wrap logo-component">
class="flex row items-center no-wrap logo-component" <LogoIcon
> v-bind="$attrs"
<img class="logo-svg"
src="src/assets/logo.svg" :class="{
style="height: 24px; max-width: 24px; padding-right: 4px;" 'is-animated': animated,
'hide-bg': !withBackground
}"
:style="{ color: iconColor }"
/> />
<span <div
class="text-brand" :class="'text-' + textColor"
style="margin-right: 0.05em;" class="logo-text"
style="margin-left: 0.05em;"
> >
tg <span>tg</span>
</span> <span class="text-bold">Crew</span>
</div>
<span class="text-brand text-bold">
Crew
</span>
</div> </div>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import LogoIcon from 'components/BaseLogoSvg.vue'
interface Props {
textColor?: string
iconColor?: string
withBackground?: boolean
animated?: boolean
}
withDefaults(defineProps<Props>(), {
textColor: 'primary',
iconColor: 'white',
withBackground: true,
animated: true
})
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.logo-component { .logo-svg {
svg { height: 1em;
width: 1em; width: 1em;
height: 1em;
margin-right: 0.125em; :deep(.logo-bg) {
transition: opacity 0.3s;
} }
span { &.hide-bg :deep(.logo-bg) {
line-height: 1; display: none;
}
:deep(.x), :deep(.c) {
transform-box: fill-box;
}
&.is-animated {
:deep(.x) { animation: expand-r 6s ease-in-out infinite; }
:deep(.c) { animation: o 6s ease-in-out infinite; }
:deep(.l) {
stroke-dasharray: 1;
stroke-dashoffset: 1;
stroke-width: 1.5;
animation: draw 6s ease-in-out infinite;
}
} }
} }
@keyframes expand-r { 50% { r: 8px; } }
@keyframes o { 50% { transform: var(--t); } }
@keyframes draw {
0%, 100% { stroke-dashoffset: 0; }
50% { stroke-dashoffset: 1; }
}
</style> </style>

View File

@@ -0,0 +1,33 @@
<template>
<svg
viewBox="0 0 32 32"
xmlns="http://www.w3.org/2000/svg"
v-bind="$attrs"
>
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="logo-gradient">
<stop stop-color="#2AABEE" offset="0%"></stop>
<stop stop-color="#229ED9" offset="100%"></stop>
</linearGradient>
</defs>
<rect class="logo-bg" width="32" height="32" rx="4" ry="4" fill="url(#logo-gradient)" />
<circle class="x" cx="16" cy="16" r="6" style="--t:scale(1.2)" fill="currentColor" />
<circle class="c" cx="7" cy="7" r="3" style="--t:translate(9px,9px)" fill="currentColor" />
<circle class="c" cx="28" cy="4" r="2" style="--t:translate(-12px,12px)" fill="currentColor" />
<circle class="c" cx="6" cy="26" r="4" style="--t:translate(10px,-10px)" fill="currentColor" />
<circle class="c" cx="26" cy="26" r="5" style="--t:translate(-10px,-10px)" fill="currentColor" />
<line class="l" x1="16" y1="16" x2="7" y2="7" pathLength="1" stroke="currentColor" />
<line class="l" x1="16" y1="16" x2="28" y2="4" pathLength="1" stroke="currentColor" />
<line class="l" x1="16" y1="16" x2="6" y2="26" pathLength="1" stroke="currentColor" />
<line class="l" x1="16" y1="16" x2="26" y2="26" pathLength="1" stroke="currentColor" />
</svg>
</template>
<script setup lang="ts">
defineOptions({
inheritAttrs: false
})
</script>

View File

@@ -49,5 +49,4 @@
transition: transform 0.3s ease; transition: transform 0.3s ease;
transform: rotate(0deg); transform: rotate(0deg);
} }
</style> </style>

View File

@@ -23,7 +23,7 @@
@canplay="$event.target.playbackRate = 0.5" @canplay="$event.target.playbackRate = 0.5"
/> />
<div <div
class="column items-center" class="column items-center no-wrap"
style="max-width: 75%; height: 100%; z-index: 10;" > style="max-width: 75%; height: 100%; z-index: 10;" >
<div <div
class="column justify-end text-grey-4 text-center edge-block" class="column justify-end text-grey-4 text-center edge-block"

View File

@@ -16,6 +16,7 @@ body, html, #q-app {
font-family: $typography-font-family; font-family: $typography-font-family;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
} }
* { * {