Skip to content

Commit b1ff2e1

Browse files
committed
feat: add item-no-found component
1 parent b2fcca4 commit b1ff2e1

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

src/CoinyProject.Client/src/app/shared/item-no-found/item-no-found.component.css

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<div class="flex flex-col items-center justify-center bg-yellow-50 border-gray-200 rounded-lg shadow-lg p-8 mx-auto">
2+
<!-- Image Section -->
3+
<img src="no-items-found.webp" alt="No Items Found Illustration" class=" max-w-md" />
4+
5+
<!-- Heading -->
6+
<h1 class="text-2xl font-semibold text-gray-800 mb-4">No Items Found</h1>
7+
8+
<!-- Message -->
9+
<p class="text-base text-gray-600 mb-6 text-center">
10+
It looks like we couldn’t find any items that match your search. Please try again with different keywords.
11+
</p>
12+
13+
<!-- Button to Return or Retry -->
14+
<a [routerLink]="['/']"
15+
class="inline-flex items-center px-6 py-3 bg-yellow-500 text-white text-base font-semibold rounded-md hover:bg-yellow-600 transition duration-300 ease-in-out">
16+
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
17+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12h18m-6-6l6 6-6 6" />
18+
</svg>
19+
Go Back to Home
20+
</a>
21+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import {Component, Input} from '@angular/core';
2+
import {RouterLink} from "@angular/router";
3+
4+
@Component({
5+
selector: 'app-item-no-found',
6+
standalone: true,
7+
imports: [
8+
RouterLink
9+
],
10+
templateUrl: './item-no-found.component.html',
11+
styleUrl: './item-no-found.component.css'
12+
})
13+
export class ItemNoFoundComponent {
14+
15+
}

0 commit comments

Comments
 (0)