-
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.
- Loading branch information
1 parent
d431347
commit 02be661
Showing
15 changed files
with
173 additions
and
48 deletions.
There are no files selected for viewing
Empty file.
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,26 +1,29 @@ | ||
import Image from "next/image"; | ||
import styles from "./banner.module.scss"; | ||
import Window from "../window/window"; | ||
|
||
export default function Banner() { | ||
return ( | ||
<div className={styles.banner}> | ||
<div className={styles.profile}> | ||
<Image | ||
src="/images/profile.jpg" | ||
alt="Picture of me" | ||
width={512} | ||
height={512} | ||
priority={true} | ||
/> | ||
<Window title="About Me"> | ||
<div className={styles.banner}> | ||
<div className={styles.profile}> | ||
<Image | ||
src="/images/profile.jpg" | ||
alt="Picture of me" | ||
width={512} | ||
height={512} | ||
priority={true} | ||
/> | ||
</div> | ||
<div className={styles.description}> | ||
Hello! My name is Paul Scott. I am a software engineer at Vistar | ||
Media. I obtained my master's in computer and information science | ||
from the University of Pennsylvania, and I obtained my bachelor's | ||
degree in computer science from Penn State. My areas of interest are | ||
computer graphics, distributed systems, emulation, machine learning, | ||
software engineering, and web development. | ||
</div> | ||
</div> | ||
<div className={styles.description}> | ||
Hello! My name is Paul Scott. I am a software engineer at Vistar Media. | ||
I obtained my master's in computer and information science from the | ||
University of Pennsylvania, and I obtained my bachelor's degree in | ||
computer science from Penn State. My areas of interest are computer | ||
graphics, distributed systems, emulation, machine learning, software | ||
engineering, and web development. | ||
</div> | ||
</div> | ||
</Window> | ||
); | ||
} |
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,11 +1,10 @@ | ||
@import "../../constants.module.scss"; | ||
|
||
.footer { | ||
@include primary-style; | ||
width: 100%; | ||
font-size: 20px; | ||
font-weight: bold; | ||
line-height: 1.5; | ||
margin-top: $spacing; | ||
text-align: center; | ||
padding: 4rem 2rem; | ||
} |
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,12 +1,16 @@ | ||
import Window from "../window/window"; | ||
import styles from "./footer.module.scss"; | ||
|
||
export default function Footer() { | ||
return ( | ||
<footer className={styles.footer}> | ||
Email at <a href="mailto:[email protected]">[email protected]</a>{" "} | ||
or call at (215) 880-9592 | ||
<br /> | ||
Updated December 1<sup>st</sup>, 2024 | ||
</footer> | ||
<Window title="Footer"> | ||
<footer className={styles.footer}> | ||
Email at{" "} | ||
<a href="mailto:[email protected]">[email protected]</a> or call | ||
at (215) 880-9592 | ||
<br /> | ||
Updated December 1<sup>st</sup>, 2024 | ||
</footer> | ||
</Window> | ||
); | ||
} |
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 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 |
---|---|---|
@@ -0,0 +1,77 @@ | ||
@import "../../constants.module.scss"; | ||
|
||
@mixin double-border($width, $color1, $color2) { | ||
border-top: $width solid $color1; | ||
border-left: $width solid $color1; | ||
border-bottom: $width solid $color2; | ||
border-right: $width solid $color2; | ||
} | ||
|
||
.outerWindow { | ||
@include double-border(3.5px, #f7d9c0, #7d593b); | ||
margin-top: $spacing; | ||
background: #eda870; | ||
padding: 4px; | ||
} | ||
|
||
.innerWindow { | ||
@include double-border(1.75px, #7d593b, #f7d9c0); | ||
} | ||
|
||
.windowContent { | ||
background: #c6b2a8; | ||
} | ||
|
||
.titleBar { | ||
height: 2rem; | ||
line-height: 2rem; | ||
text-align: center; | ||
font-size: 18px; | ||
} | ||
|
||
.menu { | ||
@include double-border(1.75px, #adced7, #244953); | ||
background-color: #4992A7; | ||
height: 2.5rem; | ||
line-height: 2.5rem; | ||
font-size: 20px; | ||
|
||
span { | ||
margin-left: 1rem; | ||
} | ||
} | ||
|
||
.button { | ||
@include double-border(1.75px, #f7d9c0, #7d593b); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 2rem; | ||
height: 2rem; | ||
} | ||
|
||
.close { | ||
float: left; | ||
|
||
div { | ||
@include double-border(1.75px, #f7d9c0, #7d593b); | ||
width: 1.2rem; | ||
height: 0.4rem; | ||
} | ||
} | ||
|
||
.minimize, .maximize { | ||
float: right; | ||
} | ||
|
||
.minimize div { | ||
@include double-border(1.75px, #f7d9c0, #7d593b); | ||
width: 0.4rem; | ||
height: 0.4rem; | ||
} | ||
|
||
.maximize div { | ||
@include double-border(1.75px, #f7d9c0, #7d593b); | ||
width: 1.2rem; | ||
height: 1.2rem; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import styles from "./window.module.scss"; | ||
|
||
type WindowProps = { | ||
title: string; | ||
children?: React.ReactNode; | ||
}; | ||
|
||
export default function Window({ title, children }: WindowProps) { | ||
return ( | ||
<div className={styles.outerWindow}> | ||
<div className={styles.innerWindow}> | ||
<div className={styles.titleBar}> | ||
<div className={styles.button + " " + styles.close}> | ||
<div /> | ||
</div> | ||
<span className={styles.title}>{title}</span> | ||
<div className={styles.button + " " + styles.maximize}> | ||
<div /> | ||
</div> | ||
<div className={styles.button + " " + styles.minimize}> | ||
<div /> | ||
</div> | ||
</div> | ||
<div className={styles.menu}> | ||
<span> | ||
<u>F</u>ile | ||
</span> | ||
<span> | ||
<u>E</u>dit | ||
</span> | ||
<span> | ||
<u>V</u>iew | ||
</span> | ||
</div> | ||
<div className={styles.windowContent}>{children}</div> | ||
</div> | ||
</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
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.