Skip to content

Commit eee7df4

Browse files
committed
feat: add top bar component
- add logo image
1 parent 12b26f3 commit eee7df4

File tree

5 files changed

+76
-0
lines changed

5 files changed

+76
-0
lines changed
22.6 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<div class="container mx-auto px-6 py-6 bg-pastel-red">
2+
<div class="flex flex-wrap -mx-4">
3+
<!-- Section Bar (Left) -->
4+
<div class="w-full lg:w-1/4 px-4">
5+
<app-section-bar></app-section-bar>
6+
</div>
7+
8+
<!-- Album View (Right) -->
9+
<div class="w-full lg:w-3/4 px-4">
10+
<app-album-view></app-album-view>
11+
</div>
12+
</div>
13+
</div>

src/CoinyProject.Client/src/app/top-bar/top-bar.component.css

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!-- Main Navigation Bar -->
2+
3+
<nav class="bg-gray-800 text-gray-100 shadow-md">
4+
<div class="container mx-auto px-6">
5+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
6+
7+
<!-- Left Side (Logo and Links) -->
8+
<div class="flex items-center space-x-8">
9+
10+
<!-- Logo -->
11+
<div class="flex items-center space-x-2">
12+
<img src="logo.png" alt="Logo" class="h-8 w-auto"> <!-- Replace with the actual logo path -->
13+
<span class="font-bold text-xl text-yellow-400">COINY</span>
14+
</div>
15+
</div>
16+
17+
<!-- Right Side (Icons and Actions) -->
18+
<div class="flex items-center space-x-6">
19+
<a href="#" class="hover:text-gray-400 transition duration-200">Розділи</a>
20+
<a href="#" class="hover:text-gray-400 transition duration-200"><i class="fas fa-sign-in-alt"></i></a>
21+
<a href="#" class="hover:text-gray-400 transition duration-200"><i class="fas fa-globe"></i> UA</a>
22+
<a href="#" class="hover:text-gray-400 transition duration-200"><i class="fas fa-info-circle"></i></a>
23+
<a href="#" class="hover:text-gray-400 transition duration-200"><i class="fas fa-search"></i></a>
24+
</div>
25+
</div>
26+
</div>
27+
</nav>
28+
29+
<!-- Sub Navigation Bar -->
30+
<div class="bg-gray-700 text-gray-200 shadow-sm">
31+
<div class="container mx-auto px-6">
32+
<div class="container mx-auto px-4 py-2 flex justify-between items-center">
33+
34+
<!-- Left Section -->
35+
<div class="flex items-center space-x-6">
36+
<a href="#" class="text-yellow-400 hover:text-yellow-500 font-semibold transition duration-200">Маркет</a>
37+
<a href="#" class="text-gray-300 hover:text-gray-400 transition duration-200">Спільнота</a>
38+
<a href="#" class="text-gray-300 hover:text-gray-400 transition duration-200">Журнал</a>
39+
</div>
40+
41+
<!-- Create Listing Button -->
42+
<a href="#" class="flex items-center space-x-2 bg-transparent border border-yellow-400 text-yellow-400 rounded-md px-4 py-2 hover:bg-yellow-400 hover:text-white transition duration-200">
43+
<span class="font-semibold">+</span>
44+
<span>Створити лот</span>
45+
</a>
46+
</div>
47+
</div>
48+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Component } from '@angular/core';
2+
import {NgOptimizedImage} from "@angular/common";
3+
4+
@Component({
5+
selector: 'app-top-bar',
6+
standalone: true,
7+
imports: [
8+
NgOptimizedImage
9+
],
10+
templateUrl: './top-bar.component.html',
11+
styleUrl: './top-bar.component.css'
12+
})
13+
export class TopBarComponent {
14+
15+
}

0 commit comments

Comments
 (0)