Skip to content

Commit

Permalink
Merge pull request #35 from IPdotSetAF/34-responsiveness
Browse files Browse the repository at this point in the history
34 responsiveness
  • Loading branch information
IPdotSetAF authored Nov 28, 2024
2 parents 569baf2 + 88be889 commit 5601db3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
11 changes: 5 additions & 6 deletions Frontend/src/app/header/header.component.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<div id="header">
<div class="position-relative">

<div class="position-absolute h-100 w-100 row">
<div class="position-absolute w-100 row m-0 ps-1 pe-2">
<div class="col-6 header-section d-flex justify-content-start">
<a class="h-100 d-flex justify-content-start gap-2 align-items-center ps-2" [routerLink]="['/']">
<a class="h-100 d-flex justify-content-start gap-2 align-items-center" [routerLink]="['/']">
<img class="img-header" src="code-chef.svg" />
<h1 class="fs-3 m-0">CodeChef</h1>
</a>
</div>

<div class="col-6 header-section d-flex align-items-center justify-content-end p-2 gap-2">
<div class="col-6 header-section d-flex align-items-center justify-content-end p-0 gap-2">
<a role="button" class="btn-header-round btn-hover btn-circle" href="https://ipdotsetaf.ir"
title="IPdotSetAF">
<img id="ipaf" class="img-header" src="ipaf.svg" />
Expand All @@ -19,8 +19,8 @@ <h1 class="fs-3 m-0">CodeChef</h1>
</div>
</div>

<div class="row h-100 w-100">
<div class="col-sm-4 header-section "></div>
<div class="row h-100 w-100 m-0">
<div class="col-sm-4 header-section"></div>

<div class="col-sm-4 h-100 header-section d-flex justify-content-center">
<div class="dropdown">
Expand All @@ -40,7 +40,6 @@ <h1 class="fs-3 m-0">CodeChef</h1>
<a role="button" class="btn-header btn-hover" [routerLink]="['/downloads']"><i class="bi bi-download"></i>
Downloads</a>
</div>

</div>
</div>
<div class="col-12 divider"></div>
Expand Down
13 changes: 7 additions & 6 deletions Frontend/src/app/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
<div class="container-fluid">
<div id="header" class="position-absolute p-2">
<div class="d-flex align-items-center justify-content-end gap-2">
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-download fs-3" [routerLink]="['/downloads']" title="Downloads"></a>
<div class="d-flex align-items-center justify-content-end p-0 gap-2">
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-download fs-3" [routerLink]="['/downloads']"
title="Downloads"></a>
<a role="button" class="btn-header-round btn-hover btn-circle" href="https://ipdotsetaf.ir" title="IPdotSetAF">
<img id="ipaf" class="img-header" src="ipaf.svg" />
</a>
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-github fs-2" href="https://github.com/IPdotSetAF/CodeChef"
title="CodeChef Github"></a>
<a role="button" class="btn-header-round btn-hover btn-circle bi bi-github fs-2"
href="https://github.com/IPdotSetAF/CodeChef" title="CodeChef Github"></a>
</div>
</div>
</div>
<div class="container-fluid d-flex page p-4">
<div class="m-auto">
<div class="col-12 d-flex justify-content-center">
<img class="row" src="code-chef.svg" height="200px" />
<div class="row d-flex justify-content-center">
<img class="col-md-8 col-11" src="code-chef.svg" width="100%" />
</div>
<br />
<div class="row text-center">
Expand Down

0 comments on commit 5601db3

Please sign in to comment.