Skip to content
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
448 changes: 448 additions & 0 deletions public/style/style.css

Large diffs are not rendered by default.

104 changes: 0 additions & 104 deletions src/components/AboutBio.astro

This file was deleted.

25 changes: 19 additions & 6 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@

---
---

<footer>
<!-- [Text of link](URL of link) -->
<a href = "https://github.com/dheadley06">Github</a>
<a href = "https://www.linkedin.com/in/dylan-delong-headley-aa1608372/">LinkedIn</a>
</footer>
<div id="contact" class="footer">
<div class="footer-box">
<div class="footer-info">
<h2>dylan</h2>
<h3>delong-headley</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
<div class="footer-links">
<article class="footer-navigation">
<h1>Navigation</h1>

</article>
<article class="footer-contact">
<h1>Contact Me</h1>

</article>
</div>
</div>
</div>
54 changes: 9 additions & 45 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
@@ -1,48 +1,12 @@

---
import Navigation from '../components/Nav.astro';
import Navigation from "./Navigation.astro";
---

<header>

<section class="site-header">
<div class="site-title">
<div class="site-header-image">
<img src = "/img/image.png" alt = "Dylan Headley headshot photo" width = 400/>
</div>
<div class="site-header-text">
Dylan Headley
</div>
</div>
</section>
<Navigation />
</header>


<style>

.site-header {
width: 100%;
display: flex;
justify-content: center;
}

.site-title {
display: flex;
margin-top: var(--universal-padding);
align-items: center;
}

.site-header-image {
flex: 1;
object-fit: cover;
}

.site-header-text {
flex: 1;
font-style: italic;
font-size: clamp(2rem, 5vw, 8rem);

}

</style>
<div class="header">
<div class="header-logo">
<h2>dylan headley</h2>
</div>
<div class="header-nav">
<Navigation />
</div>
</div>
Empty file added src/components/LinkButton.astro
Empty file.
38 changes: 0 additions & 38 deletions src/components/Nav.astro

This file was deleted.

22 changes: 22 additions & 0 deletions src/components/Navigation.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
---

<nav id="menu" class="nav" aria-label="Page Links">
<ul>
<li>
<a href = "#home">Home</a>
</li>
<li>
<a href = "#about">About Me</a>
</li>
<li>
<a href = "#writing">Writing</a>
</li>
<li>
<a href = "#design">Design</a>
</li>
<li>
<a href = "#contact">Contact</a>
</li>
</ul>
</nav>
10 changes: 8 additions & 2 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
---
const { pageTitle } = Astro.props;

import '../style/style.css';
import Header from '../components/Header.astro';
import Footer from '../components/Footer.astro';
---
Expand All @@ -12,12 +11,19 @@ import Footer from '../components/Footer.astro';
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="stylesheet" href="/style/style.css" />
<meta name="viewport" content="width=device-width" />
<title>{pageTitle}</title>
</head>
<body>
<header>
<Header />
</header>
<main>
<slot />
<slot />
</main>
<footer>
<Footer />
</footer>
</body>
</html>
12 changes: 0 additions & 12 deletions src/pages/about.astro

This file was deleted.

21 changes: 0 additions & 21 deletions src/pages/design.astro

This file was deleted.

Loading
Loading