Skip to content
Open
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
3 changes: 3 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ function callIssueRedirects() {
// Static builds emit these as `<meta http-equiv="refresh">` pages. See the
// "Intentional Route Changes" section of docs/astro-migration-phase-1.md.
const legacyRedirects = {
// The tier maker is now per-fork at `/rank/{fork}`; keep the original short URL
// (shared publicly and baked into exported ranking images) pointing at Hegota.
'/rank': '/rank/hegota',
'/feedback':
'https://ethereum-magicians.org/t/community-feedback-on-non-headlining-features-in-glamsterdam/26410',
'/planner': '/schedule',
Expand Down
10 changes: 6 additions & 4 deletions src/components/GlamsterdamUpgradePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ClientPriorityTab from './glamsterdam/ClientPriorityTab';
import TestComplexityTab from './glamsterdam/TestComplexityTab';
import { getUpgradeById } from '../data/upgrades';
import { getUpgradeStatusColor } from '../utils/colors';
import { TierMakerLink } from './network-upgrade';

const upgrade = getUpgradeById('glamsterdam')!;

Expand Down Expand Up @@ -79,8 +80,8 @@ const GlamsterdamUpgradePage: React.FC<GlamsterdamUpgradePageProps> = ({ activeT
</span>
</div>
<p className="text-base text-slate-600 dark:text-slate-300 mb-2 leading-relaxed max-w-2xl">{upgrade.description}</p>
{upgrade.metaEipLink && (
<div className="mb-4">
<div className="mb-4 flex flex-wrap items-center gap-x-5 gap-y-2">
{upgrade.metaEipLink && (
<a
href={upgrade.metaEipLink}
target="_blank"
Expand All @@ -92,8 +93,9 @@ const GlamsterdamUpgradePage: React.FC<GlamsterdamUpgradePageProps> = ({ activeT
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
</svg>
</a>
</div>
)}
)}
<TierMakerLink forkId={upgrade.id} />
</div>
</div>
<div className="hidden lg:block">
<span className={`px-3 py-1 text-xs font-medium rounded ${getUpgradeStatusColor(upgrade.status)}`}>
Expand Down
10 changes: 6 additions & 4 deletions src/components/HegotaUpgradePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { getUpgradeById } from '../data/upgrades';
import { getUpgradeStatusColor } from '../utils/colors';
import TestComplexityTab from './glamsterdam/TestComplexityTab';
import OverviewTab from './hegota/OverviewTab';
import { TierMakerLink } from './network-upgrade';

const upgrade = getUpgradeById('hegota')!;

Expand Down Expand Up @@ -62,8 +63,8 @@ const HegotaUpgradePage: React.FC<HegotaUpgradePageProps> = ({ activeTab }) => {
</span>
</div>
<p className="text-base text-slate-600 dark:text-slate-300 mb-2 leading-relaxed max-w-2xl">{upgrade.description}</p>
{upgrade.metaEipLink && (
<div className="mb-4">
<div className="mb-4 flex flex-wrap items-center gap-x-5 gap-y-2">
{upgrade.metaEipLink && (
<a
href={upgrade.metaEipLink}
target="_blank"
Expand All @@ -75,8 +76,9 @@ const HegotaUpgradePage: React.FC<HegotaUpgradePageProps> = ({ activeTab }) => {
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
</svg>
</a>
</div>
)}
)}
<TierMakerLink forkId={upgrade.id} />
</div>
</div>
<div className="hidden lg:block">
<span className={`px-3 py-1 text-xs font-medium rounded ${getUpgradeStatusColor(upgrade.status)}`}>
Expand Down
Loading