+ )
+}
+
+export default mitglied
\ No newline at end of file
diff --git a/app/app/page.tsx b/app/app/page.tsx
index 1316037..41039de 100644
--- a/app/app/page.tsx
+++ b/app/app/page.tsx
@@ -1,8 +1,14 @@
-import Image from "next/image";
+import Counter from "@/components/Counter";
export default function Home() {
- return (
+
+
+ return (
+
My first Next App
+
+< Counter />
+
)
}
\ No newline at end of file
diff --git a/app/app/settings/page.tsx b/app/app/settings/page.tsx
new file mode 100644
index 0000000..4026c38
--- /dev/null
+++ b/app/app/settings/page.tsx
@@ -0,0 +1,9 @@
+import React from 'react'
+
+function settings() {
+ return (
+
settings
+ )
+}
+
+export default settings
\ No newline at end of file
diff --git a/app/app/spiele/:id/page.tsx b/app/app/spiele/:id/page.tsx
new file mode 100644
index 0000000..e69de29
diff --git a/app/app/spiele/loading.tsx b/app/app/spiele/loading.tsx
new file mode 100644
index 0000000..51df51d
--- /dev/null
+++ b/app/app/spiele/loading.tsx
@@ -0,0 +1,11 @@
+'use client';
+import React from 'react'
+
+function loading() {
+ return (
+
+
loading
+ )
+}
+
+export default loading
\ No newline at end of file
diff --git a/app/app/spiele/page.tsx b/app/app/spiele/page.tsx
new file mode 100644
index 0000000..c80e662
--- /dev/null
+++ b/app/app/spiele/page.tsx
@@ -0,0 +1,34 @@
+import React from 'react'
+import Link from "next/link";
+
+type response = {
+ message: string;
+ games: spiel[];
+}
+
+type spiel = {
+ id: number;
+ name: string;
+ type: number;
+};
+
+async function spiele() {
+
+ const response = await fetch("http://localhost:2006/spiele");
+ const data:response[] = await response.json();
+
+ return (
+
+
Spiele
+
+ {data.games.map((spiel) => (
+
+ {spiel.name}
+
+ ))}
+
+
+ )
+}
+
+export default spiele
\ No newline at end of file
diff --git a/app/app/training/page.tsx b/app/app/training/page.tsx
new file mode 100644
index 0000000..6c946ae
--- /dev/null
+++ b/app/app/training/page.tsx
@@ -0,0 +1,9 @@
+import React from 'react'
+
+function training() {
+ return (
+
training
+ )
+}
+
+export default training
\ No newline at end of file
diff --git a/app/app/user/page.tsx b/app/app/user/page.tsx
new file mode 100644
index 0000000..6ce4eaa
--- /dev/null
+++ b/app/app/user/page.tsx
@@ -0,0 +1,9 @@
+import React from 'react'
+
+function user() {
+ return (
+
user
+ )
+}
+
+export default user
\ No newline at end of file
diff --git a/app/app/user/register/page.tsx b/app/app/user/register/page.tsx
new file mode 100644
index 0000000..568ce3a
--- /dev/null
+++ b/app/app/user/register/page.tsx
@@ -0,0 +1,9 @@
+import React from 'react'
+
+function register() {
+ return (
+
register
+ )
+}
+
+export default register
\ No newline at end of file
diff --git a/app/components/Counter.tsx b/app/components/Counter.tsx
new file mode 100644
index 0000000..f09dd6d
--- /dev/null
+++ b/app/components/Counter.tsx
@@ -0,0 +1,13 @@
+'use client';
+import React, { useState } from 'react';
+
+export default function Counter() {
+ const [count, setCount] = useState(0);
+
+ return (
+
+
{count}
+
+
+ )
+}
\ No newline at end of file
diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx
new file mode 100644
index 0000000..df75c0e
--- /dev/null
+++ b/app/components/Footer.tsx
@@ -0,0 +1,9 @@
+import React from 'react'
+
+function Footer() {
+ return (
+