Skip to content

Commit

Permalink
added canonical url
Browse files Browse the repository at this point in the history
  • Loading branch information
paur94 committed Oct 28, 2024
1 parent 9374771 commit 801cb76
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import Header from '@/components/Header'
import './globals.css'
import Footer from '@/components/Footer'
import { Metadata } from 'next'
import Script from 'next/script'

export const metadata: Metadata = {
title: 'Layerswap Explorer',
description: 'Layerswap Explorer provides a detailed view of all transactions going through Layerswap. Search by address or transaction hash to get the information you need.',
}
import Head from 'next/head'

export default function RootLayout({
children,
Expand All @@ -16,6 +11,12 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<Head>
<title>Layerswap Explorer</title>
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
<link rel="canonical" href="https://layerswap.io/explorer" />
<meta name="description" content="Layerswap Explorer provides a detailed view of all transactions going through Layerswap. Search by address or transaction hash to get the information you need." />
</Head>
<Script defer data-domain="layerswap.io" src="https://plausible.io/js/script.js" />
<body className='flex min-h-screen flex-col items-center max-w-6xl mx-auto'>
<Header />
Expand Down

0 comments on commit 801cb76

Please sign in to comment.