-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
191 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { MetadataRoute } from 'next' | ||
|
||
export default function manifest(): MetadataRoute.Manifest { | ||
return { | ||
name: 'Digital Utopia', | ||
short_name: 'Digital Utopia', | ||
description: 'Secure crypto trading platform', | ||
start_url: '/', | ||
display: 'standalone', | ||
background_color: '#000000', | ||
theme_color: '#000000', | ||
icons: [ | ||
{ | ||
src: '/logo.png', | ||
sizes: '192x192', | ||
type: 'image/png', | ||
}, | ||
{ | ||
src: '/logo.png', | ||
sizes: '512x512', | ||
type: 'image/png', | ||
}, | ||
], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import type { Metadata } from "next"; | ||
|
||
export const metadata: Metadata = { | ||
title: "Digital Utopia - Empower Your Financial Journey", | ||
description: "Join Digital Utopia to start your crypto journey, become a profitable trader, and access exclusive financial services.", | ||
keywords: "crypto, trading, financial independence, copy trading, digital opportunities, deposit, withdraw, invoices", | ||
openGraph: { | ||
title: "Digital Utopia", | ||
description: "Empower your financial journey with Digital Utopia.", | ||
url: "https://digitalutopia.app", | ||
siteName: "Digital Utopia", | ||
images: [ | ||
{ | ||
url: "https://digitalutopia.app/logo.svg", | ||
width: 800, | ||
height: 600, | ||
alt: "Digital Utopia", | ||
}, | ||
], | ||
locale: "en_US", | ||
type: "website", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
import { NextUIProvider } from "@nextui-org/react"; | ||
|
||
export function Providers({ children }: { children: React.ReactNode }) { | ||
return <NextUIProvider>{children}</NextUIProvider>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { MetadataRoute } from 'next' | ||
|
||
export default function robots(): MetadataRoute.Robots { | ||
return { | ||
rules: { | ||
userAgent: '*', | ||
allow: '/', | ||
disallow: [ | ||
'/admin/*', | ||
'/api/*', | ||
'/private/*', | ||
], | ||
}, | ||
sitemap: 'https://digitalutopia.app/sitemap.xml', | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
import { MetadataRoute } from 'next' | ||
|
||
export default function sitemap(): MetadataRoute.Sitemap { | ||
const baseUrl = 'https://digitalutopia.app' // Replace with your actual domain | ||
|
||
return [ | ||
{ | ||
url: `${baseUrl}`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 1, | ||
}, | ||
{ | ||
url: `${baseUrl}/login`, | ||
lastModified: new Date(), | ||
changeFrequency: 'monthly', | ||
priority: 0.8, | ||
}, | ||
{ | ||
url: `${baseUrl}/register`, | ||
lastModified: new Date(), | ||
changeFrequency: 'monthly', | ||
priority: 0.8, | ||
}, | ||
{ | ||
url: `${baseUrl}/forgot-password`, | ||
lastModified: new Date(), | ||
changeFrequency: 'yearly', | ||
priority: 0.5, | ||
}, | ||
{ | ||
url: `${baseUrl}/resources`, | ||
lastModified: new Date(), | ||
changeFrequency: 'weekly', | ||
priority: 0.9, | ||
}, | ||
{ | ||
url: `${baseUrl}/invoices`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 0.8, | ||
}, | ||
{ | ||
url: `${baseUrl}/withdrawals`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 0.8, | ||
}, | ||
// Admin routes | ||
{ | ||
url: `${baseUrl}/admin/user-management`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 0.7, | ||
}, | ||
{ | ||
url: `${baseUrl}/admin/invoices`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 0.7, | ||
}, | ||
{ | ||
url: `${baseUrl}/admin/deposits`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 0.7, | ||
}, | ||
{ | ||
url: `${baseUrl}/admin/withdrawals`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 0.7, | ||
}, | ||
{ | ||
url: `${baseUrl}/admin/trades`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 0.7, | ||
}, | ||
{ | ||
url: `${baseUrl}/admin/manage-resources`, | ||
lastModified: new Date(), | ||
changeFrequency: 'daily', | ||
priority: 0.7, | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
export default function StructuredData() { | ||
const jsonLd = { | ||
'@context': 'https://schema.org', | ||
'@type': 'WebApplication', | ||
name: 'Digital Utopia', | ||
applicationCategory: 'FinanceApplication', | ||
operatingSystem: 'Web', | ||
description: 'Digital Utopia is a secure crypto trading platform offering seamless trading experiences with real-time market data and advanced trading tools.', | ||
offers: { | ||
'@type': 'Offer', | ||
price: '0', | ||
priceCurrency: 'USD', | ||
}, | ||
author: { | ||
'@type': 'Organization', | ||
name: 'Digital Utopia', | ||
url: 'https://digitalutopia.app', | ||
}, | ||
} | ||
|
||
return ( | ||
<script | ||
type="application/ld+json" | ||
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }} | ||
/> | ||
) | ||
} |