Skip to content

Commit 2cf0d20

Browse files
author
Ajay kumar
committed
[Blog] [Ajay]: Fix footer
1 parent 6d0c200 commit 2cf0d20

File tree

4 files changed

+21
-31
lines changed

4 files changed

+21
-31
lines changed

TestArena/Blog/Common/Header.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[Required][Parameter] public string Image { get; set; }
66
[Required][Parameter] public DateTime PublishedOn { get; set; }
77
[Required][Parameter] public string Authors { get; set; }
8-
[Parameter] public string Description { get; set; }
8+
[Parameter] public string Description { get; set; } = "";
99
}
1010

1111
<style>

TestArena/Blog/PactNet/handling-events/Index.razor

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
<GithubGistSnippet Title="Student created event listener in Result service" UserId="ajaysskumar" FileName="5265e3d73d242bbdecc0b162fd4ba4b9" />
3737

3838
<p>For example, it may store student details in the Result service to avoid direct dependency on the Student service while preparing results.</p>
39-
<BlogImage Src="/images/blog/pact/student-event-listener.jpg" Alt="Student created event listener in Result service" />
4039
</Section>
4140

4241
<Section Heading="Contract Testing with PACT" Level="4">
Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
1-
@* Footer.razor *@
2-
<footer class="bg-dark text-white py-4 fixed-bottom">
1+
<footer class="bg-dark text-white py-4 mt-auto">
32
<div class="container-fluid">
4-
<div class="container-fluid">
5-
<div class="row align-items-center">
6-
<!-- Logo on the left -->
7-
<div class="col-12 col-md-4 d-flex justify-content-md-start justify-content-center">
8-
<p class="mb-0">Copyright © @DateTime.Now.Year Dev Arena</p>
9-
</div>
3+
<div class="row align-items-center">
4+
<!-- Logo on the left -->
5+
<div class="col-12 col-md-4 d-flex justify-content-md-start justify-content-center">
6+
<p class="mb-0">Copyright © @DateTime.Now.Year Dev Arena</p>
7+
</div>
108

11-
<!-- Settings button on the right -->
12-
<div class="col-12 col-md-8 d-flex justify-content-md-end justify-content-center mt-2 mt-md-0">
13-
@* <a href="https://twitter.com/yourprofile" class="text-white me-3" target="_blank">
9+
<!-- Settings button on the right -->
10+
<div class="col-12 col-md-8 d-flex justify-content-md-end justify-content-center mt-2 mt-md-0">
11+
@* <a href="https://twitter.com/yourprofile" class="text-white me-3" target="_blank">
1412
<i class="bi bi-twitter"></i>
1513
</a> *@
16-
<a href="https://github.com/ajaysskumar" class="text-white me-3" target="_blank">
17-
<i class="bi bi-github"></i>
18-
</a>
19-
<a href="https://www.linkedin.com/in/ajaykumar1807" class="text-white me-3" target="_blank">
20-
<i class="bi bi-linkedin"></i>
21-
</a>
22-
@* <a href="https://instagram.com/yourprofile" class="text-white me-3" target="_blank">
14+
<a href="https://github.com/ajaysskumar" class="text-white me-3" target="_blank">
15+
<i class="bi bi-github"></i>
16+
</a>
17+
<a href="https://www.linkedin.com/in/ajaykumar1807" class="text-white me-3" target="_blank">
18+
<i class="bi bi-linkedin"></i>
19+
</a>
20+
@* <a href="https://instagram.com/yourprofile" class="text-white me-3" target="_blank">
2321
<i class="bi bi-instagram"></i>
2422
</a> *@
25-
</div>
2623
</div>
2724
</div>
2825
</div>
29-
</footer>
26+
</footer>

TestArena/Layout/MainLayout.razor

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
@inherits LayoutComponentBase
2-
@using TestArena.Layout
3-
4-
<div class="page">
5-
@* <div class="sidebar">
6-
<NavMenu/>
7-
</div> *@
8-
9-
<main>
10-
<HeaderComponent />
112

3+
<div class="page ">
4+
<main class="d-flex flex-column min-vh-100">
5+
<HeaderComponent/>
126
<article class="content px-4">
137
@Body
148
</article>

0 commit comments

Comments
 (0)