general optimizations: date; preload textures

This commit is contained in:
2026-04-10 18:15:48 -05:00
parent df7e0333fe
commit 42281ca58e
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ export const ARTICLES: Article[] = [
name: "My high school experience",
description: "My first program, winning two senior superlatives, and why (and how) I chose Georgia Tech",
thumbnail: allBlack,
published: new Date(Date.parse("3/15/2026")),
published: new Date("3/15/2026"),
article: lazy(() => import("./mdx/high-school.mdx"))
}
]

View File

@@ -14,6 +14,8 @@ import {useRef} from "react";
import type {Mesh} from "three";
import * as THREE from "three";
useTexture.preload([Jupiter, Makemake, Ceres, Haumea, MilkyWay, SaturnRings]);
export default function Canvas() {
// fade animation sync with loading