Skip to content

Commit

Permalink
initial structure of header and nav bar
Browse files Browse the repository at this point in the history
  • Loading branch information
reesegreen2014 committed Aug 22, 2024
1 parent e68f6c7 commit 4ecf1ba
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
Binary file added public/irvan-smith-5eBW5GomfhY-unsplash.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/turlink_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import Header from './Components/Header/Header';

function App() {
return (
<div className="App">
<Header />
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Expand Down
Empty file.
22 changes: 22 additions & 0 deletions src/Components/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import React from "react";
import './Header.css';

const Header: React.FC = () => {
return (
<header className="header">
<nav className="navbar">
<div className="left-section">
<img src="/turlink_logo.png" alt="TurLink's logo"></img>
<h1 className="site-name">TurLink</h1>
</div>
<div className="nav-links">
<a href="/dashboard" className="nav-link">Dashboard</a>
<a href="/about" className="nav-link">About</a>
<a href="/login" className="nav-link">Login</a>
</div>
</nav>
</header>
)
}

export default Header;

0 comments on commit 4ecf1ba

Please sign in to comment.