-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(fluent): update to more fluent components (#33)
- Loading branch information
1 parent
bede0b6
commit d11f7bd
Showing
7 changed files
with
48 additions
and
47 deletions.
There are no files selected for viewing
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
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 was deleted.
Oops, something went wrong.
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,9 +1,13 @@ | ||
'use client'; | ||
|
||
import { Text } from "@fluentui/react-components"; | ||
|
||
export default function Footer() { | ||
const _today: Date = new Date(); | ||
|
||
return ( | ||
<footer className="d-flex justify-content-end mt-auto p-3"> | ||
© Victor Frye {_today.getFullYear()} | ||
<Text as="p" align="end" block>© Victor Frye {_today.getFullYear()}</Text> | ||
</footer> | ||
) | ||
} |
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,16 +1,25 @@ | ||
'use client'; | ||
|
||
import ProfileAvatar from "./avatar"; | ||
import { Persona, Text } from "@fluentui/react-components"; | ||
|
||
export default function Header() { | ||
return ( | ||
<header id="header" className="d-flex align-items-center"> | ||
<ProfileAvatar /> | ||
|
||
<div className="d-flex flex-column p-3 gap-1"> | ||
<h1 className="text-primary"><strong>[Victor Frye]</strong></h1> | ||
<em>Your friendly neighborhood developer</em> | ||
</div> | ||
<header id="header" className="d-flex align-items-center py-3"> | ||
<Persona | ||
avatar={{ | ||
image: { src: "/images/profile.png", alt: "a profile picture of Victor Frye" }, | ||
color: "neutral", | ||
name: "Victor Frye", | ||
active: "active", | ||
activeAppearance: "ring-shadow", | ||
size: 72 | ||
}} | ||
name="Victor Frye" | ||
primaryText={<Text as="h1" weight="bold" wrap={false} className="text-primary">[Victor Frye]</Text>} | ||
secondaryText={<Text as="p" block/>} | ||
tertiaryText={<Text as="em" >Your friendly neighborhood developer</Text>} | ||
size="huge" | ||
/> | ||
</header> | ||
) | ||
} |
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