diff --git a/anwendung/.gitignore b/anwendung/.gitignore new file mode 100644 index 0000000..8f322f0 --- /dev/null +++ b/anwendung/.gitignore @@ -0,0 +1,35 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts diff --git a/anwendung/.idea/.gitignore b/anwendung/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/anwendung/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/anwendung/.idea/Anwendung.iml b/anwendung/.idea/Anwendung.iml new file mode 100644 index 0000000..0c8867d --- /dev/null +++ b/anwendung/.idea/Anwendung.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/anwendung/.idea/modules.xml b/anwendung/.idea/modules.xml new file mode 100644 index 0000000..01fc689 --- /dev/null +++ b/anwendung/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/anwendung/README.md b/anwendung/README.md new file mode 100644 index 0000000..ca8a3a2 --- /dev/null +++ b/anwendung/README.md @@ -0,0 +1,38 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +# or +pnpm dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. + +[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`. + +The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. + +This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/anwendung/jsconfig.json b/anwendung/jsconfig.json new file mode 100644 index 0000000..b8d6842 --- /dev/null +++ b/anwendung/jsconfig.json @@ -0,0 +1,7 @@ +{ + "compilerOptions": { + "paths": { + "@/*": ["./src/*"] + } + } +} diff --git a/anwendung/next.config.js b/anwendung/next.config.js new file mode 100644 index 0000000..a843cbe --- /dev/null +++ b/anwendung/next.config.js @@ -0,0 +1,6 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, +} + +module.exports = nextConfig diff --git a/anwendung/pages/_app.js b/anwendung/pages/_app.js new file mode 100644 index 0000000..2300201 --- /dev/null +++ b/anwendung/pages/_app.js @@ -0,0 +1,5 @@ +import '@/styles/globals.css' + +export default function App({ Component, pageProps }) { + return +} diff --git a/anwendung/pages/_document.js b/anwendung/pages/_document.js new file mode 100644 index 0000000..54e8bf3 --- /dev/null +++ b/anwendung/pages/_document.js @@ -0,0 +1,13 @@ +import { Html, Head, Main, NextScript } from 'next/document' + +export default function Document() { + return ( + + + +
+ + + + ) +} diff --git a/anwendung/pages/api/hello.js b/anwendung/pages/api/hello.js new file mode 100644 index 0000000..df63de8 --- /dev/null +++ b/anwendung/pages/api/hello.js @@ -0,0 +1,5 @@ +// Next.js API route support: https://nextjs.org/docs/api-routes/introduction + +export default function handler(req, res) { + res.status(200).json({ name: 'John Doe' }) +} diff --git a/anwendung/pages/index.js b/anwendung/pages/index.js new file mode 100644 index 0000000..d6c867e --- /dev/null +++ b/anwendung/pages/index.js @@ -0,0 +1,118 @@ +import Image from 'next/image' +import { Inter } from 'next/font/google' + +const inter = Inter({ subsets: ['latin'] }) + +export default function Home() { + return ( +
+
+

+ Get started by editing  + pages/index.js +

+ +
+ +
+ 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{' '} + + -> + +

+

+ Discover and deploy boilerplate example Next.js projects. +

+
+ + +

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

+

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

+
+
+
+ ) +} diff --git a/anwendung/postcss.config.js b/anwendung/postcss.config.js new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/anwendung/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/anwendung/public/favicon.ico b/anwendung/public/favicon.ico new file mode 100644 index 0000000..718d6fe Binary files /dev/null and b/anwendung/public/favicon.ico differ diff --git a/anwendung/public/next.svg b/anwendung/public/next.svg new file mode 100644 index 0000000..5174b28 --- /dev/null +++ b/anwendung/public/next.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/anwendung/public/vercel.svg b/anwendung/public/vercel.svg new file mode 100644 index 0000000..d2f8422 --- /dev/null +++ b/anwendung/public/vercel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/anwendung/src/styles/globals.css b/anwendung/src/styles/globals.css new file mode 100644 index 0000000..fd81e88 --- /dev/null +++ b/anwendung/src/styles/globals.css @@ -0,0 +1,27 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +:root { + --foreground-rgb: 0, 0, 0; + --background-start-rgb: 214, 219, 220; + --background-end-rgb: 255, 255, 255; +} + +@media (prefers-color-scheme: dark) { + :root { + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; + } +} + +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/anwendung/tailwind.config.js b/anwendung/tailwind.config.js new file mode 100644 index 0000000..8c4d1b2 --- /dev/null +++ b/anwendung/tailwind.config.js @@ -0,0 +1,18 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: [ + './pages/**/*.{js,ts,jsx,tsx,mdx}', + './components/**/*.{js,ts,jsx,tsx,mdx}', + './app/**/*.{js,ts,jsx,tsx,mdx}', + ], + theme: { + extend: { + backgroundImage: { + 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', + 'gradient-conic': + 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', + }, + }, + }, + plugins: [], +}