New styling
This commit is contained in:
parent
0abbfe9088
commit
b26079146c
4 changed files with 341 additions and 129 deletions
24
src/components/BottomBar.astro
Normal file
24
src/components/BottomBar.astro
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
import type Page from "../types/page.ts"
|
||||
|
||||
const sections: Array<Page> = [
|
||||
{ title: "Home", id: "home", icon: "home" },
|
||||
{ title: "Projects", id: "projects", icon: "build" },
|
||||
{ title: "About", id: "about", icon: "info" },
|
||||
{ title: "Hire", id: "hire", icon: "person" },
|
||||
]
|
||||
---
|
||||
|
||||
<mdui-navigation-bar value="home" label-visibility="labeled">
|
||||
{
|
||||
sections.map((section) => (
|
||||
<mdui-navigation-bar-item
|
||||
icon={section.icon}
|
||||
value={section.id}
|
||||
href={`#${section.id}`}
|
||||
>
|
||||
{section.title}
|
||||
</mdui-navigation-bar-item>
|
||||
))
|
||||
}
|
||||
</mdui-navigation-bar>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
import styles from "../styles/divider.module.css"
|
||||
---
|
||||
|
||||
<div class={styles.container}>
|
||||
<span class={styles.dividerIcon}>
|
||||
<mdui-icon name="star"></mdui-icon>
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
---
|
||||
import styles from "../styles/jumbo.module.css"
|
||||
import Divider from "./Divider.astro"
|
||||
import logoLong from "../images/logoLong.svg"
|
||||
import { Image } from "astro:assets"
|
||||
---
|
||||
|
||||
<header>
|
||||
<section id={styles.jumbo}>
|
||||
<Image id={styles.logoLong} src={logoLong} alt="Henry Hiles" />
|
||||
<Divider />
|
||||
<span id={styles.shortAbout}>
|
||||
Full Stack Web Developer and Discord Bot Developer
|
||||
</span>
|
||||
</section>
|
||||
</header>
|
||||
25
src/components/TopBar.astro
Normal file
25
src/components/TopBar.astro
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
import "../styles/topBar.css"
|
||||
import logo from "../images/logo.svg"
|
||||
---
|
||||
|
||||
<mdui-top-app-bar scroll-behavior="elevate">
|
||||
<mdui-icon src={logo.src}></mdui-icon>
|
||||
<mdui-top-app-bar-title><h1>Henry Hiles</h1></mdui-top-app-bar-title>
|
||||
<spacer></spacer>
|
||||
<mdui-button-icon
|
||||
href="https://github.com/Henry-Hiles"
|
||||
referrerpolicy="no-referrer"
|
||||
target="_blank"
|
||||
>
|
||||
<svg
|
||||
fill="currentColor"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M16.24 22a1 1 0 0 1-1-1v-2.6a2.15 2.15 0 0 0-.54-1.66 1 1 0 0 1 .61-1.67C17.75 14.78 20 14 20 9.77a4 4 0 0 0-.67-2.22 2.75 2.75 0 0 1-.41-2.06 3.71 3.71 0 0 0 0-1.41 7.65 7.65 0 0 0-2.09 1.09 1 1 0 0 1-.84.15 10.15 10.15 0 0 0-5.52 0 1 1 0 0 1-.84-.15 7.4 7.4 0 0 0-2.11-1.09 3.52 3.52 0 0 0 0 1.41 2.84 2.84 0 0 1-.43 2.08 4.07 4.07 0 0 0-.67 2.23c0 3.89 1.88 4.93 4.7 5.29a1 1 0 0 1 .82.66 1 1 0 0 1-.21 1 2.06 2.06 0 0 0-.55 1.56V21a1 1 0 0 1-2 0v-.57a6 6 0 0 1-5.27-2.09 3.9 3.9 0 0 0-1.16-.88 1 1 0 1 1 .5-1.94 4.93 4.93 0 0 1 2 1.36c1 1 2 1.88 3.9 1.52a3.89 3.89 0 0 1 .23-1.58c-2.06-.52-5-2-5-7a6 6 0 0 1 1-3.33.85.85 0 0 0 .13-.62 5.69 5.69 0 0 1 .33-3.21 1 1 0 0 1 .63-.57c.34-.1 1.56-.3 3.87 1.2a12.16 12.16 0 0 1 5.69 0c2.31-1.5 3.53-1.31 3.86-1.2a1 1 0 0 1 .63.57 5.71 5.71 0 0 1 .33 3.22.75.75 0 0 0 .11.57 6 6 0 0 1 1 3.34c0 5.07-2.92 6.54-5 7a4.28 4.28 0 0 1 .22 1.67V21a1 1 0 0 1-.94 1z"
|
||||
></path>
|
||||
</svg>
|
||||
</mdui-button-icon>
|
||||
</mdui-top-app-bar>
|
||||
Loading…
Reference in a new issue