Skip to content

Commit db38ff3

Browse files
committed
Add welcome layout ...
Remove deprecated tailwind classes Refactor design to-be mobile first
1 parent 3b1d041 commit db38ff3

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/tailwindcss-stubs/resources/views/welcome.blade.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
<!-- Styles -->
1414
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
1515
</head>
16-
<body class="bg-gray-100 h-screen antialiased leading-none">
16+
<body class="bg-gray-100 h-screen antialiased leading-none font-sans">
1717
<div class="flex flex-col">
1818
@if(Route::has('login'))
19-
<div class="absolute top-0 right-0 mt-4 mr-4">
19+
<div class="absolute top-0 right-0 mt-4 mr-4 space-x-4 sm:mt-6 sm:mr-6 sm:space-x-6">
2020
@auth
2121
<a href="{{ url('/home') }}" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase">{{ __('Home') }}</a>
2222
@else
23-
<a href="{{ route('login') }}" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase pr-6">{{ __('Login') }}</a>
23+
<a href="{{ route('login') }}" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase">{{ __('Login') }}</a>
2424
@if (Route::has('register'))
2525
<a href="{{ route('register') }}" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase">{{ __('Register') }}</a>
2626
@endif
@@ -31,32 +31,32 @@
3131
<div class="min-h-screen flex items-center justify-center">
3232
<div class="flex flex-col justify-around h-full">
3333
<div>
34-
<h1 class="text-gray-600 text-center font-light tracking-wider text-5xl mb-6">
34+
<h1 class="mb-6 text-gray-600 text-center font-light tracking-wider text-4xl sm:mb-8 sm:text-6xl">
3535
{{ config('app.name', 'Laravel') }}
3636
</h1>
37-
<ul class="list-reset">
38-
<li class="inline pr-8">
37+
<ul class="flex flex-col space-y-2 sm:flex-row sm:flex-wrap sm:space-x-8 sm:space-y-0">
38+
<li>
3939
<a href="https://laravel.com/docs" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Documentation">Documentation</a>
4040
</li>
41-
<li class="inline pr-8">
41+
<li>
4242
<a href="https://laracasts.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Laracasts">Laracasts</a>
4343
</li>
44-
<li class="inline pr-8">
44+
<li>
4545
<a href="https://laravel-news.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="News">News</a>
4646
</li>
47-
<li class="inline pr-8">
47+
<li>
4848
<a href="https://nova.laravel.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Nova">Nova</a>
4949
</li>
50-
<li class="inline pr-8">
50+
<li>
5151
<a href="https://forge.laravel.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Forge">Forge</a>
5252
</li>
53-
<li class="inline pr-8">
53+
<li>
5454
<a href="https://vapor.laravel.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Vapor">Vapor</a>
5555
</li>
56-
<li class="inline pr-8">
56+
<li>
5757
<a href="https://github.com/laravel/laravel" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="GitHub">GitHub</a>
5858
</li>
59-
<li class="inline pr-8">
59+
<li>
6060
<a href="https://tailwindcss.com" class="no-underline hover:underline text-sm font-normal text-teal-800 uppercase" title="Tailwind Css">Tailwind CSS</a>
6161
</li>
6262
</ul>

0 commit comments

Comments
 (0)