Skip to content

Commit c3a4008

Browse files
author
Ajay kumar
committed
[Blog] [Ajay]: Change theme to dark
1 parent 0d9f387 commit c3a4008

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@using TestArena.Layout
2+
3+
<header class="bg-dark text-white p-3 d-flex align-items-center">
4+
<div class="container-fluid">
5+
<div class="container-fluid">
6+
<div class="row align-items-center">
7+
<!-- Logo on the left -->
8+
<div class="col-12 col-md-4 d-flex justify-content-md-start justify-content-center">
9+
<h3 class="m-0">Dev Arena</h3>
10+
</div>
11+
12+
<!-- Search bar in the center -->
13+
<div class="col-12 col-md-4 d-flex justify-content-md-center justify-content-center mt-2 mt-md-0">
14+
<input type="text" class="form-control w-75" placeholder="Search...">
15+
</div>
16+
17+
<!-- Settings button on the right -->
18+
<div class="col-12 col-md-4 d-flex justify-content-md-end justify-content-center mt-2 mt-md-0">
19+
<button class="btn btn-light">Settings</button>
20+
</div>
21+
</div>
22+
</div>
23+
</div>
24+
</header>

TestArena/Layout/MainLayout.razor

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,7 @@
77
</div> *@
88

99
<main>
10-
<header class="bg-primary text-white p-3 d-flex align-items-center">
11-
<div class="container-fluid">
12-
<div class="container-fluid">
13-
<div class="row align-items-center">
14-
<!-- Logo on the left -->
15-
<div class="col-12 col-md-4 d-flex justify-content-md-start justify-content-center">
16-
<h3 class="m-0">Dev Arena</h3>
17-
</div>
18-
19-
<!-- Search bar in the center -->
20-
<div class="col-12 col-md-4 d-flex justify-content-md-center justify-content-center mt-2 mt-md-0">
21-
<input type="text" class="form-control w-75" placeholder="Search...">
22-
</div>
23-
24-
<!-- Settings button on the right -->
25-
<div class="col-12 col-md-4 d-flex justify-content-md-end justify-content-center mt-2 mt-md-0">
26-
<button class="btn btn-light">Settings</button>
27-
</div>
28-
</div>
29-
</div>
30-
</div>
31-
32-
</header>
10+
<HeaderComponent />
3311

3412
<article class="content px-4">
3513
@Body

0 commit comments

Comments
 (0)