Skip to content

Commit

Permalink
chore: update SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed May 27, 2024
1 parent 213ea2d commit 83852b2
Show file tree
Hide file tree
Showing 11 changed files with 127 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:
NODE_ENV: production
GOOGLE_SEARCH_CONSOLE_API_KEY: ${{ secrets.GOOGLE_SEARCH_CONSOLE_API_KEY }}
GOOGLE_ADSENSE_CLIENT_ID: ${{ secrets.GOOGLE_ADSENSE_CLIENT_ID }}
WEBSITE_DNS_NAME: ${{ secrets.WEBSITE_DNS_NAME }}
WEBSITE_URL: ${{ secrets.WEBSITE_URL }}
working-directory: ./docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
Binary file added docs/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 docs/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 docs/public/apple-touch-icon.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 docs/public/favicon-16x16.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 docs/public/favicon-32x32.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 docs/public/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions docs/public/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/src/app/favicon.ico
Binary file not shown.
39 changes: 38 additions & 1 deletion docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,43 @@ export const metadata: Metadata = {
"validate",
],
verification: { google: process.env.GOOGLE_SEARCH_CONSOLE_API_KEY },
appleWebApp: {
title: "Multiform Validator",
capable: true,
statusBarStyle: "black-translucent",
},
applicationName: "Multiform Validator",
manifest: "/manifest.webmanifest",
icons: [
{
rel: "android-chrome-192x192",
url: `${process.env.WEBSITE_URL}/android-chrome-192x192.png`,
},
{
rel: "android-chrome-512x512",
url: `${process.env.WEBSITE_URL}/android-chrome-512x512.png`,
},
{
rel: "apple-touch-icon",
url: `${process.env.WEBSITE_URL}/apple-touch-icon.png`,
},
{
rel: "favicon-16x16",
url: `${process.env.WEBSITE_URL}/favicon-16x16.png`,
},
{
rel: "favicon-32x32",
url: `${process.env.WEBSITE_URL}/favicon-32x32.png`,
},
{
rel: "mstile-150x150",
url: `${process.env.WEBSITE_URL}/mstile-150x150.png`,
},
{
rel: "safari-pinned-tab",
url: `${process.env.WEBSITE_URL}/safari-pinned-tab.svg`,
},
],
};

export default function RootLayout({
Expand All @@ -52,7 +89,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="en">
<html lang="en" dir="ltr">
<head>
<meta
name="google-adsense-account"
Expand Down
36 changes: 35 additions & 1 deletion docs/src/app/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,43 @@ export default function manifest(): MetadataRoute.Manifest {
icons: [
{
src: "/favicon.ico",
sizes: "256x256",
sizes: "48x48",
type: "image/x-icon",
},
{
src: "/android-chrome-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "/android-chrome-512x512.png",
sizes: "512x512",
type: "image/png",
},
{
src: "/apple-touch-icon.png",
sizes: "180x180",
type: "image/png",
},
{
src: "/favicon-16x16.png",
sizes: "16x16",
type: "image/png",
},
{
src: "/favicon-32x32.png",
sizes: "32x32",
type: "image/png",
},
{
src: "/mstile-150x150.png",
sizes: "150x150",
type: "image/png",
},
{
src: "/safari-pinned-tab.svg",
type: "image/svg+xml",
},
],
};
}

0 comments on commit 83852b2

Please sign in to comment.