diff --git a/frontend/package-lock.json b/frontend/package-lock.json index bd6fcd8..4a67cba 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -5313,9 +5313,9 @@ } }, "node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", "dev": true, "license": "ISC", "dependencies": { diff --git a/frontend/src/components/layout/Layout.jsx b/frontend/src/components/layout/Layout.jsx index cf35e78..c8f7724 100644 --- a/frontend/src/components/layout/Layout.jsx +++ b/frontend/src/components/layout/Layout.jsx @@ -1,10 +1,14 @@ import Navbar from './Navbar'; -const Layout = ({ children }) => { +const Layout = ({ children, fullWidth = false, noPadding = false }) => { + const mainClasses = fullWidth || noPadding + ? "flex-1 flex flex-col" + : "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"; + return ( -
- 🚀 WebRTC P2P File Transfer Active! Videos are transferred directly between users via - RTCDataChannel with 16KB chunking and real-time progress monitoring. The server is only used for - SDP/ICE exchange (signaling). Connection is end-to-end encrypted (DTLS). -
-