From 38a0641c065d04ba3e4b6a83d90e8b73c4f2f350 Mon Sep 17 00:00:00 2001 From: Matej Stastny Date: Thu, 15 Oct 2026 18:43:17 -0700 Subject: [PATCH 1/7] refactor: tried a redesign to follow the styleguide and use the main website's themekit --- src/app/(home)/page.tsx | 70 ++--- src/app/brand.css | 140 +++++++++ src/app/global.css | 364 +++++++++++++++--------- src/app/layout.tsx | 22 +- src/components/brand/gradient-rule.tsx | 20 ++ src/components/brand/offset-frame.tsx | 29 ++ src/components/brand/wordmark-field.tsx | 41 +++ src/components/dev-ribbon.tsx | 6 +- src/components/mdx.tsx | 9 +- src/components/project-grid.tsx | 46 --- 10 files changed, 518 insertions(+), 229 deletions(-) create mode 100644 src/app/brand.css create mode 100644 src/components/brand/gradient-rule.tsx create mode 100644 src/components/brand/offset-frame.tsx create mode 100644 src/components/brand/wordmark-field.tsx delete mode 100644 src/components/project-grid.tsx diff --git a/src/app/(home)/page.tsx b/src/app/(home)/page.tsx index 4dc322a..4529b7a 100644 --- a/src/app/(home)/page.tsx +++ b/src/app/(home)/page.tsx @@ -3,88 +3,68 @@ import Image from "next/image"; import { ArrowRight } from "lucide-react"; import { repos } from "@/lib/source"; import { resolveProjectIcon } from "@/lib/icon"; -import { ProjectGrid } from "@/components/project-grid"; - -const LED_CLUSTERS = [ - { x: "16%", y: 140, size: 34, delay: "0s", duration: "4s" }, - { x: "74%", y: 95, size: 30, delay: "0.8s", duration: "6s" }, - { x: "84%", y: 205, size: 28, delay: "1.4s", duration: "5.2s" }, - { x: "8%", y: 265, size: 26, delay: "1.9s", duration: "4.2s" }, - { x: "26%", y: 310, size: 24, delay: "2.3s", duration: "4.6s" }, - { x: "90%", y: 360, size: 22, delay: "3.1s", duration: "5s" }, -]; +import { GradientRule } from "@/components/brand/gradient-rule"; +import { WordmarkField } from "@/components/brand/wordmark-field"; export default function HomePage() { return ( <>
-
-
- {LED_CLUSTERS.map((led) => ( -
- ))} + -
+
TrickFire Robotics -

- TrickFire Robotics -

-

- Documentation and guides for technologies and repositories Trickfire +

TrickFire Robotics

+

+ Documentation and guides for technologies and repositories TrickFire uses.

-
- +
+ +
+ +
+
{repos.map((repo) => ( - - - - + + {resolveProjectIcon(repo.icon, "size-[1.15rem]")} - + {repo.name} - + {repo.description && ( - + {repo.description} )} ))} - +
-