Skip to content

Commit

Permalink
feat: remove pages directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierniki committed Sep 4, 2023
1 parent ac11596 commit 0feafd6
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 118 deletions.
4 changes: 1 addition & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import "../styles/tailwind.css"

import "../canvas"

export default function Web({ children }: { children: React.ReactNode }) {
export default function Layout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body>
Expand Down
29 changes: 17 additions & 12 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
import Head from "next/head"
import { Button } from "components/Button/Button"
import { LP_GRID_ITEMS } from "../lp-items"

export const metadata = {
title: "Next.js Enterprise Boilerplate",
openGraph: {
url: "https://next-enterprise.vercel.app/",
images: [
{
url: "https://raw.githubusercontent.com/Blazity/next-enterprise/main/project-logo.png",
width: 1200,
height: 630,
},
],
},
twitter: {
card: "summary_large_image",
},
}

export default function Web() {
return (
<>
<Head>
<meta property="og:url" content="https://next-enterprise.vercel.app/" />
<meta
property="og:image"
content="https://raw.githubusercontent.com/Blazity/next-enterprise/main/project-logo.png"
/>
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<title>Next.js Enterprise Boilerplate</title>
</Head>
<section className="bg-white dark:bg-gray-900">
<div className="mx-auto grid max-w-screen-xl px-4 py-8 text-center lg:py-16">
<div className="mx-auto place-self-center">
Expand Down
1 change: 0 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
29 changes: 0 additions & 29 deletions pages/_app.test.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions pages/_app.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions pages/api/health.ts

This file was deleted.

59 changes: 0 additions & 59 deletions pages/index.tsx

This file was deleted.

0 comments on commit 0feafd6

Please sign in to comment.