HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode.com/src/components/footer/FooterTabs.svelte
<script lang="ts">
  import { t } from '$lib/translations';
  import logo from '../../assets/logo-black.svg';
</script>

<div class="footerTabs">
  <div class="container">
    <div class="footerTabsWrapper">
      <div class="footerTabsLogo">
        <img src={logo} alt="logo">
      </div>
      <div class="footerTabsItems">
        <a href="https://group.quadcode.com" class="footerTabsItem">{$t('Quadcode Group')}</a>
        <a href="https://quadcode.com" class="footerTabsItem active">{$t('Quadcode Brokerage Solutions')}</a>
      </div>
    </div>
  </div>
</div>

<style lang="scss">
  @import 'src/scss/variables';
  @import 'src/scss/mixins';
  @import 'src/scss/media';

  .footerTabs {
    background: $techBlue1;

    .footerTabsWrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;

      @include breakpoint-down('tabM') {
        margin-left: -20px;
        width: calc(100% + 20px * 2);
      }
    }

    .footerTabsLogo {
      display: flex;
      max-width: 197px;

      @include breakpoint-down('tabM') {
        display: none;
      }

      :global(img) {
        width: 100%;
        height: auto;
      }
    }

    .footerTabsItems {
      display: flex;
      align-items: center;

      @include breakpoint-down('tabM') {
        width: 100%;
      }
    }

    .footerTabsItem {
      @include footerLink;

      padding: 22px 25px 22px 22px;
      position: relative;

      @include breakpoint-down('deskL') {
        padding: 19px 24px 18px 26px;
      }

      @include breakpoint-down('deskS') {
        padding: 19px 24px 21px 24px;
      }

      @include breakpoint-down('tabM') {
        padding: 15px 36px;
        width: calc(100% / 2);
      }

      &:first-of-type {
        transition: 0.4s ease-in-out;
        color: $techGrey30;
        border-right: 2px solid $techWhite;

        &:hover {
          color: $fontPrimary;
        }
      }

      &.active {
        @include breakpoint-down('tabM') {
          background: $techWhite;
        }

        &:after {
          content: '';
          position: absolute;
          height: 2px;
          width: 100%;
          bottom: 0;
          left: 0;
          right: 0;
          background: $redPrimary;

          @include breakpoint-down('tabM') {
            bottom: auto;
            top: 0;
          }
        }
      }
    }
  }
</style>