Skip to content

Commit

Permalink
set interactive-widget resizes-content metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Brant Ashe committed May 29, 2024
1 parent fe56a9a commit f072960
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/app/(default)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import BgBanner from '@/components/BgBanner';
import type { Metadata } from 'next';
import type { Metadata, Viewport } from 'next';
import { Assistant } from 'next/font/google';
import { ReactNode } from 'react';

Expand All @@ -12,6 +12,12 @@ export const metadata: Metadata = {
description: 'Will Ashe - Software Engineer - Austin, TX',
};

export const viewport: Viewport = {
width: 'device-width',
initialScale: 1.0,
interactiveWidget: 'resizes-content',
};

export default function RootLayout({
children,
}: Readonly<{
Expand Down
1 change: 0 additions & 1 deletion src/app/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ html {
body {
background: #1e1d2d;
margin: 0;
padding: 0;
}

a {
Expand Down

0 comments on commit f072960

Please sign in to comment.