Files
lucent-laravel/front/views/layouts/account.blade.php
T

35 lines
1.0 KiB
PHP
Raw Normal View History

2023-10-02 23:10:49 +03:00
<!DOCTYPE html>
2024-08-14 22:04:34 +03:00
<html lang="en">
2023-10-02 23:10:49 +03:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title') - Lucent Data Platform</title>
2025-05-15 19:18:03 +03:00
<meta name="htmx-config" content='{"selfRequestsOnly": false}' />
2024-08-14 22:04:34 +03:00
@if(config("lucent.env") === "production")
2023-10-23 18:49:47 +03:00
<!-- if production -->
2025-03-20 20:53:51 +02:00
<link rel="stylesheet" href="{{url('vendor/lucent/dist/'.$manifest['main.js']["css"][0])}}"/>
<script type="module" src="{{url('vendor/lucent/dist/'.$manifest['main.js']["file"])}}"></script>
2023-10-23 18:49:47 +03:00
@else
<!-- if development -->
@php
echo '<script type="module" crossorigin src="http://127.0.0.1:5173/@vite/client"></script>';
@endphp
<script type="module" crossorigin src="http://127.0.0.1:5173/main.js"></script>
@endif
2023-10-17 18:30:41 +03:00
2025-03-20 20:57:47 +02:00
<link rel="icon" type="image/x-icon" href="{{url('favicon.ico')}}">
2023-10-02 23:10:49 +03:00
</head>
2024-08-14 22:04:34 +03:00
<body>
<div>
@yield('content')
</div>
2023-10-02 23:10:49 +03:00
</body>
</html>