-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Urban-Analytics-Technology-Platform/better…
…_images Hero images, Turing Logo, better nav, Footer tweaks
- Loading branch information
Showing
12 changed files
with
108 additions
and
75 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
--- | ||
import "../assets-arcana/css/main.css"; | ||
import { getCollection } from "astro:content"; | ||
import TuringLogo from "../logo.svg" | ||
interface Props { | ||
title: string; | ||
} | ||
const { title } = Astro.props; | ||
const projects = await getCollection("project"); | ||
const tier1Projects = projects.filter((project) => project.data.tier === 1); | ||
const tier2Projects = projects.filter((project) => project.data.tier === 2); | ||
--- | ||
|
||
<div id="header"> | ||
<!-- Logo --> | ||
<div id="background"> | ||
<h1><a href="/index.html" id="logo">{title}</a></h1> | ||
<div id="background" > | ||
<div class='relative'> | ||
<img width=150 src={TuringLogo.src} alt="Turing Logo" class="absolute" style="top:45px;left:45px" />; | ||
<h1><a href="/index.html" id="logo">{title}</a></h1> | ||
</div> | ||
</div> | ||
|
||
<!-- Nav --> | ||
<nav id="nav"> | ||
<ul> | ||
<li class="current"><a href="/index.html">Home</a></li> | ||
<li><a href="/index.html">Home</a></li> | ||
<li> | ||
<a href="#">Tier 1 Projects</a> | ||
<ul> | ||
{tier1Projects.map((project)=>( | ||
<li><a href={"/projects/"+project.slug}>{project.data.name}</a></li> | ||
))} | ||
</ul> | ||
</li> | ||
<li> | ||
<a href="#">Dropdown</a> | ||
<a href="#">Tier 2 Projects</a> | ||
<ul> | ||
<li><a href="#">Lorem dolor</a></li> | ||
<li><a href="#">Magna phasellus</a></li> | ||
<li><a href="#">Etiam sed tempus</a></li> | ||
<li> | ||
<a href="#">Submenu</a> | ||
<ul> | ||
<li><a href="#">Lorem dolor</a></li> | ||
<li><a href="#">Phasellus magna</a></li> | ||
<li><a href="#">Magna phasellus</a></li> | ||
<li><a href="#">Etiam nisl</a></li> | ||
<li><a href="#">Veroeros feugiat</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="#">Veroeros feugiat</a></li> | ||
{tier2Projects.map((project)=>( | ||
<li><a href={"/projects/"+project.slug}>{project.data.name}</a></li> | ||
))} | ||
</ul> | ||
</li> | ||
<li><a href="left-sidebar.html">Left Sidebar</a></li> | ||
<li><a href="right-sidebar.html">Right Sidebar</a></li> | ||
<li><a href="two-sidebar.html">Two Sidebar</a></li> | ||
<li><a href="no-sidebar.html">No Sidebar</a></li> | ||
</ul> | ||
</nav> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters