diff --git a/next.config.js b/next.config.js index 767719f..5ea4dd6 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,7 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {} +const nextConfig = {}; -module.exports = nextConfig +// use next-axiom for full stack monitoring +const { withAxiom } = require("next-axiom"); + +module.exports = withAxiom(nextConfig); diff --git a/package-lock.json b/package-lock.json index 72c52d8..07da638 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "eslint": "8.41.0", "eslint-config-next": "13.4.3", "next": "13.4.3", + "next-axiom": "^0.17.0", "postcss": "8.4.23", "react": "18.2.0", "react-dom": "18.2.0", @@ -2852,6 +2853,20 @@ } } }, + "node_modules/next-axiom": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/next-axiom/-/next-axiom-0.17.0.tgz", + "integrity": "sha512-qFdnH50SvRjJUAmNjGIYLcRc4tO/U4R1h9WUuniiwaucXAH5KhL06m7TT3WWD2U1HbulwSfC0R+NlPASOx1XlQ==", + "dependencies": { + "whatwg-fetch": "^3.6.2" + }, + "engines": { + "node": ">=15" + }, + "peerDependencies": { + "next": "^12.1.4 || ^13" + } + }, "node_modules/next/node_modules/postcss": { "version": "8.4.14", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", @@ -4156,6 +4171,11 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, + "node_modules/whatwg-fetch": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", + "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", diff --git a/package.json b/package.json index db67234..1cd7435 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "eslint": "8.41.0", "eslint-config-next": "13.4.3", "next": "13.4.3", + "next-axiom": "^0.17.0", "postcss": "8.4.23", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/src/app/globals.css b/src/app/globals.css index fd81e88..71f619b 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -18,10 +18,4 @@ body { color: rgb(var(--foreground-rgb)); - background: linear-gradient( - to bottom, - transparent, - rgb(var(--background-end-rgb)) - ) - rgb(var(--background-start-rgb)); } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 71b3fbf..3b0cf48 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,21 +1,21 @@ -import './globals.css' -import { Inter } from 'next/font/google' +import "./globals.css"; +import { Inter } from "next/font/google"; -const inter = Inter({ subsets: ['latin'] }) +const inter = Inter({ subsets: ["latin"] }); export const metadata = { - title: 'Create Next App', - description: 'Generated by create next app', -} + title: "", + description: "Start your retrofit journey today", +}; export default function RootLayout({ children, }: { - children: React.ReactNode + children: React.ReactNode; }) { return ( {children} - ) + ); } diff --git a/src/app/page.tsx b/src/app/page.tsx index 7e80296..1c8fe12 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,113 +1,7 @@ -import Image from 'next/image' - export default function Home() { return (
-
-

- Get started by editing  - src/app/page.tsx -

-
- - By{' '} - Vercel Logo - -
-
- -
- Next.js Logo -
- -
- -

- Docs{' '} - - -> - -

-

- Find in-depth information about Next.js features and API. -

-
- - -

- Learn{' '} - - -> - -

-

- Learn about Next.js in an interactive course with quizzes! -

-
- - -

- Templates{' '} - - -> - -

-

- Explore the Next.js 13 playground. -

-
- - -

- Deploy{' '} - - -> - -

-

- Instantly deploy your Next.js site to a shareable URL with Vercel. -

-
-
+
Hello world
- ) + ); }