-
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.
Replaced color names longer than 4 characters with corresponding hex codes
- Loading branch information
1 parent
abe0318
commit 8ebcfac
Showing
12 changed files
with
141 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<enhanced:img class:cameron-face={true} src="$lib/media/hero/cameron-smile.webp?w=718&h=1000&effort=max" alt="Cameron smiling"/> | ||
|
||
<style> | ||
.cameron-face { | ||
max-width: 100%; | ||
max-height: 100%; | ||
object-fit: contain; | ||
} | ||
</style> |
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 |
---|---|---|
|
@@ -203,7 +203,7 @@ h3, span { | |
} | ||
&.open { | ||
color: white; | ||
color: #fff; | ||
border-top-color: #0078d4; | ||
} | ||
|
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 |
---|---|---|
|
@@ -23,6 +23,6 @@ div { | |
h1 { | ||
font-size: 64px; | ||
font-weight: bold; | ||
color: white; | ||
color: #fff; | ||
} | ||
</style> |
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 @@ | ||
export const trailingSlash = "always"; |
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
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,85 @@ | ||
<script> | ||
import { goto } from "$app/navigation"; | ||
import CameronFace from "$lib/components/CameronFace.svelte"; | ||
import CameronText from "$lib/components/CameronText.svelte"; | ||
import NavBar from "$lib/components/NavBar.svelte"; | ||
import HopperIcon from "$lib/components/hopper-logo/HopperIcon.svelte"; | ||
import HopperelecText from "$lib/components/hopper-logo/HopperelecText.svelte"; | ||
</script> | ||
|
||
<div id="page-container"> | ||
<NavBar/> | ||
<main> | ||
<span> | ||
When you refer to "hopperelec", you're actually referring to one of two things. Either: | ||
<ul> | ||
<li>My online portfolio, primarily from my GitHub</li> | ||
<li>Me, Cameron Johnston, and my username</li> | ||
</ul> | ||
So, this about section is split into two parts, corresponding to each of the above. | ||
</span> | ||
<div id="buttons"> | ||
<button id="hopperelec-button" type="button" on:click={() => goto("hopperelec")}> | ||
<div class="icon"> | ||
<HopperIcon fillColor="#646464" outlineColor="#fff" outlineWidth={6} typeOf3D="stroke" padding={{top: 3, right: 3, bottom: 3, left: 3}} scale={null}/> | ||
</div> | ||
<div class="text"> | ||
<HopperelecText/> | ||
</div> | ||
</button> | ||
<button id="cameron-button" type="button" on:click={() => goto("cameron")}> | ||
<div class="icon"> | ||
<CameronFace/> | ||
</div> | ||
<div class="text"> | ||
<CameronText color="#fff" thickness={100}/> | ||
</div> | ||
</button> | ||
</div> | ||
</main> | ||
</div> | ||
|
||
<style> | ||
#page-container { | ||
min-height: 100vh; | ||
background: #333; | ||
color: #fff; | ||
} | ||
main { | ||
padding: .5em 1em; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
#buttons { | ||
display: flex; | ||
flex-wrap: wrap; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
button { | ||
font-size: 3em; | ||
margin: .25em 1em; | ||
} | ||
.icon { | ||
width: 6em; | ||
#cameron-button > & { | ||
height: 8.4em; /* Hard-coded */ | ||
} | ||
} | ||
#cameron-button { | ||
position: relative; | ||
& > .text { | ||
width: 100%; | ||
position: absolute; | ||
bottom: 0.8em; | ||
} | ||
} | ||
</style> |