Skip to content

Commit f1540a0

Browse files
Copilot0xrinegade
andcommitted
Ensure design consistency and add footer links
Co-authored-by: 0xrinegade <[email protected]>
1 parent 3058a17 commit f1540a0

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

frontend/app/globals.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
}
2020
}
2121

22-
body {
22+
/* Apply styles only to the React app, not to static HTML pages */
23+
:not(.static-html) body {
2324
background: var(--background);
2425
color: var(--foreground);
2526
font-family: Arial, Helvetica, sans-serif;

frontend/app/layout.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,16 @@ export default function RootLayout({
5959
GitHub
6060
</a>
6161
<a
62-
href="https://docs.solana.com"
63-
target="_blank"
64-
rel="noopener noreferrer"
62+
href="/index.html"
63+
className="text-[#14F195] hover:underline"
64+
>
65+
Project Website
66+
</a>
67+
<a
68+
href="/docs.html"
6569
className="text-[#14F195] hover:underline"
6670
>
67-
Solana Docs
71+
Documentation
6872
</a>
6973
<a
7074
href="/tokenomics"

frontend/public/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
}
140140
</style>
141141
</head>
142-
<body>
142+
<body class="static-html">
143143
<header class="header">
144144
<nav class="main-container py-3 flex flex-col sm:flex-row sm:justify-between items-center">
145145
<a href="/index.html" class="text-xl sm:text-2xl font-bold text-white hover:text-neutral-300 transition-colors text-center sm:text-left mb-3 sm:mb-0">Solana AI Registries Initiative</a>

frontend/public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325

326326
</style>
327327
</head>
328-
<body class="antialiased">
328+
<body class="antialiased static-html">
329329

330330
<header class="header-bg text-white sticky top-0 z-50">
331331
<nav class="main-container py-3 flex flex-col sm:flex-row sm:justify-between items-center">

0 commit comments

Comments
 (0)