Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
.muted { color: var(--color-text-muted); }

/* ---------- Hero ---------- */
.header h1 { display: flex; align-items: center; gap: var(--space-6); }
.header h1 > span:first-child { flex: none; }
/* The logo sits beside the h1, not inside it, so the heading text is only the title. */
.title { display: flex; align-items: center; gap: var(--space-6); max-width: 820px; min-width: 0; }
.title > span:first-child { flex: none; }
.title h1 { min-width: 0; }

.meta {
display: flex;
Expand Down
5 changes: 4 additions & 1 deletion app/(site)/(directories)/launch-directories/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ export default async function LaunchDirectoryPage({ params }: { params: Promise<
>
<EntryHero art={null}>
<PageHeader breadcrumbs={breadcrumbs} className={styles.header}>
<h1><LaunchLogo eager iconUrl={directory.icon_url} name={directory.name} size="title" /><DirectoryPageTitle title={directoryPage.title} /></h1>
<div className={styles.title}>
<LaunchLogo eager iconUrl={directory.icon_url} name={directory.name} size="title" />
<h1><DirectoryPageTitle title={directoryPage.title} /></h1>
</div>
<p>{directory.summary}</p>
<div className={styles.meta}>
{category ? <span><CategoryIcon iconKey={category.iconKey} />{category.label}</span> : null}
Expand Down
Loading