Skip to content

Instantly share code, notes, and snippets.

@dhanar98
Last active January 28, 2024 15:57
Show Gist options
  • Save dhanar98/6bee68318be1b67ccf2e22f461953544 to your computer and use it in GitHub Desktop.
Save dhanar98/6bee68318be1b67ccf2e22f461953544 to your computer and use it in GitHub Desktop.
Laravel Customized Maintenance Mode
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="h-full">
<title>{{ config('app.name', 'Laravel') }}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />
@vite(['resources/css/app.css', 'resources/js/app.js'])
<body class="flex h-full">
<div class="max-w-[50rem] flex flex-col mx-auto w-full h-full">
<header class="mb-auto flex justify-center z-50 w-full py-4">
<nav class="px-4 sm:px-6 lg:px-8" aria-label="Global">
<a class="flex-none text-xl font-semibold sm:text-3xl" href="#"
aria-label="Brand">Brand Logo</a>
</nav>
</header>
<div class="text-center py-10 px-4 sm:px-6 lg:px-8">
<h1 class="block text-7xl font-bold text-gray-800 sm:text-9xl">503</h1>
<svg class="mx-auto mb-4 w-20 h-30" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor"
d="M331.8 224.1c28.29 0 54.88 10.99 74.86 30.97l19.59 19.59c40.01-17.74 71.25-53.3 81.62-96.65c5.725-23.92 5.34-47.08 .2148-68.4c-2.613-10.88-16.43-14.51-24.34-6.604l-68.9 68.9h-75.6V97.2l68.9-68.9c7.912-7.912 4.275-21.73-6.604-24.34c-21.32-5.125-44.48-5.51-68.4 .2148c-55.3 13.23-98.39 60.22-107.2 116.4C224.5 128.9 224.2 137 224.3 145l82.78 82.86C315.2 225.1 323.5 224.1 331.8 224.1zM384 278.6c-23.16-23.16-57.57-27.57-85.39-13.9L191.1 158L191.1 95.99l-127.1-95.99L0 63.1l96 127.1l62.04 .0077l106.7 106.6c-13.67 27.82-9.251 62.23 13.91 85.39l117 117.1c14.62 14.5 38.21 14.5 52.71-.0016l52.75-52.75c14.5-14.5 14.5-38.08-.0016-52.71L384 278.6zM227.9 307L168.7 247.9l-148.9 148.9c-26.37 26.37-26.37 69.08 0 95.45C32.96 505.4 50.21 512 67.5 512s34.54-6.592 47.72-19.78l119.1-119.1C225.5 352.3 222.6 329.4 227.9 307zM64 472c-13.25 0-24-10.75-24-24c0-13.26 10.75-24 24-24S88 434.7 88 448C88 461.3 77.25 472 64 472z" />
</svg>
<h1 class="block text-7xl font-bold text-gray-800 sm:text-9x">Down for Maintenance</h1>
<p class="text-gray-600">Our Enterprise administrators are performing scheduled maintenance.</p>
</div>
<footer class="mt-auto text-center py-5">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<p class="text-sm text-gray-500">© All Rights Reserved. {{ now()->year }}</p>
</div>
</footer>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment