From af6d98247c591d8acffdf0429e117953ceff0abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Vanvelthem?= Date: Mon, 21 Nov 2022 10:45:33 +0100 Subject: [PATCH] refactor(examples): move styles folder into src --- examples/nextjs-app/src/pages/_app.tsx | 2 +- examples/nextjs-app/src/pages/index.tsx | 2 +- examples/nextjs-app/{ => src}/styles/Home.module.css | 0 examples/nextjs-app/{ => src}/styles/globals.css | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename examples/nextjs-app/{ => src}/styles/Home.module.css (100%) rename examples/nextjs-app/{ => src}/styles/globals.css (100%) diff --git a/examples/nextjs-app/src/pages/_app.tsx b/examples/nextjs-app/src/pages/_app.tsx index 22c17e0..f3f9628 100644 --- a/examples/nextjs-app/src/pages/_app.tsx +++ b/examples/nextjs-app/src/pages/_app.tsx @@ -1,4 +1,4 @@ -import '../../styles/globals.css'; +import '../styles/globals.css'; import type { AppProps } from 'next/app'; function MyApp({ Component, pageProps }: AppProps) { diff --git a/examples/nextjs-app/src/pages/index.tsx b/examples/nextjs-app/src/pages/index.tsx index 7f9a467..6b26122 100644 --- a/examples/nextjs-app/src/pages/index.tsx +++ b/examples/nextjs-app/src/pages/index.tsx @@ -2,7 +2,7 @@ import { HttpBadRequest } from '@belgattitude/http-exception'; import type { NextPage } from 'next'; import Head from 'next/head'; import Image from 'next/image'; -import styles from '../../styles/Home.module.css'; +import styles from '../styles/Home.module.css'; const Home: NextPage = () => { const error = new HttpBadRequest('hello'); diff --git a/examples/nextjs-app/styles/Home.module.css b/examples/nextjs-app/src/styles/Home.module.css similarity index 100% rename from examples/nextjs-app/styles/Home.module.css rename to examples/nextjs-app/src/styles/Home.module.css diff --git a/examples/nextjs-app/styles/globals.css b/examples/nextjs-app/src/styles/globals.css similarity index 100% rename from examples/nextjs-app/styles/globals.css rename to examples/nextjs-app/src/styles/globals.css