Compare commits

...

3 Commits

Author SHA1 Message Date
92bb6bf367
Add SubHomePage component and minor styling updates
Introduced the SubHomePage component to enhance modularity of the home page. Adjusted styling to include margins and a dark mode class for the body element.
2024-10-17 12:04:28 +02:00
4d6962afb5
Update Next.js to version 14.2.15
Upgraded Next.js dependency from version 14.2.3 to 14.2.15 in package.json and pnpm-lock.yaml. This ensures improved stability and integrates the latest features and fixes in the Next.js framework.
**2 vulnerabilities found in dependency**
2024-10-17 12:04:17 +02:00
09ec8d683f
Upgrade dependencies to latest versions for security and fixes
Updated multiple dependencies in `package.json` and `pnpm-lock.yaml` to their latest versions. This includes key packages such as `@nestjs`, `express`, `typescript`, and others for enhanced stability, security, and performance improvements.
2024-10-17 12:01:07 +02:00
5 changed files with 781 additions and 752 deletions

View File

@ -15,7 +15,7 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={"h-screen w-screen bg-card flex flex-col justify-between items-center police-ubuntu"}>
<body className={"h-screen w-screen bg-card flex flex-col justify-between items-center police-ubuntu dark"}>
<Header/>
{children}
<Footer/>

View File

@ -8,6 +8,9 @@ import {
ResizablePanel,
ResizablePanelGroup
} from 'apps/frontend/src/components/ui/resizable';
import {
SubHomePage
} from 'apps/frontend/src/components/sub-pages/sub-home-page';
export enum ESubPage {
Home,
@ -32,7 +35,7 @@ export default function HomePage() {
</ResizablePanel>
<ResizableHandle withHandle />
<ResizablePanel
className={"w-full flex justify-center items-center"}>
className={"w-full flex justify-center items-center m-3"}>
<SubPage currentSubPage={currentSubPage}/>
</ResizablePanel>
</ResizablePanelGroup>
@ -73,7 +76,7 @@ export interface ISubPageProps {
function SubPage(props: ISubPageProps) {
switch (props.currentSubPage) {
case ESubPage.Home:
return (<>Home</>)
return (<SubHomePage/>)
case ESubPage.Documentation:
return (<>Doc</>)
default:

View File

@ -0,0 +1,14 @@
import { useState } from 'react';
export interface SubHomePageProps {
}
export function SubHomePage(props: SubHomePageProps) {
const [isLoaded, setIsLoaded] = useState<boolean>(false);
return (<section className={"w-full h-full rounded bg-card"}>
</section>)
}

View File

@ -12,11 +12,11 @@
"private": true,
"dependencies": {
"@fontsource/ubuntu": "^5.1.0",
"@nestjs/common": "^10.4.4",
"@nestjs/common": "^10.4.5",
"@nestjs/config": "^3.2.3",
"@nestjs/core": "^10.4.4",
"@nestjs/core": "^10.4.5",
"@nestjs/mapped-types": "*",
"@nestjs/platform-express": "^10.4.4",
"@nestjs/platform-express": "^10.4.5",
"@nestjs/swagger": "^7.4.2",
"@nestjs/throttler": "^6.2.1",
"@radix-ui/react-accordion": "^1.2.1",
@ -56,39 +56,39 @@
"drizzle-orm": "^0.33.0",
"drizzle-zod": "^0.5.1",
"embla-carousel-react": "^8.3.0",
"express": "^4.21.0",
"file-type": "^19.5.0",
"express": "^4.21.1",
"file-type": "^19.6.0",
"helmet": "^7.2.0",
"input-otp": "^1.2.4",
"jose": "^5.9.3",
"jose": "^5.9.4",
"lucide-react": "^0.429.0",
"magic-bytes.js": "^1.10.0",
"next": "14.2.3",
"next": "14.2.15",
"next-themes": "^0.3.0",
"postgres": "^3.4.4",
"react": "18.3.1",
"react-day-picker": "^9.1.3",
"react-day-picker": "^9.1.4",
"react-dom": "18.3.1",
"react-resizable-panels": "^2.1.4",
"recharts": "^2.12.7",
"recharts": "^2.13.0",
"reflect-metadata": "^0.1.14",
"rxjs": "^7.8.1",
"sonner": "^1.5.0",
"tailwind-merge": "^2.5.3",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7",
"ts-mockito": "^2.6.1",
"tslib": "^2.7.0"
"tslib": "^2.8.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.3",
"@nestjs/schematics": "^10.1.4",
"@nestjs/testing": "^10.4.4",
"@nestjs/schematics": "^10.2.0",
"@nestjs/testing": "^10.4.5",
"@nx/cypress": "19.6.1",
"@nx/eslint": "19.6.1",
"@nx/eslint-plugin": "19.6.1",
"@nx/jest": "19.6.1",
"@nx/js": "19.6.1",
"@nx/nest": "^19.8.4",
"@nx/nest": "^19.8.5",
"@nx/next": "19.6.1",
"@nx/node": "19.6.1",
"@nx/react": "19.6.1",
@ -97,7 +97,7 @@
"@nx/workspace": "19.6.1",
"@swc-node/register": "~1.10.9",
"@swc/cli": "~0.3.14",
"@swc/core": "~1.7.26",
"@swc/core": "~1.7.36",
"@swc/helpers": "~0.5.13",
"@types/jest": "^29.5.13",
"@types/node": "18.16.9",
@ -124,7 +124,7 @@
"tailwindcss": "3.4.3",
"ts-jest": "^29.2.5",
"ts-node": "10.9.1",
"typescript": "~5.6.2",
"typescript": "~5.6.3",
"webpack-cli": "^5.1.4"
}
}

1478
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff