Skip to content

Commit

Permalink
HARD FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed May 15, 2023
1 parent 4702684 commit 16e5817
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions resources/views/components/site/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
<div class="relative flex items-center justify-between gap-3">
<a href="{{ localized_route('front.pages.index') }}" class="inline-flex text-primary">
@if ($logo)
@if(env('APP_NAME') == 'CrestemOng')
{{-- @if(env('APP_NAME') == 'CrestemOng')--}}
<img
class="object-contain max-w-[180px]"
src="{{ $logo }}"
alt="{{ $title }}">
@else
<img
class="object-contain h-16 max-w-48"
src="{{ $logo }}"
alt="{{ $title }}">
@endif
{{-- @else--}}
{{-- <img--}}
{{-- class="object-contain h-16 max-w-48"--}}
{{-- src="{{ $logo }}"--}}
{{-- alt="{{ $title }}">--}}
{{-- @endif--}}

@else
<x-icon-logo class="h-12 md:h-16" />
Expand Down
14 changes: 7 additions & 7 deletions resources/views/components/site/partners.blade.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<aside class="border-b">
<div class="container flex items-center gap-4 sm:justify-end md:gap-x-8">
@if(env('APP_NAME') != 'CrestemOng')
<span class="text-sm font-medium text-gray-600">@lang('partner.banner')</span>
@endif
{{-- @if(env('APP_NAME') != 'CrestemOng')--}}
{{-- <span class="text-sm font-medium text-gray-600">@lang('partner.banner')</span>--}}
{{-- @endif--}}
<div class="flex flex-wrap items-center justify-end flex-1 gap-4 py-5 lg:gap-x-6 sm:flex-initial">
@foreach ($partners as $partner)
@if ($partner->url)
Expand All @@ -12,11 +12,11 @@
rel="noopener"
class="inline-flex hover:ring-1 ring-primary focus:outline-none focus:ring-2 ring-offset-2 px-2.5 py-1.5 shrink-0"
title="{{ $partner->name }}">
@if(env('APP_NAME') == 'CrestemOng')
{{-- @if(env('APP_NAME') == 'CrestemOng')--}}
<img class="object-contain h-[80px]" src="{{ $partner->logo }}" alt="{{ $partner->name }}">
@else
<img class="object-contain h-12" src="{{ $partner->logo }}" alt="{{ $partner->name }}">
@endif
{{-- @else--}}
{{-- <img class="object-contain h-12" src="{{ $partner->logo }}" alt="{{ $partner->name }}">--}}
{{-- @endif--}}
</a>
@else
<span class="inline-flex shrink-0">
Expand Down

0 comments on commit 16e5817

Please sign in to comment.