feat: refine session workflow with global state, quick tasting, and statistics

This commit is contained in:
2025-12-18 17:19:38 +01:00
parent 7f600698e4
commit ca1621e765
14 changed files with 399 additions and 116 deletions

View File

@@ -0,0 +1,14 @@
'use client';
import React from 'react';
import { useSession } from '@/context/SessionContext';
export default function MainContentWrapper({ children }: { children: React.ReactNode }) {
const { activeSession } = useSession();
return (
<div className={`transition-all duration-500 ${activeSession ? 'pt-[52px]' : 'pt-0'}`}>
{children}
</div>
);
}