testing
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
body {
|
||||
@apply bg-gray-400;
|
||||
}
|
||||
8
resources/views/homepage.blade.php
Normal file
8
resources/views/homepage.blade.php
Normal file
@@ -0,0 +1,8 @@
|
||||
@extends('layout')
|
||||
|
||||
@section("title", "homepage")
|
||||
|
||||
|
||||
@section('content')
|
||||
<x-emblem-heart />
|
||||
@endsection
|
||||
14
resources/views/layout.blade.php
Normal file
14
resources/views/layout.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
@vite('resources/css/app.css')
|
||||
<title>@yield('title')</title>
|
||||
</head>
|
||||
<body>
|
||||
@include('partials.navbar')
|
||||
@yield('content')
|
||||
</body>
|
||||
</html>
|
||||
42
resources/views/partials/navbar.blade.php
Normal file
42
resources/views/partials/navbar.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<header class="bg-gray-50">
|
||||
<div class="mx-auto max-w-screen-xl px-4 py-8 sm:px-6 sm:py-12 lg:px-8">
|
||||
<div class="sm:flex sm:items-center sm:justify-between">
|
||||
<div class="text-center sm:text-left">
|
||||
<h1 class="text-2xl font-bold text-gray-900 sm:text-3xl">Welcome Back, Barry!</h1>
|
||||
|
||||
<p class="mt-1.5 text-sm text-gray-500">Let's write a new blog post! 🎉</p>
|
||||
</div>
|
||||
|
||||
<div class="mt-4 flex flex-col gap-4 sm:mt-0 sm:flex-row sm:items-center">
|
||||
<button
|
||||
class="inline-flex items-center justify-center gap-1.5 rounded-lg border border-gray-200 bg-white px-5 py-3 text-gray-500 transition hover:text-gray-700 focus:outline-none focus:ring"
|
||||
type="button"
|
||||
>
|
||||
<span class="text-sm font-medium"> View Website </span>
|
||||
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="h-4 w-4"
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
>
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<button
|
||||
class="block rounded-lg bg-indigo-600 px-5 py-3 text-sm font-medium text-white transition hover:bg-indigo-700 focus:outline-none focus:ring"
|
||||
type="button"
|
||||
>
|
||||
Create Post
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user