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/blocks/white-label-broker/One.svelte
<script lang="ts">
  import { t } from '$lib/translations';
  import one from '../../../assets/images/white-label-broker/one/One.webp';
</script>

<div class="block-one">
  <picture>
    <img src={one} alt="" loading="lazy" />
  </picture>

  <p class="block-one__title">
    {@html $t('white-label-broker.All the opportunities')} <br />
    {@html $t('white-label-broker.for your complete brokerage business in one package')}
  </p>
</div>

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

  .block-one {
    height: 820px;
    position: relative;

    @include breakpoint-down('deskL') {
      height: 700px;
    }

    @include breakpoint-down('deskS') {
      height: 360px;
    }

    @include breakpoint-down('tabM') {
      height: 380px;
    }

    &:after {
      content: '';
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      position: absolute;
      background-color: rgba(175, 179, 192, 0.42);
    }

    img {
      height: 100%;
      width: 100%;
      object-fit: cover;
      object-position: center center;
    }

    &__title {
      @include titleXL;

      color: $techWhite;
      text-shadow: 0 1px 200px #9ca6b4;

      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      max-width: 730px;
      width: 100%;
      z-index: 1;

      @include breakpoint-down('deskL') {
        max-width: 737px;
      }

      @include breakpoint-down('deskS') {
        max-width: 530px;
      }

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

      > span {
        color: $redPrimary;
      }
    }
  }

  :global(.block-one__title span){
    color: $redPrimary;
  }
</style>