Fix: Imports on backend
Fix: Connected Backend to Frontend over localhost
This commit is contained in:
24
web_server/frontend/src/components/Layout/BaseLayout.tsx
Normal file
24
web_server/frontend/src/components/Layout/BaseLayout.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
// base.html
|
||||
// src/components/Layout/BaseLayout.tsx
|
||||
import React from 'react';
|
||||
|
||||
interface BaseLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
const BaseLayout: React.FC<BaseLayoutProps> = ({ children }) => {
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charSet="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Live Stream</title>
|
||||
</head>
|
||||
<body>
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
};
|
||||
|
||||
export default BaseLayout;
|
||||
Reference in New Issue
Block a user