From 89086abaffe6488ca01152398bbd92ff389a8c3d Mon Sep 17 00:00:00 2001 From: RheingoldRiver <18037011+RheingoldRiver@users.noreply.github.com> Date: Sat, 7 Oct 2023 22:42:25 -0500 Subject: [PATCH] Shorten the I in the wordmark --- src/components/Wordmark/Wordmark.tsx | 30 ++++++++++------------------ 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/src/components/Wordmark/Wordmark.tsx b/src/components/Wordmark/Wordmark.tsx index 0461543..aaa4adf 100644 --- a/src/components/Wordmark/Wordmark.tsx +++ b/src/components/Wordmark/Wordmark.tsx @@ -8,70 +8,62 @@ import clsx from "clsx"; interface TypographyPentomino { pentomino: string; reflection: number; - cssRotation: number; - width?: string; + class?: string; } const pentominoesTitle: TypographyPentomino[] = [ { pentomino: "P", reflection: 0, - cssRotation: 0, }, { pentomino: "W", reflection: 0, - cssRotation: 45, + class: "rotate-45", }, { pentomino: "N", reflection: 0, - cssRotation: 180 + 25, - width: "w-6 md:w-10", + class: "w-6 md:w-10 rotate-[205deg]", }, { pentomino: "T", reflection: 0, - cssRotation: 0, }, { pentomino: "P", reflection: 1, - cssRotation: 315, - width: "w-7 md:w-12", + class: "w-7 md:w-12 rotate-[315deg]", }, { pentomino: "W", reflection: 0, - cssRotation: 135, - width: "w-6 md:w-10", + class: "w-6 md:w-10 rotate-[135deg]", }, { pentomino: "I", reflection: 0, - cssRotation: 0, + class: "scale-75", }, { pentomino: "N", reflection: 0, - cssRotation: 180 + 25, - width: "w-6 md:w-10", + class: "w-6 md:w-10 rotate-[205deg]", }, { pentomino: "P", reflection: 1, - cssRotation: 315, - width: "w-7 md:w-12", + class: "w-7 md:w-12 rotate-[315deg]", }, { pentomino: "W", reflection: 0, - cssRotation: 45, + class: "rotate-45", }, { pentomino: "Z", reflection: 1, - cssRotation: -35, + class: "rotate-[-35deg]", }, ]; @@ -83,7 +75,7 @@ export const Wordmark = ({ gridArea }: { gridArea: string }) => {