Changed Button To Gray Thus Its Not Invisible Anymore

This commit is contained in:
marvin23 2024-05-09 16:09:20 +02:00 committed by GitHub
parent f00631a2d9
commit 05a4f635bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 16 additions and 16 deletions

View File

@ -3,9 +3,9 @@
<x-slot name="header"> <x-slot name="header">
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
<h1 class="font-semibold text-2xl text-gray-800 leading-tight">Foods</h1> <h1 class="font-semibold text-2xl text-gray-800 leading-tight">Foods</h1>
<x-button-link.green href="{{ route('foods.create') }}" class="text-sm"> <x-button-link.gray href="{{ route('foods.create') }}" class="text-sm">
Add Food Add Food
</x-button-link.green> </x-button-link.gray>
</div> </div>
</x-slot> </x-slot>
<x-search-view :route="route('api:v1:foods.index')" :tags="$tags"> <x-search-view :route="route('api:v1:foods.index')" :tags="$tags">

View File

@ -3,9 +3,9 @@
<x-slot name="header"> <x-slot name="header">
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
<h1 class="font-semibold text-2xl text-gray-800 leading-tight">My Goals</h1> <h1 class="font-semibold text-2xl text-gray-800 leading-tight">My Goals</h1>
<x-button-link.green href="{{ route('goals.create') }}" class="text-sm"> <x-button-link.gray href="{{ route('goals.create') }}" class="text-sm">
Add Goal Add Goal
</x-button-link.green> </x-button-link.gray>
</div> </div>
</x-slot> </x-slot>
<table class="w-full table-fixed"> <table class="w-full table-fixed">

View File

@ -3,9 +3,9 @@
<x-slot name="header"> <x-slot name="header">
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
<h1 class="font-semibold text-xl text-gray-800 leading-tight">Add Entry</h1> <h1 class="font-semibold text-xl text-gray-800 leading-tight">Add Entry</h1>
<x-button-link.green href="{{ route('journal-entries.create', ['date' => $default_date->format('Y-m-d')]) }}" class="text-sm"> <x-button-link.gray href="{{ route('journal-entries.create', ['date' => $default_date->format('Y-m-d')]) }}" class="text-sm">
Add by Recipes/Foods Add by Recipes/Foods
</x-button-link.green> </x-button-link.gray>
</div> </div>
</x-slot> </x-slot>
<form method="POST" action="{{ route('journal-entries.store.from-nutrients') }}"> <form method="POST" action="{{ route('journal-entries.store.from-nutrients') }}">

View File

@ -3,9 +3,9 @@
<x-slot name="header"> <x-slot name="header">
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
<h1 class="font-semibold text-xl text-gray-800 leading-tight">Add Entries</h1> <h1 class="font-semibold text-xl text-gray-800 leading-tight">Add Entries</h1>
<x-button-link.green href="{{ route('journal-entries.create.from-nutrients', ['date' => $default_date->format('Y-m-d')]) }}" class="text-sm"> <x-button-link.gray href="{{ route('journal-entries.create.from-nutrients', ['date' => $default_date->format('Y-m-d')]) }}" class="text-sm">
Add by Nutrients Add by Nutrients
</x-button-link.green> </x-button-link.gray>
</div> </div>
</x-slot> </x-slot>
<form method="POST" action="{{ route('journal-entries.store') }}"> <form method="POST" action="{{ route('journal-entries.store') }}">

View File

@ -33,9 +33,9 @@
</div> </div>
</div> </div>
</h1> </h1>
<x-button-link.green href="{{ route('journal-entries.create', ['date' => $date->format('Y-m-d')]) }}" class="text-sm"> <x-button-link.gray href="{{ route('journal-entries.create', ['date' => $date->format('Y-m-d')]) }}" class="text-sm">
Add Entry Add Entry
</x-button-link.green> </x-button-link.gray>
</div> </div>
</x-slot> </x-slot>
<div class="flex align-top flex-col space-y-4 sm:flex-row sm:space-x-4 sm:space-y-0"> <div class="flex align-top flex-col space-y-4 sm:flex-row sm:space-x-4 sm:space-y-0">

View File

@ -5,9 +5,9 @@
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
<h1 class="font-semibold text-2xl text-gray-800 leading-tight">{{ $title }}</h1> <h1 class="font-semibold text-2xl text-gray-800 leading-tight">{{ $title }}</h1>
@can('editProfile', $user) @can('editProfile', $user)
<x-button-link.green href="{{ route('profiles.edit', $user) }}" class="text-sm"> <x-button-link.gray href="{{ route('profiles.edit', $user) }}" class="text-sm">
Edit Profile Edit Profile
</x-button-link.green> </x-button-link.gray>
@endcan @endcan
</div> </div>
</x-slot> </x-slot>

View File

@ -3,9 +3,9 @@
<x-slot name="header"> <x-slot name="header">
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
<h1 class="font-semibold text-2xl text-gray-800 leading-tight">Recipes</h1> <h1 class="font-semibold text-2xl text-gray-800 leading-tight">Recipes</h1>
<x-button-link.green href="{{ route('recipes.create') }}" class="text-sm"> <x-button-link.gray href="{{ route('recipes.create') }}" class="text-sm">
Add Recipe Add Recipe
</x-button-link.green> </x-button-link.gray>
</div> </div>
</x-slot> </x-slot>
<x-search-view :route="route('api:v1:recipes.index')" :tags="$tags"> <x-search-view :route="route('api:v1:recipes.index')" :tags="$tags">

View File

@ -3,9 +3,9 @@
<x-slot name="header"> <x-slot name="header">
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">
<h1 class="font-semibold text-2xl text-gray-800 leading-tight">Users</h1> <h1 class="font-semibold text-2xl text-gray-800 leading-tight">Users</h1>
<x-button-link.green href="{{ route('users.create') }}"> <x-button-link.gray href="{{ route('users.create') }}">
Add User Add User
</x-button-link.green> </x-button-link.gray>
</div> </div>
</x-slot> </x-slot>
<table class="min-w-max w-full table-auto"> <table class="min-w-max w-full table-auto">