Skip to content

Commit bd23dcf

Browse files
committed
fix: Fixing navigation
1 parent d66dd91 commit bd23dcf

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

content/relayer/1.1.x/api/callPlugin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ _openapi:
1212

1313
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
1414

15-
<APIPage document={"https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-relayer/refs/heads/release-v1.3.0/openapi.json"} operations={[{"path":"/api/v1/plugins/{plugin_id}/call","method":"post"}]} webhooks={[]} hasHead={false} />
15+
<APIPage document={"https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-relayer/refs/heads/main/openapi.json"} operations={[{"path":"/api/v1/plugins/{plugin_id}/call","method":"post"}]} webhooks={[]} hasHead={false} />

src/app/page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import {
2929
} from "@/components/icons";
3030
import { DefenderIcon } from "@/components/icons/defender-icon";
3131
import { baseOptions } from "./layout.config";
32+
import { latestStable as relayerLatestStable } from "../../content/relayer/latest-versions";
33+
import { latestStable as monitorLatestStable } from "../../content/monitor/latest-versions";
3234

3335
export default function HomePage() {
3436
return (
@@ -137,15 +139,15 @@ export default function HomePage() {
137139
{/* Dual Heroes: Monitor and Relayer */}
138140
<div className="grid grid-cols-1 lg:grid-cols-2 gap-4 sm:gap-6 mb-4 sm:mb-6">
139141
<FeatureCard
140-
href="/relayer/1.3.x"
142+
href={`/relayer/${relayerLatestStable}`}
141143
icon={<RelayersIcon className="h-6 w-6 sm:h-8 sm:w-8" />}
142144
title="Relayer"
143145
description="Automate onchain transactions to schedule jobs, batch calls, and relay gasless meta transactions within your self-hosted infrastructure."
144146
glowColor="tools"
145147
/>
146148

147149
<FeatureCard
148-
href="/monitor/1.1.x"
150+
href={`/monitor/${monitorLatestStable}`}
149151
icon={<MonitorIcon className="h-6 w-6 sm:h-8 sm:w-8" />}
150152
title="Monitor"
151153
description="Monitor onchain activity in real time to watch critical events, detect anomalies, trigger alerts on your preferred channels, and set automated responses with Relayer."

0 commit comments

Comments
 (0)