Skip to content

Commit 4d184f1

Browse files
Fix API Reference formatting to match other boxes
- Consolidated multi-line h3 and p tags to single lines - Consolidated multi-line anchor tags to single lines - Made formatting consistent with Price Feed IDs and Examples boxes Co-Authored-By: Jayant <[email protected]>
1 parent e0e3026 commit 4d184f1

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

pages/price-feeds/index.mdx

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -95,25 +95,11 @@ Pyth offers two main versions of price feeds, each optimized for different use c
9595
{" "}
9696

9797
<div className="p-6 bg-gray-50 dark:bg-darkGray rounded-lg border border-gray-200 dark:border-gray-700">
98-
<h3 className="text-lg font-semibold mb-2 text-lightForeground dark:text-white">
99-
API Reference
100-
</h3>
101-
<p className="text-gray-700 dark:text-light mb-4">
102-
Complete API documentation for both Pro and Core.
103-
</p>
104-
<a
105-
href="./price-feeds/core/api-reference"
106-
className="text-lightLinks dark:text-darkLinks hover:text-blue-800 dark:hover:text-blue-300 font-medium"
107-
>
108-
Core APIs →
109-
</a>
98+
<h3 className="text-lg font-semibold mb-2 text-lightForeground dark:text-white">API Reference</h3>
99+
<p className="text-gray-700 dark:text-light mb-4">Complete API documentation for both Pro and Core.</p>
100+
<a href="./price-feeds/core/api-reference" className="text-lightLinks dark:text-darkLinks hover:text-blue-800 dark:hover:text-blue-300 font-medium">Core APIs →</a>
110101
<span className="mx-2 text-gray-400">|</span>
111-
<a
112-
href="./price-feeds/pro/api-reference"
113-
className="text-lightLinks dark:text-darkLinks hover:text-blue-800 dark:hover:text-blue-300 font-medium"
114-
>
115-
Pro API →
116-
</a>
102+
<a href="./price-feeds/pro/api-reference" className="text-lightLinks dark:text-darkLinks hover:text-blue-800 dark:hover:text-blue-300 font-medium">Pro API →</a>
117103
</div>
118104

119105
<div className="p-6 bg-gray-50 dark:bg-darkGray rounded-lg border border-gray-200 dark:border-gray-700">

0 commit comments

Comments
 (0)