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
6 changes: 2 additions & 4 deletions content/learn/where-your-swap-value-goes.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Same Trade, Different Outcome: FastRPC (and other DEX) vs. Fast Swaps"
title: "Same Trade, Different Outcome: Where Your Swap Value Actually Goes"
description: "Most swaps leak value to slippage, suboptimal routing, and mev. Fast Swaps capture that surplus and return it to you through Miles."
slug: "where-your-swap-value-goes"
category: "Fast Protocol"
Expand All @@ -23,8 +23,6 @@ They're not.

Every swap — no matter how simple — has hidden dynamics that determine what you actually receive. And in most cases, users are leaving value on the table without realizing it.

![Diagram comparing swap value flow on a typical DEX vs. Fast Swaps](https://pub-c59e6dbe877c4b8db6ffacb766f2d8c7.r2.dev/fast-dapp/assets/RPC%20vs.%20Fast%20Swaps.png)

## The hidden tax on every swap

When you execute a trade on a typical DEX, several things happen behind the scenes:
Expand Down Expand Up @@ -86,6 +84,6 @@ You're already making the trade.

Now make it where it actually pays you back.

<TryItCTA href="/" label="Try a fast swap" />
[![Diagram comparing swap value flow on a typical DEX vs. Fast Swaps](https://pub-c59e6dbe877c4b8db6ffacb766f2d8c7.r2.dev/fast-dapp/assets/RPC%20vs.%20Fast%20Swaps.png)](/)

<FAQSchema faqs={frontmatter.faq} />
38 changes: 20 additions & 18 deletions src/app/learn/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,24 +156,26 @@ export default async function LearnArticlePage({ params }: { params: Promise<{ s
dangerouslySetInnerHTML={{ __html: html }}
/>

{/* CTA */}
<div className="my-12 flex justify-center">
<Link
href="/"
className="inline-flex items-center gap-2 px-6 py-3 rounded-full bg-primary text-primary-foreground font-semibold hover:bg-primary/90 transition-colors"
>
Try Fast Protocol
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" className="ml-1">
<path
d="M6 12l4-4-4-4"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
</Link>
</div>
{/* CTA — hidden when the article supplies its own in-body CTA */}
{slug !== "where-your-swap-value-goes" && (
<div className="my-12 flex justify-center">
<Link
href="/"
className="inline-flex items-center gap-2 px-6 py-3 rounded-full bg-primary text-primary-foreground font-semibold hover:bg-primary/90 transition-colors"
>
Try Fast Protocol
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" className="ml-1">
<path
d="M6 12l4-4-4-4"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
</Link>
</div>
)}

{/* FAQ section — rendered from frontmatter */}
{frontmatter.faq && frontmatter.faq.length > 0 && (
Expand Down
Loading