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
30 changes: 30 additions & 0 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
'use client'

import Link from 'next/link'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
import { Button } from '@/components/ui/button'

export default function NotFound() {
return (
<div className="flex min-h-screen items-center justify-center p-6 bg-background">
<Card className="w-full max-w-2xl border-border">
<CardHeader>
<CardTitle className="text-xl">Page not found</CardTitle>
<CardDescription className="text-sm">
The page you're looking for doesn't exist or has been moved.
</CardDescription>
</CardHeader>
<CardContent>
<div className="flex flex-wrap items-center gap-3">
<Button asChild>
<Link href="/">Go home</Link>
</Button>
<Button variant="outline" asChild>
<Link href="/">Back to dashboard</Link>
</Button>
</div>
</CardContent>
</Card>
</div>
)
}
16 changes: 16 additions & 0 deletions app/robots.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { MetadataRoute } from 'next'

export default function robots(): MetadataRoute.Robots {
const baseUrl = 'https://flowstar.app'

return {
rules: [
{
userAgent: '*',
allow: '/',
disallow: '/app/',
},
],
sitemap: `${baseUrl}/sitemap.xml`,
}
}
10 changes: 5 additions & 5 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ or leave a comment on the relevant issue._

This document collects the most common questions that new contributors ask when working on FlowStar.
If you can’t find the answer here, feel free to open an issue or check the
[CONTRIBUTING guide](CONTRIBUTING.md) and the
[Troubleshooting guide](docs/TROUBLESHOOTING.md).
[CONTRIBUTING guide](../CONTRIBUTING.md) and the
[Troubleshooting guide](./TROUBLESHOOTING.md).

---

Expand All @@ -321,7 +321,7 @@ If you can’t find the answer here, feel free to open an issue or check the
| **When to use** | During UI development or when you don’t want to spend testnet tokens. | When you want to validate real contract calls or submit PRs that touch the blockchain. |

> **Tip:** The `mock-mode` flag is toggled in the app’s settings. See the
> [CONTRIBUTING guide](CONTRIBUTING.md) for details on enabling it.
> [CONTRIBUTING guide](../CONTRIBUTING.md) for details on enabling it.

---

Expand All @@ -347,7 +347,7 @@ If you can’t find the answer here, feel free to open an issue or check the

If you’re unsure whether an issue is ready for you, open a comment or
contact the maintainers. See the
[CONTRIBUTING guide](CONTRIBUTING.md) for more details on the workflow.
[CONTRIBUTING guide](../CONTRIBUTING.md) for more details on the workflow.

---

Expand All @@ -360,7 +360,7 @@ contact the maintainers. See the
`npm run mock`.
4. **Consult the Troubleshooting guide** – Many common network errors are
documented in the
[Troubleshooting guide](docs/TROUBLESHOOTING.md).
[Troubleshooting guide](./TROUBLESHOOTING.md).

---

Expand Down
14 changes: 13 additions & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,19 @@
"src": "/apple-icon.png",
"sizes": "180x180",
"type": "image/png",
"purpose": "any maskable"
"purpose": "any"
},
{
"src": "/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"categories": ["finance", "productivity"]
Expand Down