Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ezralazuardy committed May 4, 2024
1 parent 3b06bcb commit a1035a6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
2 changes: 2 additions & 0 deletions resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
@livewireChartsScripts

<!-- Scripts -->
<!-- @vite(['resources/css/app.css', 'resources/js/app.js']) -->
@vite('resources/css/app.css')
@if (app()->environment('production'))
@once
Expand All @@ -33,6 +34,7 @@
@endif
</head>


<body class="font-sans antialiased">
<x-banner />

Expand Down
34 changes: 24 additions & 10 deletions resources/views/layouts/guest.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,40 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">

<title>{{ config('app.name', 'Laravel') }}</title>

<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
<!-- Preconnects -->
<link rel="preconnect" href="{{ config('app.url') }}" crossorigin />
<link rel="preconnect" href="https://fonts.googleapis.com" crossorigin />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://static.cloudflareinsights.com" crossorigin />
<link rel="preconnect" href="https://cloudflareinsights.com" crossorigin />

<!-- Scripts -->
@vite(['resources/css/app.css', 'resources/js/app.js'])
<!-- Fonts -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" />

<!-- Styles -->
<!-- Livewire -->
@livewireStyles
@livewireScripts
@livewireChartsScripts

<!-- Scripts -->
<!-- @vite(['resources/css/app.css', 'resources/js/app.js']) -->
@vite('resources/css/app.css')
@if (app()->environment('production'))
@once
<script defer src="https://static.cloudflareinsights.com/beacon.min.js" data-spa="auto"
data-cf-beacon='{"token": "83fc6447285a42cd8d3d6ad10f4dac0a"}'></script>
@endonce
@endif
</head>

<body>

<body class="font-sans antialiased">
<div class="font-sans text-gray-900 dark:text-gray-100 antialiased">
{{ $slot }}
</div>

@livewireScripts
</body>

</html>

0 comments on commit a1035a6

Please sign in to comment.