From f8641a33b9f777bb527bfd7b4cdbdb28fb34c585 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Mon, 27 May 2024 17:39:59 -0400 Subject: [PATCH] Add rough notation highlight and underline --- package.json | 1 + pnpm-lock.yaml | 7 +++++++ src/layouts/BaseLayout.astro | 3 --- src/pages/index.astro | 39 +++++++++++++++++++++++++++++++----- 4 files changed, 42 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 05c0871..541bb2a 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "react-icons": "^5.2.1", + "rough-notation": "^0.5.1", "typescript": "^5.4.5" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c011c1..dff4501 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,6 +38,9 @@ dependencies: react-icons: specifier: ^5.2.1 version: 5.2.1(react@18.3.1) + rough-notation: + specifier: ^0.5.1 + version: 0.5.1 typescript: specifier: ^5.4.5 version: 5.4.5 @@ -4633,6 +4636,10 @@ packages: fsevents: 2.3.3 dev: false + /rough-notation@0.5.1: + resolution: {integrity: sha512-ITHofTzm13cWFVfoGsh/4c/k2Mg8geKgBCwex71UZLnNuw403tCRjYPQ68jSAd37DMbZIePXPjDgY0XdZi9HPw==} + dev: false + /run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} dependencies: diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 3c9335c..69f9ab9 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -3,8 +3,6 @@ import "../styles/reset.css"; import "../styles/theme.css"; import "../styles/base.css"; -import { ViewTransitions } from "astro:transitions"; - export interface Props { title: string; description: string; @@ -42,7 +40,6 @@ const pageTitle = Astro.url.pathname === "/" ? title : `${title} · Namesake`; {pageTitle} - diff --git a/src/pages/index.astro b/src/pages/index.astro index 454ff65..04030f6 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -20,7 +20,7 @@ import Footer from "../components/Footer.astro"; densities={[1, 2]} />
-

Be seen for who you are.

+

Be seen for who you are.

Legally changing name and gender is a challenge. You have @@ -40,8 +40,9 @@ import Footer from "../components/Footer.astro"; Summer, starting in Massachusetts.

- Rigid systems weren’t built for us, but we’ll figure them out - together. + Rigid systems weren’t built for us, but we’ll figure them out together.

@@ -56,6 +57,31 @@ import Footer from "../components/Footer.astro";