|
@@ -1,10 +1,17 @@
|
|
|
|
|
+import Link from 'next/link'
|
|
|
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
|
|
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
|
|
|
import { Separator } from '@/components/ui/separator'
|
|
import { Separator } from '@/components/ui/separator'
|
|
|
-import { Info } from 'lucide-react'
|
|
|
|
|
|
|
+import { ExternalLink, Info } from 'lucide-react'
|
|
|
|
|
|
|
|
export default function AboutSettingsPage() {
|
|
export default function AboutSettingsPage() {
|
|
|
const version = process.env.APP_VERSION || 'development'
|
|
const version = process.env.APP_VERSION || 'development'
|
|
|
|
|
|
|
|
|
|
+ const links = [
|
|
|
|
|
+ { label: 'Website', href: 'https://torqvoice.com/' },
|
|
|
|
|
+ { label: 'Documentation', href: 'https://torqvoice.com/docs' },
|
|
|
|
|
+ { label: 'Changelog', href: 'https://github.com/Torqvoice/torqvoice/releases' },
|
|
|
|
|
+ ]
|
|
|
|
|
+
|
|
|
return (
|
|
return (
|
|
|
<div className="space-y-6">
|
|
<div className="space-y-6">
|
|
|
<Card className="border-0 shadow-sm">
|
|
<Card className="border-0 shadow-sm">
|
|
@@ -23,6 +30,20 @@ export default function AboutSettingsPage() {
|
|
|
<span className="text-sm text-muted-foreground">Version</span>
|
|
<span className="text-sm text-muted-foreground">Version</span>
|
|
|
<span className="text-sm font-medium">{version}</span>
|
|
<span className="text-sm font-medium">{version}</span>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ {links.map((link) => (
|
|
|
|
|
+ <div key={link.href} className="flex items-center justify-between">
|
|
|
|
|
+ <span className="text-sm text-muted-foreground">{link.label}</span>
|
|
|
|
|
+ <Link
|
|
|
|
|
+ href={link.href}
|
|
|
|
|
+ target="_blank"
|
|
|
|
|
+ rel="noopener noreferrer"
|
|
|
|
|
+ className="inline-flex items-center gap-1 text-sm font-medium text-primary hover:underline"
|
|
|
|
|
+ >
|
|
|
|
|
+ {link.label}
|
|
|
|
|
+ <ExternalLink className="h-3 w-3" />
|
|
|
|
|
+ </Link>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ ))}
|
|
|
</div>
|
|
</div>
|
|
|
</CardContent>
|
|
</CardContent>
|
|
|
</Card>
|
|
</Card>
|