add a bunch of pics and embolden homepage styling
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Generated
+40748
File diff suppressed because it is too large
Load Diff
@@ -4,17 +4,17 @@ import { Link } from "gatsby";
|
||||
|
||||
const getButtonClasses = (isClient) =>
|
||||
classnames(
|
||||
"z-20 rounded-md text-md inline-block px-2 py-1 mt-1 md:py-2 md:px-3 md:my-1 mr-2 text-md hover:underline",
|
||||
"z-20 rounded-md text-md inline-block px-2 py-1 mt-1 md:py-2 md:px-3 md:my-1 mr-2 text-md hover:underline text-black",
|
||||
isClient
|
||||
? "text-muted-light bg-muted-dark hover:bg-muted blurred-or-opaque-bg-2"
|
||||
? "cool-border-small hover:bg-vibrant"
|
||||
: "text-gray-200"
|
||||
);
|
||||
|
||||
const ActionButtons = ({ isClient, image, shuffleImage }) => (
|
||||
<div className="flex flex-col">
|
||||
<div className="text-white p-4 m-4 bg-buzzwordsPrimary blurred-or-opaque-bg-1 rounded-xl flex flex-col text-center z-10">
|
||||
<div className="text-muted-light p-4 m-4 bg-muted-dark rounded-xl flex flex-col text-center z-10">
|
||||
<h3 className="mb-2 drop-shadow">Try my word game!</h3>
|
||||
<a className="rounded-full bg-buzzwordsPrimary hover:bg-yellow-300 text-black p-2" href="https://buzzwords.gg">
|
||||
<a className="rounded-full bg-muted-light hover:bg-vibrant text-muted-dark p-2" href="https://buzzwords.gg">
|
||||
Buzzwords
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -61,14 +61,6 @@ const Nav = ({ ar, isClient }) => (
|
||||
LinkedIn
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
className={getNavClasses(isClient)}
|
||||
href="https://devpost.com/chuckdries"
|
||||
>
|
||||
Devpost
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
className={getNavClasses(isClient)}
|
||||
|
||||
+43
-44
@@ -5,11 +5,9 @@ import { Helmet } from "react-helmet";
|
||||
import { take } from "ramda";
|
||||
import classnames from "classnames";
|
||||
|
||||
import {
|
||||
getHelmetSafeBodyStyle,
|
||||
getVibrant,
|
||||
getAspectRatio,
|
||||
} from "../utils";
|
||||
import '../styles/index.css';
|
||||
|
||||
import { getHelmetSafeBodyStyle, getVibrant, getAspectRatio } from "../utils";
|
||||
import Nav from "../components/index/Nav";
|
||||
import ActionButtons from "../components/index/ActionButtons";
|
||||
import { use100vh } from "react-div-100vh";
|
||||
@@ -123,7 +121,7 @@ const IndexPage = ({
|
||||
className={classnames(
|
||||
"font-serif",
|
||||
imageIsLandscape
|
||||
? "landscape:grid portrait:h-actual-screen portrait:flex flex-col justify-evenly"
|
||||
? "landscape:grid portrait:h-actual-screen portrait:flex flex-col justify-center"
|
||||
: "portrait:grid landscape:flex flex-row"
|
||||
)}
|
||||
>
|
||||
@@ -137,15 +135,18 @@ const IndexPage = ({
|
||||
style={{ gridArea: "1/1" }}
|
||||
>
|
||||
<Nav ar={ar} isClient={isClient} />
|
||||
<div className="flex flex-col items-center">
|
||||
<div
|
||||
className={classnames(
|
||||
"rounded-[50px] p-5 flex flex-col items-center z-10 border-r-[20px] border-b-[20px]",
|
||||
isClient ? "cool-border-big" : "bg-gray-50"
|
||||
)}
|
||||
style={{
|
||||
marginBottom: "-90px",
|
||||
}}
|
||||
>
|
||||
<h1
|
||||
className={classnames(
|
||||
"mb-0 mt-0 text-center font-black z-20 text-7xl md:text-8xl lg:text-9xl",
|
||||
isClient ? "filter drop-shadow-dark" : "text-white",
|
||||
isClient &&
|
||||
(imageIsLandscape
|
||||
? "text-vibrant-light landscape:text-gray-50 landscape:opacity-80"
|
||||
: "text-gray-50 opacity-80 landscape:text-vibrant-light")
|
||||
"mb-0 mt-0 text-center font-black z-20 text-7xl md:text-8xl lg:text-9xl"
|
||||
)}
|
||||
style={{ lineHeight: "85%" }}
|
||||
>
|
||||
@@ -153,21 +154,17 @@ const IndexPage = ({
|
||||
</h1>
|
||||
<h2
|
||||
className={classnames(
|
||||
"p-3 text-center z-20 font-bold text-xl lg:text-2xl",
|
||||
isClient ? "filter drop-shadow-dark" : "text-white",
|
||||
isClient &&
|
||||
(imageIsLandscape
|
||||
? "text-vibrant-light landscape:text-gray-100"
|
||||
: "text-gray-100 landscape:text-vibrant-light")
|
||||
"p-3 text-center z-20 font-bold text-lg md:text-2xl lg:text-3xl"
|
||||
)}
|
||||
style={{ lineHeight: "110%" }}
|
||||
>
|
||||
Full Stack Software Engineer & Hobbyist Photographer
|
||||
Full Stack Software Engineer & Photographer
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div
|
||||
className={classnames(
|
||||
"mt-[100px]",
|
||||
imageIsLandscape ? "block portrait:hidden" : "block"
|
||||
)}
|
||||
>
|
||||
@@ -177,7 +174,6 @@ const IndexPage = ({
|
||||
shuffleImage={shuffleImage}
|
||||
/>
|
||||
</div>
|
||||
{/* <div className={isLandscape ? 'hidden portrait:block' : 'hidden'}></div> */}
|
||||
</div>
|
||||
{isClient ? (
|
||||
<GatsbyImage
|
||||
@@ -220,35 +216,38 @@ export const query = graphql`
|
||||
sourceInstanceName: { eq: "gallery" }
|
||||
base: {
|
||||
in: [
|
||||
"20160530-DSC09108.jpg" # portrait red flowers
|
||||
# "DSC00201.jpg" # duck
|
||||
"DSC04905.jpg" # purple layers
|
||||
"DSC05761.jpg" # monument valley
|
||||
"DSC05851.jpg" # utahn highway sunset
|
||||
"DSC06245.jpg" # snowy milky way
|
||||
# "DSC08521.jpg" # firepit bloom j&e
|
||||
# "20160530-DSC09108.jpg" # portrait red flowers
|
||||
# # "DSC00201.jpg" # duck
|
||||
# "DSC04905.jpg" # purple layers
|
||||
# "DSC05761.jpg" # monument valley
|
||||
# "DSC05851.jpg" # utahn highway sunset
|
||||
# "DSC06245.jpg" # snowy milky way
|
||||
# # "DSC08521.jpg" # firepit bloom j&e
|
||||
# "DSC07490.jpg" # house on prairie
|
||||
"DSC02538.jpg" # portrait pink cactus bloom
|
||||
"20190624-DSC00771.jpg" # glacier forest fog
|
||||
# "DSC00237.jpg" # cotton candy clouds
|
||||
"_DSC6062.jpg" # field of wildflowers
|
||||
"_DSC6060.jpg" # edge of the world
|
||||
"_DSC6219.jpg" # whihte/yellow rosebush
|
||||
"_DSC6243.jpg" # bright rose in darkness
|
||||
"_DSC6400-2.jpg" # Horsetail falls
|
||||
"_DSC6798.jpg" # Japanese zen garden
|
||||
"_DSC6481.jpg" # Mt Hood from Powell Butte
|
||||
"_DSC5916.jpg" # blue dart stinger
|
||||
"_DSC0286.jpg" # god rays
|
||||
"_DSC8998.jpg" # forest road
|
||||
"DSC01169.jpg" # ferris wheel reflection
|
||||
# "DSC02538.jpg" # portrait pink cactus bloom
|
||||
# "20190624-DSC00771.jpg" # glacier forest fog
|
||||
# # "DSC00237.jpg" # cotton candy clouds
|
||||
# "_DSC6062.jpg" # field of wildflowers
|
||||
# "_DSC6060.jpg" # edge of the world
|
||||
# "_DSC6219.jpg" # whihte/yellow rosebush
|
||||
# "_DSC6243.jpg" # bright rose in darkness
|
||||
# "_DSC6400-2.jpg" # Horsetail falls
|
||||
# "_DSC6798.jpg" # Japanese zen garden
|
||||
# "_DSC6481.jpg" # Mt Hood from Powell Butte
|
||||
# "_DSC5916.jpg" # blue dart stinger
|
||||
# "_DSC0286.jpg" # god rays
|
||||
# "_DSC8998.jpg" # forest road
|
||||
# "DSC01169.jpg" # ferris wheel reflection
|
||||
"DSC01800.jpg" # cherry blossom landscape sunny sky
|
||||
"DSC01772.jpg" # cherry blossom portrait sunny sky
|
||||
"DSC06201.jpg" # Wheatland snowy hills
|
||||
"DSC01924.jpg" # cherry blossom sea
|
||||
# "DSC06201.jpg" # Wheatland snowy hills
|
||||
# "DSC01924.jpg" # cherry blossom sea
|
||||
"DSC03157.jpg" # constellation of flowers
|
||||
"DSC02610.jpg" # peter iredale portrait
|
||||
"DSC02615.jpg" # rori iredale beach field camera
|
||||
"DSC06490.jpg" # Japanese garden steps
|
||||
"DSC06687.jpg" # Multnomah Falls long exposure
|
||||
"DSC06616.jpg" # B&W abstract
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
/* main.hero {
|
||||
text-vibrant-dark border-vibrant bg-vibrant-light
|
||||
|
||||
} */
|
||||
|
||||
.cool-border-big {
|
||||
color: rgb(var(--dark-vibrant));
|
||||
border: 1px solid rgb(var(--dark-vibrant));
|
||||
background: rgb(var(--light-vibrant));
|
||||
box-shadow: 10px 10px 0px 0px rgb(var(--dark-vibrant));
|
||||
}
|
||||
.cool-border-small {
|
||||
color: rgb(var(--dark-vibrant));
|
||||
border: 1px solid black;
|
||||
background: rgb(var(--light-vibrant));
|
||||
box-shadow: 3px 3px 0px 0px rgb(var(--dark-vibrant));
|
||||
}
|
||||
.cool-border-small:hover{
|
||||
box-shadow: 6px 6px 0px 0px rgb(var(--dark-vibrant));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user