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
8 changes: 2 additions & 6 deletions e2e/farm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,8 @@ test.describe('Farm E2E', () => {
const eightDaysMs = 8 * 24 * 60 * 60 * 1_000;
await page.clock.setFixedTime(new Date(FIXED_NOW_MS + eightDaysMs));

// The useCountdown hook re-evaluates on each render; trigger a navigation
// back to /farm so the hook picks up the new Date.now()
await page.goto('/farm');
await page.waitForLoadState('networkidle');
await connectWallet(page);
await seedPosition(page, FIXED_NOW_MS - 60_000);
// The useCountdown hook re-evaluates on each render
await page.reload();

// Unlock button should now be enabled
const unlockBtn = page.getByRole('button', { name: /^unlock$/i }).first();
Expand Down
6 changes: 6 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
User-agent: *
Allow: /
Disallow: /webhooks
Disallow: /alerts

Sitemap: https://smartdrop.io/sitemap.xml
38 changes: 38 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://smartdrop.io/</loc>
<lastmod>2026-09-24</lastmod>
<priority>1.0</priority>
</url>
<url>
<loc>https://smartdrop.io/leaderboard</loc>
<lastmod>2026-09-24</lastmod>
<priority>0.9</priority>
</url>
<url>
<loc>https://smartdrop.io/prices</loc>
<lastmod>2026-09-24</lastmod>
<priority>0.9</priority>
</url>
<url>
<loc>https://smartdrop.io/contributors</loc>
<lastmod>2026-09-24</lastmod>
<priority>0.8</priority>
</url>
<url>
<loc>https://smartdrop.io/farm</loc>
<lastmod>2026-09-24</lastmod>
<priority>0.9</priority>
</url>
<url>
<loc>https://smartdrop.io/airdrops</loc>
<lastmod>2026-09-24</lastmod>
<priority>0.8</priority>
</url>
<url>
<loc>https://smartdrop.io/history</loc>
<lastmod>2026-09-24</lastmod>
<priority>0.7</priority>
</url>
</urlset>
3 changes: 3 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ export default async function RootLayout({
return (
<html lang="en" className={inter.className} suppressHydrationWarning>
<head>
<link rel="preconnect" href="https://horizon.stellar.org" />
<link rel="dns-prefetch" href="https://soroban-testnet.stellar.org" />
<link rel="dns-prefetch" href="https://stellar.expert" />
{/* #404 — In server mode the middleware sets a nonce-bearing CSP header,
so the static meta tag would duplicate/override it. Only render the
meta tag in static-export mode where no middleware runs. */}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { extendTheme, type ThemeConfig } from "@chakra-ui/react";

const config: ThemeConfig = {
initialColorMode: "dark",
useSystemColorMode: false,
useSystemColorMode: true,
};

const theme = extendTheme({
Expand Down