Skip to content

Commit

Permalink
feat: seo improvements (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-Salomon authored Aug 16, 2024
1 parent 64471e4 commit 2ece08e
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 2 deletions.
Binary file added app/public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/public/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions app/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ import { headers } from 'next/headers'
import { twMerge } from 'tailwind-merge'
import { cookieToInitialState } from 'wagmi'
import './globals.css'
import { TURTLE_CONFIG } from '@/utils/turle.config'

export const metadata: Metadata = {
title: 'Turtle',
description: 'Token transfers done right',
metadataBase: new URL(TURTLE_CONFIG.url!),
title: TURTLE_CONFIG.name,
description: TURTLE_CONFIG.description,
icons: {
icon: '/favicon.ico',
apple: '/apple-icon.png',
},
}

export default function RootLayout({
Expand Down
33 changes: 33 additions & 0 deletions app/src/app/manifest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import type { MetadataRoute } from 'next'
import { TURTLE_CONFIG } from '@/utils/turle.config'

export default function manifest(): MetadataRoute.Manifest {
return {
name: TURTLE_CONFIG.name,
short_name: 'Turtle',
lang: 'en',
description: TURTLE_CONFIG.description,
start_url: '/',
display: 'standalone',
background_color: '#fff',
theme_color: '#fff',
categories: ['polkadot', 'ethereum', 'defi', 'blockchain', 'web3'],
icons: [
{
src: '/favicon.ico',
sizes: '32x32',
type: 'image/x-icon',
},
{
src: '/android-chrome-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: '/android-chrome-512x512.png',
sizes: '512x512',
type: 'image/png',
},
],
}
}
1 change: 1 addition & 0 deletions app/src/app/opengraph-image.alt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Turtle, frictionless cross-chain transfers
Binary file added app/src/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions app/src/app/robot.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import type { MetadataRoute } from 'next'
import { TURTLE_CONFIG } from '@/utils/turle.config'

export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/',
},
sitemap: `${TURTLE_CONFIG.url}/sitemap.xml`,
}
}
15 changes: 15 additions & 0 deletions app/src/app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { TURTLE_CONFIG } from '@/utils/turle.config'
import type { MetadataRoute } from 'next'

export default function sitemap(): MetadataRoute.Sitemap {
const defaultSite: MetadataRoute.Sitemap = [
{
url: `${TURTLE_CONFIG.url}`,
lastModified: new Date(),
changeFrequency: 'hourly',
priority: 1,
},
]

return defaultSite
}
1 change: 1 addition & 0 deletions app/src/app/twitter-image.alt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Turtle, frictionless cross-chain transfers
Binary file added app/src/app/twitter-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions app/src/utils/turle.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export const TURTLE_CONFIG = {
name: 'Turtle',
description:
'Turtle is your go to app when it comes to cross-chain transfers that leverage fully trustless infrastructure. We aim to provide a unified experience to transfer tokens anywhere.',
url: 'https://app.turtle.cool',
}

0 comments on commit 2ece08e

Please sign in to comment.