File size: 629 Bytes
d96d2a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import React from 'react';
import { Outlet } from 'react-router-dom';
import TopNav from './components/TopNav';
import NotificationToast from './components/NotificationToast';

const UserLayout = () => {
    return (
        <div className="bg-[#f6f8f7] min-h-screen flex flex-col text-slate-900 transition-colors duration-200 antialiased font-sans">
            <TopNav />
            {/* The routed content like Dashboard or CreateTicket will render here */}
            <Outlet />

            {/* Global real-time notifications popup */}
            <NotificationToast />
        </div>
    );
};

export default UserLayout;