Skip to content

Commit

Permalink
Update docker-compose.yml and layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne committed Feb 5, 2024
1 parent a97afad commit 4f982d5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
- traefik
image: node:21
working_dir: /app/src
command: sh -c 'npm install && npm run build && npm start'
command: sh -c 'npm install && npm run dev'
volumes:
- ./front:/app/src
labels:
Expand Down
20 changes: 11 additions & 9 deletions front/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
import type { Metadata } from 'next'
import './globals.css'
import type { Metadata } from "next";
import "./globals.css";

export const metadata: Metadata = {
title: 'Real time Chat',
description: 'Real time chat application',
}
title: "Real time Chat",
description: "Real time chat application",
};

export default function RootLayout({
children,
}: {
children: React.ReactNode
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className='bg-[url("/images/bg.jpg")] min-h-screen bg-cover bg-no-repeat bg-[#050505AB] bg-blend-overlay'>{children}</body>
<body className='bg-[url("/images/bg.jpg")] min-h-screen bg-cover bg-no-repeat bg-[#050505AB] bg-blend-overlay'>
{children}
</body>
</html>
)
}
);
}

0 comments on commit 4f982d5

Please sign in to comment.