Skip to content

Commit

Permalink
- company details page tweaks (#390)
Browse files Browse the repository at this point in the history
* - company details page tweaks

* - contact page tweaks
  • Loading branch information
krzysztofrewak authored Nov 4, 2024
1 parent 719a9e5 commit 24ddee4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 10 deletions.
28 changes: 22 additions & 6 deletions resources/views/company-data.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
<div class="flex mt-3">
<span class="sr-only">{{ __('alt.mail') }}</span>
<i class="ti ti-mail text-2xl text-blue-dark"></i>
<div class="ml-3 my-auto">{{ __('content.data.email') }}</div>
<div class="ml-3 my-auto"><a href="mailto:{{ __('content.data.email') }}">{{ __('content.data.email') }}</a></div>
</div>
<div class="flex mt-3">
<span class="sr-only">{{ __('alt.phone') }}</span>
<i class="ti ti-phone text-2xl text-blue-dark"></i>
<div class="ml-3 my-auto">{{ __('content.data.phone') }}</div>
<div class="ml-3 my-auto"><a href="callto:{{ __('content.data.phone') }}">{{ __('content.data.phone') }}</a></div>
</div>
</div>
</div>
Expand All @@ -50,10 +50,26 @@
<div class="order-1 2xl:order-none bg-blue-light p-10 2xl:p-0 lg:bg-transparent rounded-lg lg:col-span-2 w-[300px] lg:w-auto 2xl:w-full">
<div class="text-lg font-bold mb-3 lg:hidden lg:text-center">{{ __("content.data.info") }}</div>
<div class="flex flex-col lg:flex-row space-y-0.5 lg:gap-8 place-self-center 2xl:place-items-end place-content-between text-blue-dark">
<div><span class="text-sm lg:text-lg lg:font-bold lg:pr-4">NIP</span><span class="lg:hidden">: </span><span class="2xl:text-sm my-auto 2xl:my-0 2xl:font-medium">{{ __("content.data.NIP") }}</span></div>
<div><span class="text-sm lg:text-lg lg:font-bold lg:pr-4">VAT</span><span class="lg:hidden">: </span><span class="2xl:text-sm my-auto 2xl:font-medium">{{ __("content.data.VAT") }}</span></div>
<div><span class="text-sm lg:text-lg lg:font-bold lg:pr-4">REGON</span><span class="lg:hidden">: </span><span class="2xl:text-sm my-auto 2xl:font-medium">{{ __("content.data.REGON") }}</span></div>
<div><span class="text-sm lg:text-lg lg:font-bold lg:pr-4">KRS</span><span class="lg:hidden">: </span><span class="2xl:text-sm my-auto 2xl:font-medium">{{ __("content.data.KRS") }}</span></div>
<div class="flex items-center">
<div class="text-sm lg:text-lg lg:font-bold lg:pr-4">NIP</div>
<div class="lg:hidden">:&nbsp;</div>
<div class="2xl:text-sm my-auto 2xl:my-0 2xl:font-medium">{{ __("content.data.NIP") }}</div>
</div>
<div class="flex items-center">
<div class="text-sm lg:text-lg lg:font-bold lg:pr-4">VAT</div>
<div class="lg:hidden">:&nbsp;</div>
<div class="2xl:text-sm my-auto 2xl:font-medium">{{ __("content.data.VAT") }}</div>
</div>
<div class="flex items-center">
<div class="text-sm lg:text-lg lg:font-bold lg:pr-4">REGON</div>
<div class="lg:hidden">:&nbsp;</div>
<div class="2xl:text-sm my-auto 2xl:font-medium">{{ __("content.data.REGON") }}</div>
</div>
<div class="flex items-center">
<div class="text-sm lg:text-lg lg:font-bold lg:pr-4">KRS</div>
<div class="lg:hidden">:&nbsp;</div>
<div class="2xl:text-sm my-auto 2xl:font-medium">{{ __("content.data.KRS") }}</div>
</div>
</div>
</div>
</div>
Expand Down
7 changes: 3 additions & 4 deletions resources/views/contact.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
@csrf
<div class="grid gap-y-3">
<div>
<label for="email"
class="block text-sm font-normal leading-6 text-blue-dark ml-2">{{ __('content.contact.form.email') }}</label>
<label for="email" class="block text-sm font-normal leading-6 text-blue-dark ml-2">{{ __('content.contact.form.email') }}</label>
<div class="mt-2.5 ">
<input name="email" id="email" autocomplete="given-e-mail"
value="{{ old('email') }}"
Expand Down Expand Up @@ -97,12 +96,12 @@ class="w-full text-xl mx-0 bg-website-normal m-2 p-3 sm:text-lg h-min text-cente
<div class="flex mt-3 items-center">
<span class="sr-only">{{ __('alt.phone') }}</span>
<i class="ti ti-phone text-2xl text-blue-dark"></i>
<div class="ml-4">{{ __('content.contact.phone') }}</div>
<div class="ml-4"><a href="callto:{{ __('content.contact.phone') }}">{{ __('content.contact.phone') }}</a></div>
</div>
<div class="flex mt-3 items-center">
<span class="sr-only">{{ __('alt.mail') }}</span>
<i class="ti ti-mail text-2xl text-blue-dark"></i>
<div class="ml-4">{{ __('content.contact.email') }}</div>
<div class="ml-4"><a href="mailto:{{ __('content.contact.email') }}">{{ __('content.contact.email') }}</a></div>
</div>
</div>
</div>
Expand Down

0 comments on commit 24ddee4

Please sign in to comment.