fixed main page

This commit is contained in:
ilmedova 2023-05-03 11:22:10 +05:00
parent d04b18c19c
commit 6f1bd4531c
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
<link rel="stylesheet" href="{{ asset('css/main.css') }}">
</head>
<body class="bg-gray-100" style="height:max-content; min-height: 100%">
<div class="bg-blue-900">
{{-- <div class="bg-blue-900">
<div class="flex px-6 items-center" style="justify-content: space-between">
<a href="/">
<svg xmlns="http://www.w3.org/2000/svg" style="width: 100px" viewBox="0 0 192.756 192.756"><g fill-rule="evenodd" clip-rule="evenodd"><path fill="#fff" fill-opacity="0" d="M0 0h192.756v192.756H0V0z"/><path fill="#224b8c" stroke="#000" stroke-width=".497" stroke-miterlimit="2.613" d="M184.252 149.25V43.506H8.504V149.25h175.748z"/><path fill="#f2ca30" d="M96.798 56.567l.968 2.822h2.949l-2.35 1.815.854 2.829-2.421-1.688-2.421 1.688.854-2.828-2.351-1.816h2.95l.968-2.822zM96.798 127.154l.968 2.821h2.949l-2.35 1.816.854 2.828-2.421-1.687-2.421 1.687.854-2.828-2.351-1.816h2.95l.968-2.821zM131.824 91.511l.967 2.822h2.949l-2.349 1.814.853 2.83-2.42-1.688-2.422 1.688.854-2.829-2.35-1.815h2.949l.969-2.822zM61.587 91.511l.968 2.822h2.95l-2.351 1.814.854 2.83-2.421-1.688-2.421 1.688.854-2.829-2.351-1.815h2.95l.968-2.822z"/><path fill="#f2ca30" d="M96.798 56.567l.968 2.822h2.949l-2.35 1.815.854 2.829-2.421-1.688-2.421 1.688.854-2.828-2.351-1.816h2.95l.968-2.822zM65.019 75.168l.968 2.822h2.949l-2.351 1.815.855 2.829-2.421-1.688-2.421 1.688.854-2.829-2.351-1.815h2.949l.969-2.822zM65.919 108.891l.968 2.822h2.949l-2.35 1.814.854 2.828-2.421-1.687-2.421 1.687.854-2.828-2.351-1.814h2.95l.968-2.822zM77.998 61.418l.968 2.822h2.95l-2.351 1.815.854 2.829-2.421-1.688-2.421 1.688.854-2.829-2.351-1.815h2.949l.969-2.822zM77.998 121.928l.968 2.82h2.95l-2.351 1.816.854 2.829-2.421-1.688-2.421 1.688.854-2.829-2.351-1.816h2.949l.969-2.82zM128.402 75.168l-.968 2.822h-2.95l2.352 1.815-.856 2.829 2.422-1.688 2.422 1.688-.855-2.829 2.351-1.815h-2.949l-.969-2.822zM128.402 108.828l-.968 2.822h-2.95l2.352 1.815-.856 2.828 2.422-1.688 2.422 1.69-.855-2.83 2.351-1.815h-2.949l-.969-2.822zM115.424 61.418l-.969 2.822h-2.949l2.349 1.815-.853 2.829 2.422-1.688 2.42 1.688-.854-2.829 2.352-1.815h-2.949l-.969-2.822zM115.424 121.375l-.969 2.822h-2.949l2.349 1.815-.853 2.83 2.422-1.69 2.42 1.69-.854-2.83 2.352-1.815h-2.949l-.969-2.822zM96.798 127.154l.968 2.821h2.949l-2.35 1.816.854 2.828-2.421-1.687-2.421 1.687.854-2.828-2.351-1.816h2.95l.968-2.821zM131.824 91.511l.967 2.822h2.949l-2.349 1.814.853 2.83-2.42-1.688-2.422 1.688.854-2.829-2.35-1.815h2.949l.969-2.822zM61.587 91.511l.968 2.822h2.95l-2.351 1.814.854 2.83-2.421-1.688-2.421 1.688.854-2.829-2.351-1.815h2.95l.968-2.822z"/></g></svg>
@ -21,7 +21,7 @@
<img style="width: 100px" src="/img/eutm.jpg" alt="EU-TM">
</a>
</div>
</div>
</div> --}}
@yield('content')
</body>
</html>

View File

@ -4,7 +4,7 @@
<div class="m-auto flex items-center p-7">
@foreach ($events as $event)
<div class="max-w-sm rounded-xl overflow-hidden shadow-lg my-2 pb-3 bg-gray-50">
<div class="max-w-sm rounded-xl overflow-hidden shadow-lg my-2 pb-3 bg-gray-50 m-auto">
<figure class="relative max-w-sm">
<img class="w-full rounded-t-lg" src="/storage/{{ $event->image }}" alt="{{ $event->name }}">