diff --git a/app/src/app/favicon.ico b/app/app/favicon.ico similarity index 100% rename from app/src/app/favicon.ico rename to app/app/favicon.ico diff --git a/app/src/app/fonts/GeistMonoVF.woff b/app/app/fonts/GeistMonoVF.woff similarity index 100% rename from app/src/app/fonts/GeistMonoVF.woff rename to app/app/fonts/GeistMonoVF.woff diff --git a/app/src/app/fonts/GeistVF.woff b/app/app/fonts/GeistVF.woff similarity index 100% rename from app/src/app/fonts/GeistVF.woff rename to app/app/fonts/GeistVF.woff diff --git a/app/src/app/globals.css b/app/app/globals.css similarity index 100% rename from app/src/app/globals.css rename to app/app/globals.css diff --git a/app/src/app/layout.tsx b/app/app/layout.tsx similarity index 100% rename from app/src/app/layout.tsx rename to app/app/layout.tsx diff --git a/app/app/page.tsx b/app/app/page.tsx new file mode 100644 index 0000000..1316037 --- /dev/null +++ b/app/app/page.tsx @@ -0,0 +1,8 @@ +import Image from "next/image"; + +export default function Home() { + return (
+

My first Next App

+
+ ) +} \ No newline at end of file diff --git a/app/src/app/page.tsx b/app/src/app/page.tsx deleted file mode 100644 index 6fe62d1..0000000 --- a/app/src/app/page.tsx +++ /dev/null @@ -1,101 +0,0 @@ -import Image from "next/image"; - -export default function Home() { - return ( -
-
- Next.js logo -
    -
  1. - Get started by editing{" "} - - src/app/page.tsx - - . -
  2. -
  3. Save and see your changes instantly.
  4. -
- -
- - Vercel logomark - Deploy now - - - Read our docs - -
-
- -
- ); -} diff --git a/app/tailwind.config.ts b/app/tailwind.config.ts index 021c393..d43da91 100644 --- a/app/tailwind.config.ts +++ b/app/tailwind.config.ts @@ -2,9 +2,9 @@ import type { Config } from "tailwindcss"; const config: Config = { content: [ - "./src/pages/**/*.{js,ts,jsx,tsx,mdx}", - "./src/components/**/*.{js,ts,jsx,tsx,mdx}", - "./src/app/**/*.{js,ts,jsx,tsx,mdx}", + "./pages/**/*.{js,ts,jsx,tsx,mdx}", + "./components/**/*.{js,ts,jsx,tsx,mdx}", + "./app/**/*.{js,ts,jsx,tsx,mdx}", ], theme: { extend: { diff --git a/app/tsconfig.json b/app/tsconfig.json index 7b28589..e7ff90f 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -18,7 +18,7 @@ } ], "paths": { - "@/*": ["./src/*"] + "@/*": ["./*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], diff --git a/server/app.js b/server/app.js index 742929a..9b4adc3 100644 --- a/server/app.js +++ b/server/app.js @@ -16,7 +16,7 @@ app.use("/auth", authRoutes); app.use("/members", memberRoutes); // Server starten -const PORT = process.env.PORT || 3000; +const PORT = process.env.PORT || 2005; app.listen(PORT, () => { console.log(`Server läuft auf Port ${PORT}`); });