Skip to content

Commit

Permalink
Update top-level navbar to include Workshops and Outreach (#94)
Browse files Browse the repository at this point in the history
* Update projects.php blurb and link to docs

* Put Workshops and Outreach in top-level navbar
  • Loading branch information
paulzzy authored Dec 30, 2023
1 parent 880c290 commit 3984a93
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 33 deletions.
3 changes: 2 additions & 1 deletion public/css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@
transition: 0.3s ease;
}

@media (max-width: 1015px) {
/* 1150 px is the approximate width of the navbar */
@media (max-width: 1150px) {
.navbar-icon {
display: inline-block;
}
Expand Down
2 changes: 1 addition & 1 deletion views/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<!-- STYLESHEETS -->
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />
<link rel="stylesheet" href="/public/css/style.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/about.css?v=1.0.0?v=1.0.0" />

Expand Down
2 changes: 1 addition & 1 deletion views/blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<!-- STYLESHEETS -->
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />
<link rel="stylesheet" href="/public/css/style.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/blog.css?v=1.0.0" />

Expand Down
2 changes: 1 addition & 1 deletion views/edi.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<!-- STYLESHEETS -->
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />
<link rel="stylesheet" href="/public/css/style.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/edi.css?v=1.0.0?v=1.0.0" />
</head>
Expand Down
2 changes: 1 addition & 1 deletion views/error/error-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<link
rel="stylesheet"
type="text/css"
href="/public/css/navbar.css?v=2023.12"
href="/public/css/navbar.css?v=2023.12.1"
/>
<link
rel="stylesheet"
Expand Down
31 changes: 10 additions & 21 deletions views/includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,33 @@
<div class="bar3"></div>
</div>
<ul class="nav-list">
<li><a href="/projects">Projects</a></li>
<li><a href="/workshops">Workshops</a></li>
<li><a href="/outreach">Outreach</a></li>
<li><a href="/lab">Lab</a></li>
<div class="dropdown">
<li><a href="/about">About</a></li>
<div class="dropdown-content">
<li><a href="/officers">Officers</a></li>
<li><a href="/sponsors">Sponsors</a></li>
</div>
</div>
<div class="dropdown">
<li><a href="/projects">Projects</a></li>
<div class="dropdown-content">
<li><a href="/workshops">Workshops</a></li>
<li><a href="/outreach">Outreach</a></li>
</div>
</div>
<li><a href="/lab">Lab</a></li>
<li><a href="/sponsors">Sponsors</a></li>
</ul>
</div>
<ul class="mobile-nav-list">
<li><a href="/projects">Projects</a></li>
<li><a href="/workshops">Workshops</a></li>
<li><a href="/outreach">Outreach</a></li>
<li><a href="/lab">Lab</a></li>
<div class="responsive-dropdown">
<li>
<a href="/about">About</a>
<span class="glyphicon glyphicon-chevron-down dropdown-arrow"></span>
</li>
<div class="responsive-dropdown-content">
<li><a href="/officers">Officers</a></li>
<li><a href="/sponsors">Sponsors</a></li>
</div>
</div>
<div class="responsive-dropdown">
<li>
<a href="/projects">Projects</a>
<span class="glyphicon glyphicon-chevron-down dropdown-arrow"></span>
</li>
<div class="responsive-dropdown-content">
<li><a href="/workshops">Workshops</a></li>
<li><a href="/outreach">Outreach</a></li>
</div>
</div>
<li><a href="/lab">Lab</a></li>
<li><a href="/sponsors">Sponsors</a></li>
</ul>
<script src="../../public/js/navbar.js?v=2023.12"></script>
2 changes: 1 addition & 1 deletion views/lab.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<link rel="stylesheet" href="/public/css/style.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/lab.css?v=1.3.3" />
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />

<!-- SCRIPTS -->
<script src="/public/js/key.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion views/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<!-- STYLESHEETS -->
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/style.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />
<link rel="stylesheet" href="/public/css/lab.css?v=1.2.2" />
<link rel="stylesheet" href="/public/css/main.css?v=1.2.0" />

Expand Down
2 changes: 1 addition & 1 deletion views/officers.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@

<!-- STYLESHEETS -->
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />
<link rel="stylesheet" href="/public/css/style.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/officers.css?v=1.0.1" />

Expand Down
2 changes: 1 addition & 1 deletion views/outreach.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<!-- STYLESHEETS -->
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />
<link rel="stylesheet" href="/public/css/style.css?v=1.0.1" />
<link rel="stylesheet" href="/public/css/outreach.css?v=1.0.0" />

Expand Down
2 changes: 1 addition & 1 deletion views/projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<!-- STYLESHEETS -->
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />
<link rel="stylesheet" href="/public/css/projects.css?v=1.1.1" />
<link rel="stylesheet" href="/public/css/style.css?v=1.0.0" />

Expand Down
2 changes: 1 addition & 1 deletion views/sponsors.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<link
rel="stylesheet"
type="text/css"
href="/public/css/navbar.css?v=2023.12"
href="/public/css/navbar.css?v=2023.12.1"
/>

<!--Favicon -->
Expand Down
2 changes: 1 addition & 1 deletion views/workshops.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<!-- STYLESHEETS -->
<link rel="stylesheet" href="/public/css/style.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/footer.css?v=1.0.0" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12" />
<link rel="stylesheet" href="/public/css/navbar.css?v=2023.12.1" />
<link rel="stylesheet" href="/public/css/workshops.css?v=2.0.0" />

<!--Favicon -->
Expand Down

0 comments on commit 3984a93

Please sign in to comment.