Skip to content

Commit 1417dc6

Browse files
authored
Merge pull request #42 from IPdotSetAF/41-header-and-footer
changed 404 message added header and footer tags
2 parents ee95805 + 1c972ce commit 1417dc6

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

Frontend/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@if (header) {
2-
<app-header />
2+
<header><app-header /></header>
33
}
44
<router-outlet />
5-
<app-footer />
5+
<footer><app-footer /></footer>

Frontend/src/app/home/home.component.html

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<div class="container-fluid">
2-
<div id="header" class="position-absolute p-2">
3-
<div class="d-flex align-items-center justify-content-end p-0 gap-2">
4-
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-download fs-3" [routerLink]="['/downloads']"
5-
title="Downloads"></a>
6-
<a role="button" class="btn-header-round btn-hover btn-circle" href="https://ipdotsetaf.ir" title="IPdotSetAF">
7-
<img id="ipaf" class="img-header" src="ipaf.svg" />
8-
</a>
9-
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-github fs-2"
10-
href="https://github.com/IPdotSetAF/CodeChef" title="CodeChef Github"></a>
2+
<header>
3+
<div id="header" class="position-absolute p-2">
4+
<div class="d-flex align-items-center justify-content-end p-0 gap-2">
5+
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-download fs-3" [routerLink]="['/downloads']"
6+
title="Downloads"></a>
7+
<a role="button" class="btn-header-round btn-hover btn-circle" href="https://ipdotsetaf.ir" title="IPdotSetAF">
8+
<img id="ipaf" class="img-header" src="ipaf.svg" />
9+
</a>
10+
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-github fs-2"
11+
href="https://github.com/IPdotSetAF/CodeChef" title="CodeChef Github"></a>
12+
</div>
1113
</div>
12-
</div>
14+
</header>
1315
</div>
1416
<div class="container-fluid d-flex page p-4">
1517
<div class="m-auto">

Frontend/src/app/not-found/not-found.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="m-auto">
33
<div class="row text-center">
44
<h1>404</h1>
5-
<p>Not here bro!</p>
5+
<p>Nothing to cook here!</p>
66
</div>
77
<br />
88
<div class="row">

0 commit comments

Comments
 (0)