Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix menu #45

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions app/views/login_info/login.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,7 @@

<!-- THE HEADER -->

<header>

<div class="container-fluid custom-container">
<div class="row no_row row-header">
<div class="brand-be">
<a href="/">
<img class="logo-c active be_logo" src="<%= asset_path "new_logo.png"%>" alt="logo">
<img class="logo-c be_logo" src="<%= asset_path "logo.png"%>" alt="logo2">
<img class="logo-c be_logo" src="<%= asset_path "logo.png"%>" alt="logo3">
<img class="logo-c be_logo" src="<%= asset_path "logo.png"%>" alt="logo4">
</a>
</div>

</div>
</div>


</header>
<%= render 'shared/header' %>

<!-- MAIN CONTENT -->
<div id="content-block">
Expand Down
19 changes: 1 addition & 18 deletions app/views/login_info/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,7 @@

<!-- THE HEADER -->

<header>

<div class="container-fluid custom-container">
<div class="row no_row row-header">
<div class="brand-be">
<a href="/">
<img class="logo-c active be_logo" src="<%= asset_path "new_logo.png"%>" alt="logo">
<img class="logo-c be_logo" src="<%= asset_path "logo.png"%>" alt="logo2">
<img class="logo-c be_logo" src="<%= asset_path "logo.png"%>" alt="logo3">
<img class="logo-c be_logo" src="<%= asset_path "logo.png"%>" alt="logo4">
</a>
</div>

</div>
</div>


</header>
<%= render 'shared/header' %>

<!-- MAIN CONTENT -->
<div id="content-block">
Expand Down
28 changes: 21 additions & 7 deletions app/views/shared/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,16 +1,30 @@
<!-- THE HEADER -->
<style>
/* CSS for small screens */
@media (max-width: 576px) {
.navbar-toggle {
width: 30%; /* Take half the width */
}

.navbar-brand {
width: 50%; /* Take half the width */
}

.navbar-brand img {
max-width: 100%; /* Ensure the logo scales properly */
}
}

</style>
<header>
<nav class="navbar" style="color: black;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<button type="button" class="navbar-toggle col-6" data-toggle="collapse" data-target="#myNavbar"> &#x25BC; Options
</button>
<a class="navbar-brand" href="/">
<img class="logo-c active be_logo" src="<%= asset_path "new_logo.png"%>" alt="logo">
</a>
<a class="navbar-brand col-6" href="/">
<img class="logo-c active be_logo" src="<%= asset_path "new_logo.png"%>" alt="logo">
</a>
</div>
<!-- Main Buttons -->
<div class="collapse navbar-collapse" id="myNavbar">
Expand Down
Loading