Pārlūkot izejas kodu

Move tailwind styles to a local stylesheet

Bubka 8 mēneši atpakaļ
vecāks
revīzija
435e0ec546
2 mainītis faili ar 2 papildinājumiem un 19 dzēšanām
  1. 1 0
      public/healthcheck.css
  2. 1 19
      resources/views/health.blade.php

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 0
public/healthcheck.css


+ 1 - 19
resources/views/health.blade.php

@@ -3,27 +3,9 @@
     <head>
         <meta charset="utf-8">
         <meta name="viewport" content="width=device-width, initial-scale=1">
-
         <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,600&display=swap" rel="stylesheet" />
-
         <!-- Styles -->
-        <script src="https://cdn.tailwindcss.com"></script>
-
-        <script>
-            tailwind.config = {
-                theme: {
-                    extend: {
-                        fontFamily: {
-                            sans: ['Figtree', 'ui-sans-serif', 'system-ui', 'sans-serif', "Apple Color Emoji", "Segoe UI Emoji"],
-                        }
-                    }
-                }
-            }
-        </script>
+        <link rel="stylesheet" href="/healthcheck.css"></link>
     </head>
     <body class="antialiased">
         <div class="relative sm:flex sm:justify-center sm:items-center min-h-screen bg-gray-100 selection:bg-red-500 selection:text-white">

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels