Skip to content

feat: status page #656

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 30, 2025
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
50 changes: 33 additions & 17 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,12 @@ const JupiterFooter = () => {
href="https://discord.gg/jup"
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center w-8 h-8 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
className="flex items-center justify-center w-10 h-10 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
aria-label="Discord"
>
<svg
width="16"
height="16"
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
>
Expand All @@ -304,12 +304,12 @@ const JupiterFooter = () => {
href="https://github.com/jup-ag"
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center w-8 h-8 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
className="flex items-center justify-center w-10 h-10 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
aria-label="GitHub"
>
<svg
width="16"
height="16"
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
>
Expand All @@ -320,12 +320,12 @@ const JupiterFooter = () => {
href="https://t.me/jup_dev"
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center w-8 h-8 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
className="flex items-center justify-center w-10 h-10 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
aria-label="Telegram"
>
<svg
width="16"
height="16"
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
>
Expand All @@ -336,12 +336,12 @@ const JupiterFooter = () => {
href="https://x.com/JupiterExchange"
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center w-8 h-8 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
className="flex items-center justify-center w-10 h-10 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
aria-label="X (Twitter)"
>
<svg
width="16"
height="16"
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
>
Expand All @@ -352,16 +352,32 @@ const JupiterFooter = () => {
href="https://support.jup.ag/hc/en-us"
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center w-8 h-8 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
aria-label="Guides"
className="flex items-center justify-center w-10 h-10 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
aria-label="Help Center"
>
<svg
width="16"
height="16"
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
>
<path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z" />
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" />
</svg>
</a>
<a
href="https://status.jup.ag"
target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-center w-10 h-10 rounded-full bg-gray-200 text-gray-700 hover:text-primary hover:bg-gray-300 transition-all transform hover:scale-110"
aria-label="Status"
>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
>
<path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z" />
</svg>
</a>
</div>
Expand Down
3 changes: 3 additions & 0 deletions src/theme/Navbar/MobileSidebar/PrimaryMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default function NavbarMobileSidebarPrimaryMenu(): JSX.Element {
'menu__link',
isNavItemActive(item) && 'menu__link--active'
)}
target={item.to?.startsWith('http') ? '_blank' : undefined}
>
{item.label}
</a>
Expand All @@ -36,6 +37,7 @@ export default function NavbarMobileSidebarPrimaryMenu(): JSX.Element {
isDropdownItemActive(subItem.to) && 'menu__link--active'
)}
href={subItem.to}
target={subItem.to?.startsWith('http') ? '_blank' : undefined}
>
{subItem.label}
</a>
Expand All @@ -54,6 +56,7 @@ export default function NavbarMobileSidebarPrimaryMenu(): JSX.Element {
isNavItemActive(item) && 'menu__link--active'
)}
href={item.to}
target={item.to?.startsWith('http') ? '_blank' : undefined}
>
{item.label}
</a>
Expand Down
3 changes: 3 additions & 0 deletions src/theme/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export default function Navbar(): JSX.Element {
<div className="navbar__link-wrapper">
<a
href={item.to}
target={item.to?.startsWith('http') ? '_blank' : undefined}
className={clsx(
'navbar__link',
isNavItemActive(item) && 'navbar__link--active'
Expand All @@ -53,6 +54,7 @@ export default function Navbar(): JSX.Element {
isDropdownItemActive(subItem.to) && 'dropdown__link--active'
)}
href={subItem.to}
target={subItem.to?.startsWith('http') ? '_blank' : undefined}
>
{subItem.label}
</a>
Expand All @@ -73,6 +75,7 @@ export default function Navbar(): JSX.Element {
isNavItemActive(item) && 'navbar__link--active'
)}
href={item.to}
target={item.to?.startsWith('http') ? '_blank' : undefined}
>
{item.label}
</a>
Expand Down
4 changes: 4 additions & 0 deletions src/utils/navbarConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const navbarConfigs = {
{ to: "/docs/routing/", label: "Routing Integration", position: "left" },
{ to: "/docs/tool-kits/", label: "Tool Kits", position: "left" },
{ to: "/docs/api", label: "API Reference", position: "left" },
{ to: "https://status.jup.ag", label: "Status", position: "left" },
{ to: "/docs/misc/", label: "Misc", position: "left" },
],
"/search": [
Expand All @@ -37,6 +38,7 @@ export const navbarConfigs = {
{ to: "/docs/routing/", label: "Routing Integration", position: "left" },
{ to: "/docs/tool-kits/", label: "Tool Kits", position: "left" },
{ to: "/docs/api", label: "API Reference", position: "left" },
{ to: "https://status.jup.ag", label: "Status", position: "left" },
{ to: "/docs/misc/", label: "Misc", position: "left" },
],
"/": [
Expand All @@ -57,6 +59,7 @@ export const navbarConfigs = {
{ to: "/docs/routing/", label: "Routing Integration", position: "left" },
{ to: "/docs/tool-kits/", label: "Tool Kits", position: "left" },
{ to: "/docs/api", label: "API Reference", position: "left" },
{ to: "https://status.jup.ag", label: "Status", position: "left" },
{ to: "/docs/misc/", label: "Misc", position: "left" },
],
"/ecosystem": [
Expand All @@ -77,6 +80,7 @@ export const navbarConfigs = {
{ to: "/docs/routing/", label: "Routing Integration", position: "left" },
{ to: "/docs/tool-kits/", label: "Tool Kits", position: "left" },
{ to: "/docs/api", label: "API Reference", position: "left" },
{ to: "https://status.jup.ag", label: "Status", position: "left" },
{ to: "/docs/misc/", label: "Misc", position: "left" },
],
};