Revise website navigation bar to improve user experience and accessibility
Update static/css/styles.css and templates/base.html to refactor the navigation bar structure and styling, changing CSS selectors from 'nav' and 'nav-container' to '.navbar' and '.navbar-inner', and restructuring the HTML in base.html to accommodate the new class names and layout. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 5e584ab0-c340-4432-97ef-1972582b60e9 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 050566e5-f5ef-4500-9a02-b484207b4148 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/d0a1d46d-d203-4308-bc6a-312ac7c0243b/5e584ab0-c340-4432-97ef-1972582b60e9/vPN8Klq
This commit is contained in:
@@ -15,31 +15,20 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav>
|
||||
<ul class="nav-container">
|
||||
<li class="nav-item-left">
|
||||
<a href="/"><img id="logo" src="{{ url_for('static', filename='images/logo2.png') }}"></a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item-center">
|
||||
<nav class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<a href="/" class="navbar-logo">
|
||||
<img src="{{ url_for('static', filename='images/logo2.png') }}" alt="Logo">
|
||||
</a>
|
||||
<div class="navbar-links">
|
||||
<a href="/">Home</a>
|
||||
</li>
|
||||
<li class="nav-item-center">
|
||||
<a href="/contributors">Contributors</a>
|
||||
</li>
|
||||
<li class="nav-item-center">
|
||||
<a href="/competitions">Competitions</a>
|
||||
</li>
|
||||
<li class="nav-item-center">
|
||||
<a href="/sponsors">Sponsors</a>
|
||||
</li>
|
||||
<li class="nav-item-center">
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
<li class="nav-item-center">
|
||||
<a href="https://hcb.hackclub.com/donations/start/technicalturbulence" target="_blank">Donate</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<button class="menu-button">☰</button>
|
||||
<div class="nav-side">
|
||||
|
||||
Reference in New Issue
Block a user