diff --git a/.gitignore b/.gitignore index 50cf959f..65e7d5a1 100644 --- a/.gitignore +++ b/.gitignore @@ -455,4 +455,3 @@ $RECYCLE.BIN/ !.vscode/extensions.json *.[Ll]ocal.json -frontend/.prettierrc diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json index dffe8401..61168913 100644 --- a/frontend/.eslintrc.json +++ b/frontend/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": ["next"] + "extends": ["next"], + "rules": { + "func-style": ["error", "declaration"] + } } diff --git a/frontend/.prettierrc b/frontend/.prettierrc new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/frontend/.prettierrc @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/frontend/package.json b/frontend/package.json index c0ea8df0..2fb5f58a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -25,6 +25,7 @@ "postcss": "^8.4.31", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-feather": "^2.0.10", "react-query": "^3.39.3", "tailwindcss": "^3.3.3", "typescript": "5.2.2" diff --git a/frontend/public/icons/chevron-down.svg b/frontend/public/icons/chevron-down.svg deleted file mode 100644 index 8659044a..00000000 --- a/frontend/public/icons/chevron-down.svg +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/frontend/src/app/bemanning/layout.tsx b/frontend/src/app/bemanning/layout.tsx new file mode 100644 index 00000000..c4f698ff --- /dev/null +++ b/frontend/src/app/bemanning/layout.tsx @@ -0,0 +1,18 @@ +import SearchBarComponent from "@/components/SearchBarComponent"; + +export default function BemanningLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( +