Fix: Force add super-admin views to git
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m52s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m52s
The resources/views directory is ignored by .gitignore, so the custom super-admin views were not being tracked or deployed, causing 'View [super-admin.session.login] not found' errors in production. This commit forces them to be tracked.
This commit is contained in:
33
resources/views/super-admin/layouts/anonymous.blade.php
Normal file
33
resources/views/super-admin/layouts/anonymous.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ app()->getLocale() }}" dir="{{ in_array(app()->getLocale(), ['fa', 'ar']) ? 'rtl' : 'ltr' }}">
|
||||
<head>
|
||||
<title>Super Admin Login</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="base-url" content="{{ url()->to('/') }}">
|
||||
|
||||
{{ vite()->set(['src/Resources/assets/css/app.css', 'src/Resources/assets/js/app.js']) }}
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
|
||||
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap" rel="stylesheet" />
|
||||
|
||||
<link type="image/x-icon" href="{{ vite()->asset('images/favicon.ico') }}" rel="shortcut icon" sizes="16x16" />
|
||||
|
||||
<style>
|
||||
:root { --brand-color: #0E90D9; }
|
||||
</style>
|
||||
</head>
|
||||
<body class="font-inter">
|
||||
<div id="app">
|
||||
<x-admin::flash-group />
|
||||
{{ $slot }}
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.addEventListener("load", function(event) {
|
||||
app.mount("#app");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user