diff --git a/assets/main.scss b/assets/main.scss index 45156b9..7cfb543 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -47,15 +47,16 @@ body { } .menu { - @apply col-span-10 flex justify-end; + @apply hidden xl:flex col-span-10 justify-end; a { - @apply hover:text-ioprim-900 transition-colors; + @apply text-zinc-800 hover:text-ioprim-900 transition-colors; &:before { content: ''; - @apply inline-block w-[2px] h-5 mx-4 align-middle bg-gradient-to-t from-transparent via-[#333333] via-50% to-transparent; + @apply inline-block w-[2px] h-5 mx-4 align-middle bg-gradient-to-t from-transparent via-zinc-800 via-50% to-transparent; } + &:first-child::before { content: none; } @@ -69,6 +70,32 @@ body { @apply ml-2; } } + + &.toggle_visible { + @apply max-xl:flex max-xl:flex-col max-xl:text-center; + + a { + @apply max-xl:mb-2; + } + + a:before { + @media screen and (max-width: 1280px) { + content: none; + } + } + } + + &-toggle { + @apply flex xl:hidden col-span-8 justify-end; + + >span { + @apply cursor-pointer text-zinc-600 hover:text-ioprim-900 transition-colors; + + svg { + @apply text-3xl; + } + } + } } a[href^="#"] { @@ -76,31 +103,67 @@ a[href^="#"] { } .footer { - @apply px-2 py-4 bg-slate-200; + @apply px-2 py-4 bg-slate-200 text-zinc-800 pt-12; .container { @apply gap-4 } .k-logo { - @apply col-span-12 xl:col-span-2 row-span-3 text-9xl; + @apply col-span-12 xl:col-span-2 row-span-3 text-9xl text-ioprim; svg { @apply my-0 mx-auto; } + + &:after { + content: ''; + @apply block lg:hidden mr-auto ml-auto mt-5 h-[2px] max-w-44 mx-4 align-middle bg-gradient-to-r from-transparent via-zinc-800 via-50% to-transparent; + + } } &-text { - @apply col-span-12 xl:col-span-5 text-sm prose; + @apply col-span-12 xl:col-span-5 text-sm mb-2; &-small { - @apply col-span-12 xl:col-span-10 text-xs min-w-full prose; + @apply col-span-12 xl:col-span-10 text-xs min-w-full; } &-social { - @apply col-span-12 xl:col-span-10 flex gap-4 + @apply col-span-12 xl:col-span-10 flex gap-4 flex-wrap justify-center; } } + + &-icon { + @apply order-2 flex justify-center items-center gap-2; + + &:hover { + .footer-icon-text { + @apply no-underline; + } + } + + svg { + @apply mb-0; + } + + &-big { + @apply text-3xl order-1 w-full text-center; + + .footer-icon-text { + @apply no-underline; + } + } + + &-text { + @apply underline; + } + } + + &_two { + @apply xl:bg-slate-200 py-16 lg:py-8 text-sm text-zinc-500; + } } .siteblock { diff --git a/components/footer.vue b/components/footer.vue index 2efc357..7797b2f 100644 --- a/components/footer.vue +++ b/components/footer.vue @@ -15,22 +15,49 @@ const { data: footerData } = await apiFetch(`footer/?ordering=s const { data: social_networkData } = await apiFetch(`social_network/`)