Skip to content

Commit 7929aaf

Browse files
committed
modified media file formats to AVIF and AV1, with fallbacks for H265, H265, and JPEG
1 parent d434450 commit 7929aaf

34 files changed

+237
-131
lines changed

.firebase/hosting.YnVpbGQ.cache

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
favicon.ico,1657132704394,c5bfaf489c76198724beac38fd4b3fca1125bbf8ba0f3ffd9ba9190bf6f53cea
2+
logo192.png,1657132692666,94a05bb86f2fa54e8d3f48900f954b5e79c3ea27468b473afd15103f852ef107
3+
logo512.png,1657132682614,7b92476b36f05aa53bd69500645fb5fe8866d7f0e3ef517c7b6529251418faff
4+
manifest.json,1657132371588,03d105d6225429616e0596db9f20a9c62fc48e2564cd1fc208ea60e6af1a0297
5+
robots.txt,1650942577330,bfe106a3fb878dc83461c86818bf74fc1bdc7f28538ba613cd3e775516ce8b49
6+
asset-manifest.json,1657829112988,c1ab03361ac5d599a6733ea4b8b22d5f7c572ac44a8debdff100121604b380e6
7+
index.html,1657829112988,1590ef6a3edd9c0754ba55a664db46790700c563cb3cbd95f684ced2c71dea5a
8+
static/css/main.d819203b.css,1657829112997,b194d80e43401a1c1f169ae74dc6730e1121a55c29e441fc044041af2effd374
9+
static/css/main.d819203b.css.map,1657829112998,2ec85b58f0e75cf4fe776dfe211fc58dcd592908aa00127adbe4dc997c5d0829
10+
static/js/787.cda612ba.chunk.js,1657829112997,bfd132cf30c4fc458aab63f8fb2d23785590a026a1cca2b97e5b7762f6d57df7
11+
static/js/main.6ecde0db.js.LICENSE.txt,1657829112997,95cfff0d80fe8c950e4635524b106edf7b8ed9c6a91c0498cb6f2440f661f48c
12+
static/js/787.cda612ba.chunk.js.map,1657829112998,b2951aaefc907405199924466aa3611981c93baa933053878b4820131e37e4e6
13+
static/media/munro.f78662ff4aad4d038806.ttf,1657829112997,20391d127ab073c6108d379243b6af3bf56456829f3102be643063141524ea38
14+
static/media/animated-14fps.0a0c585671594fb5b8d7.png,1657829112997,01b9d75a2e4091fe5814de2e31d0e13c3c41c94f3141bc554ce2930b7cffe1f8
15+
static/media/DeerfallBannerPoster.da9b95c64930f253bad0.avif,1657829112997,97801686c427e88a0435c83da7e8169cc9f89c3fb7773de869092077d7a1304c
16+
static/media/MediaMatchupMain.a4679932dd8686a8a9fc.avif,1657829112997,51bfb191530232ca3eb81f40f2c227acdbff36ad57bc570b9c9fbf9329e8dec6
17+
static/js/main.6ecde0db.js,1657829112997,d61dd4a72ef55459fa4f9ccd16e57c23d99de34f752cc8a56df93b2467155478
18+
static/media/DeerfallProRes_AV1.d420aebda0fdbb533e69.mp4,1657829112999,dc1f6c0e3c7adfe3b0b2c184a62775168ba847fa060460aa1a99535186060d3d
19+
static/js/main.6ecde0db.js.map,1657829112999,c8b1c30b9bad68c42870d38ad52e4208d2b24563a9997cf39541bd4034a3a18f

.firebase/hosting.cHVibGlj.cache

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
favicon.ico,1650942576689,eae62e993eb980ec8a25058c39d5a51feab118bd2100c4deebb2a9c158ec11f9
2+
index.html,1657069816534,85e97b54f14b4e67090bc2c53166e388b8cd1120e54e06b4c4ebba4df594ef06
3+
logo192.png,1650942577000,3ee59515172ee198f3be375979df15ac5345183e656720a381b8872b2a39dc8b
4+
logo512.png,1650942577052,ee7e2f3fdb8209c4b6fd7bef6ba50d1b9dba30a25bb5c3126df057e1cb6f5331
5+
manifest.json,1650942576755,aff3449bdc238776f5d6d967f19ec491b36aed5fb7f23ccff6500736fd58494a
6+
robots.txt,1650942577330,bfe106a3fb878dc83461c86818bf74fc1bdc7f28538ba613cd3e775516ce8b49

public/favicon.ico

11 KB
Binary file not shown.

public/index.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,20 @@
3131
Notice the use of %PUBLIC_URL% in the tags above.
3232
It will be replaced with the URL of the `public` folder during the build.
3333
Only files inside the `public` folder can be referenced from the HTML.
34-
3534
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
3635
work correctly both with client-side routing and a non-root public URL.
3736
Learn how to configure a non-root public URL by running `npm run build`.
3837
-->
39-
<title>JSDotDev</title>
38+
<title>jakesnyder.dev</title>
4039
</head>
4140
<body>
4241
<noscript>You need to enable JavaScript to run this app.</noscript>
4342
<div id="root"></div>
4443
<!--
4544
This HTML file is a template.
4645
If you open it directly in the browser, you will see an empty page.
47-
4846
You can add webfonts, meta tags, or analytics to this file.
4947
The build step will place the bundled scripts into the <body> tag.
50-
5148
To begin the development, run `npm start` or `yarn start`.
5249
To create a production bundle, use `npm run build` or `yarn build`.
5350
-->

public/logo192.png

-1.84 KB
Loading

public/logo512.png

-5.08 KB
Loading

public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"icons": [
55
{
66
"src": "favicon.ico",
7-
"sizes": "64x64 32x32 24x24 16x16",
7+
"sizes": "64x64 32x32 16x16",
88
"type": "image/x-icon"
99
},
1010
{

src/App.css

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.App {
99
position: relative;
1010
height: 100%;
11+
max-height: 100%;
1112
width: 100%;
1213
text-align: center;
1314
}
@@ -16,15 +17,42 @@
1617
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
1718
}
1819

20+
.App .emoji {
21+
font-family: "Noto Emoji", sans-serif;
22+
font-style: normal;
23+
}
24+
1925
.App .wip-disclaimer {
2026
font-family: "munro";
2127
color: white;
2228
position: absolute;
23-
bottom: 100px;
29+
bottom: 12%;
2430
left: 50%;
2531
transform: translate(-50%);
2632
z-index: 100;
2733
border: solid white 2px;
2834
background-color: rgba(96, 96, 96, 0.348);
29-
padding: 10px;
35+
padding: 0px 10px;
36+
width: 90%;
37+
}
38+
39+
.App .wip-disclaimer h2 {
40+
margin: 10px;
41+
font-size: 16px;
42+
font-style: normal;
43+
font-weight: 400;
44+
}
45+
46+
.App .wip-disclaimer p {
47+
margin: 10px;
48+
font-size: 14px;
49+
}
50+
51+
/* - - - - MEDIA QUERIES - - - - */
52+
@media only screen and (min-width: 768px) {
53+
.App .wip-disclaimer {
54+
bottom: 100px;
55+
padding: 10px;
56+
width: 80%;
57+
}
3058
}

src/App.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,11 @@ function App() {
108108
</Routes>
109109
</Router>
110110
<div className={"wip-disclaimer"}>
111-
<p>{`[Website Under Construction / Active Development]`}</p>
112-
<p>{`At the moment, some features may be incomplete, buggy, or site-breaking. Please re-visit when able to see how things change and how far they have come since last time!`}</p>
111+
<h2>
112+
<span className="emoji">🛠</span> Website Under Construction{" "}
113+
<span className="emoji">🛠</span>
114+
</h2>
115+
<p>{`Some features may be incomplete, buggy, or site-breaking. Feel free to explore and please re-visit soon!`}</p>
113116
</div>
114117
</div>
115118
);

src/components/HomeView.tsx

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ interface Props {
1414
}
1515

1616
const HomeView = ({ hueRotation, setHueDuration }: Props) => {
17-
// - - - - - Titles and Text - - - - -
17+
// - - - - GENERAL STATES - - - -
18+
const [firstRender, setFirstRender] = useState<boolean>(true);
19+
// - - - - - TITLES AND TEXT - - - - -
20+
const [currentProject, setCurrentProject] = useState<string>("Deerfall");
1821
const [title, setTitle] = useState<string>("Dev Blog");
1922
const [subtitle, setSubtitle] = useState<string>("Welcome! ");
2023
const [subEmoji, setSubEmoji] = useState<string>(" 🙂");
21-
// - - - - - Links - - - - -
24+
// - - - - - LINKS - - - - -
2225
const [gameDevLink, setGameDevLink] = useState<string>("");
2326
const [webDevLink, setWebDevLink] = useState<string>("");
2427
const [portfolioLink, setPortfolioLink] = useState<string>("");
@@ -27,10 +30,9 @@ const HomeView = ({ hueRotation, setHueDuration }: Props) => {
2730
const [isGameDev, setIsGameDev] = useState<boolean>(true);
2831
const navigate = useNavigate();
2932
const currentPath = useLocation().pathname;
30-
// - - - - - Projects - - - - -
33+
// - - - - - PROJECTS - - - - -
3134
const gameDevProjList = ["Deerfall"];
3235
const webDevProjList = ["MediaMatchup"];
33-
const [currentProject, setCurrentProject] = useState<string>("");
3436

3537
useEffect(() => {
3638
if (currentPath.includes("/gamedev/")) {
@@ -42,29 +44,37 @@ const HomeView = ({ hueRotation, setHueDuration }: Props) => {
4244

4345
useEffect(() => {
4446
if (currentPath.includes("/gamedev/portfolio")) {
47+
if (currentPath.includes("home/")) {
48+
navigate(`/home/gamedev/portfolio/${currentProject}`);
49+
}
4550
setTitle("GameDev Portfolio");
46-
navigate(`/home/gamedev/portfolio/${currentProject}`);
4751
setWebDevLink(`/home/webdev/portfolio/${currentProject}`);
4852
setBlogLink(`/home/gamedev/blog/${currentProject}`);
4953
setIsPortfolio(true);
5054
setIsGameDev(true);
5155
} else if (currentPath.includes("/gamedev/blog")) {
56+
if (currentPath.includes("home/")) {
57+
navigate(`/home/gamedev/blog/${currentProject}`);
58+
}
5259
setTitle("GameDev Blog");
53-
navigate(`/home/gamedev/blog/${currentProject}`);
5460
setWebDevLink(`/home/webdev/blog/${currentProject}`);
5561
setPortfolioLink(`/home/gamedev/portfolio/${currentProject}`);
5662
setIsPortfolio(false);
5763
setIsGameDev(true);
5864
} else if (currentPath.includes("/webdev/portfolio")) {
65+
if (currentPath.includes("home/")) {
66+
navigate(`/home/webdev/portfolio/${currentProject}`);
67+
}
5968
setTitle("WebDev Portfolio");
60-
navigate(`/home/webdev/portfolio/${currentProject}`);
6169
setGameDevLink(`/home/gamedev/portfolio/${currentProject}`);
6270
setBlogLink(`/home/webdev/blog/${currentProject}`);
6371
setIsPortfolio(true);
6472
setIsGameDev(false);
6573
} else if (currentPath.includes("/webdev/blog")) {
74+
if (currentPath.includes("home/")) {
75+
navigate(`/home/webdev/blog/${currentProject}`);
76+
}
6677
setTitle("WebDev Blog");
67-
navigate(`/home/webdev/blog/${currentProject}`);
6878
setGameDevLink(`/home/gamedev/blog/${currentProject}`);
6979
setPortfolioLink(`/home/webdev/portfolio/${currentProject}`);
7080
setIsPortfolio(false);

0 commit comments

Comments
 (0)