Replace the last glyph icons with Phosphor
The editor's insert, duplicate and remove buttons, the image library's close button and audio tile, the schedule's fold-out caret, the admin menu's caret, the history timeline's caret and gap marker, and the QR page's copied tick. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5292eda4a6
commit
706abf6a03
7 changed files with 23 additions and 18 deletions
|
|
@ -20,6 +20,7 @@
|
|||
The route guard and the API are what actually say no.
|
||||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
import { CaretDown } from "@phosphor-icons/react";
|
||||
import { Suspense, useCallback, useEffect, useMemo, useState } from "react";
|
||||
import { Link, NavLink, Outlet, useLocation, useNavigate } from "react-router-dom";
|
||||
import { useAuth } from "../../lib/auth.tsx";
|
||||
|
|
@ -54,9 +55,7 @@ function GroupMenu({ item, lit, pathname }) {
|
|||
<NavLink to={target(item)} className={`flex items-center gap-1 ${link}`}>
|
||||
{item.label}
|
||||
{children.length > 1 && (
|
||||
<span aria-hidden="true" className="text-[10px] opacity-60">
|
||||
▾
|
||||
</span>
|
||||
<CaretDown aria-hidden="true" weight="bold" className="h-2.5 w-2.5 opacity-60" />
|
||||
)}
|
||||
</NavLink>
|
||||
|
||||
|
|
|
|||
|
|
@ -432,7 +432,7 @@ export default function QrCodeMaker() {
|
|||
className="rounded-full border px-4 py-2 text-sm font-semibold transition-colors hover:bg-brand/10"
|
||||
style={{ borderColor: BRAND, color: accentText(BRAND) }}
|
||||
>
|
||||
{copied ? 'Copied ✓' : 'Copy link'}
|
||||
{copied ? 'Copied' : 'Copy link'}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { CircleDashed } from '@phosphor-icons/react'
|
||||
import {
|
||||
decadeLabel,
|
||||
withGapYears,
|
||||
|
|
@ -44,7 +45,7 @@ export default function TimelineDecade({
|
|||
{decade.blurb ? <p className="site-tl__decadeBlurb">{decade.blurb}</p> : null}
|
||||
{decade.preProgram ? (
|
||||
<p className="site-tl__gapNote">
|
||||
<span aria-hidden="true">◌</span>
|
||||
<CircleDashed aria-hidden="true" weight="bold" className="inline-block align-[-0.125em]" />
|
||||
Before the program, kept for context, not part of our record
|
||||
</p>
|
||||
) : null}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { CaretDown, CaretUp } from '@phosphor-icons/react'
|
||||
import { useState } from 'react'
|
||||
import type { GroupedYear, SortDirection } from '../../../lib/timeline.ts'
|
||||
import TimelineYear from './TimelineYear.tsx'
|
||||
|
|
@ -48,7 +49,7 @@ export default function TimelineUpcoming({
|
|||
: `${count} ${count === 1 ? 'thing' : 'things'} still to come`}
|
||||
</span>
|
||||
<span className="site-tl__chevron" aria-hidden="true">
|
||||
{open ? '▾' : '▴'}
|
||||
{open ? <CaretDown weight="bold" /> : <CaretUp weight="bold" />}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue