Skip to content

Commit 3b378fc

Browse files
committed
feat: update welcome screen
1 parent f16c73a commit 3b378fc

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

app/views/css/app.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* hello world */
22

3-
h4 {
4-
color: blanchedalmond !important;
3+
body {
4+
font-family: "Bricolage Grotesque", serif;
5+
font-size: 14px;
56
}

app/views/index.blade.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,25 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>{{ _env('APP_NAME', 'My Leaf MVC App') }}</title>
88
<link rel="shortcut icon" href="https://leafphp.dev/logo-circle.png" type="image/x-icon">
9+
<link rel="stylesheet" href="@assets('css/styles.css')">
910

10-
@vite('css/app.css')
11+
{{-- @vite('css/app.css') --}}
1112

12-
<link rel="stylesheet"
13-
href="https://fonts.googleapis.com/css?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700;display=swap">
13+
<link
14+
href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,[email protected],200..800&display=swap"
15+
rel="stylesheet">
1416

1517
@alpine
1618
</head>
1719

1820
<body
19-
class="font-sans antialiased bg-gradient-to-br from-transparent via-white to-green-100 dark:from-[#102e36] dark:via-[#001318] dark:to-[#001318] dark:text-white/50">
21+
class="antialiased bg-gradient-to-br from-transparent via-white to-green-100 dark:from-[#102e36] dark:via-[#001318] dark:to-[#001318] dark:text-white/50">
2022
<div class="text-black/50 dark:text-white/50 flex flex-col justify-between items-center min-h-screen">
21-
@include('components.topnav')
23+
@includeIf('components.topnav')
2224

23-
<main class="py-10 max-w-7xl mx-auto px-4 sm:px-0">
25+
<div class="-mt-10"></div>
26+
27+
<main class="py-10 max-w-7xl mx-auto px-4 xl:px-0">
2428
<div class="grid gap-6 lg:grid-cols-2 lg:gap-8">
2529
<a href="https://leafphp.dev/docs/" id="docs-card"
2630
class="gradient-border flex flex-col items-start gap-6 overflow-hidden rounded-lg bg-white p-6 shadow-[0px_14px_34px_0px_rgba(0,0,0,0.08)] ring-1 ring-white/[0.05] transition duration-300 hover:text-black/70 hover:ring-[#42d392]/40 focus:outline-none focus-visible:ring-[#3eaf7c] md:row-span-3 lg:p-10 lg:pb-10 dark:bg-[#001e26] dark:ring-gray-800 dark:hover:text-white/70 dark:focus-visible:ring-[#3eaf7c]">

public/assets/css/styles.css

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)