cross-browser code added
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (pull_request) Failing after 1m37s Details

This commit is contained in:
ROMANGOLIENKO 2024-03-13 10:38:59 +03:00
parent 15c6dcc5bc
commit 4af0da1984
6 changed files with 17 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Place favicon.ico in the root directory --> <!-- Place favicon.ico in the root directory -->
<link rel="shortcut icon" type="image/x-icon" href="{{ URL::to('img/logo/favicon.png') }}"> <link rel="shortcut icon" type="image/x-icon" href="{{ URL::to('img/logo/logo_1-2.png') }}">
<!-- CSS here --> <!-- CSS here -->

View File

@ -213,15 +213,25 @@
<body> <body>
<!--YaBrowser-->
<header> <header>
<div class="container-fluid " style="background-image: url({{ URL::to('img/front-page/bakalavr-special/fon1_blok.png') }}); background-repeat: no-repeat; background-attachment: fixed;"> <div class="container-fluid " style="background-image: url({{ URL::to('img/front-page/bakalavr-special/fon1_blok.png') }}); background-repeat: no-repeat; background-attachment: fixed;">
<?php $browser = $_SERVER['HTTP_USER_AGENT']; ?>
<?php if (strstr($browser, "YaBrowser")) { ?>
<div class=" d-none d-xl-flex justify-content-end align-items-end position-absolute float-end z-1 " style="height: 100%; bottom: 35px;" >
<div style="width: 60%">
<img class="img-fluid float-end " src="{{ URL::to('img/front-page/bakalavr-special/professor.png') }}" alt="">
</div>
</div>
<?php }else{ ?>
<div class=" d-none d-xl-flex justify-content-end align-items-end position-absolute float-end z-1 " style="height: 100%; bottom: -10px;" > <div class=" d-none d-xl-flex justify-content-end align-items-end position-absolute float-end z-1 " style="height: 100%; bottom: -10px;" >
<div style="width: 60%"> <div style="width: 60%">
<img class="img-fluid float-end " src="{{ URL::to('img/front-page/bakalavr-special/professor.png') }}" alt=""> <img class="img-fluid float-end " src="{{ URL::to('img/front-page/bakalavr-special/professor.png') }}" alt="">
</div> </div>
</div> </div>
<?php } ?>
<div class="ms-0 ms-md-5 "> <div class="ms-0 ms-md-5 ">
<div class="row"> <div class="row">
<div class="col-lg-3 col-12 d-none d-xl-flex justify-content-start align-items-center"> <div class="col-lg-3 col-12 d-none d-xl-flex justify-content-start align-items-center">