🚀 Auto-deploy: BrainWind atualizado em 28/07/2026 11:08:28
This commit is contained in:
@@ -13,7 +13,8 @@ import { Badge } from '@/components/ui/badge';
|
||||
import { Separator } from '@/components/ui/separator';
|
||||
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
|
||||
import { Tabs, TabsList, TabsTrigger } from '@/components/ui/tabs';
|
||||
import { AlertCircle, Lightbulb } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { AlertCircle, Lightbulb, Box, Wind } from 'lucide-react';
|
||||
import ExportMenu from '../components/ExportMenu';
|
||||
import { EducationalManual } from '@/components/EducationalManual';
|
||||
import { PressureLegend } from '@/components/PressureLegend';
|
||||
@@ -37,6 +38,8 @@ const GalpaoModule: React.FC = () => {
|
||||
setLength,
|
||||
setHeight,
|
||||
setRoofPitch,
|
||||
viewMode,
|
||||
setViewMode,
|
||||
} = useGalpaoStore();
|
||||
const {
|
||||
q,
|
||||
@@ -258,6 +261,26 @@ const GalpaoModule: React.FC = () => {
|
||||
q = {q.toFixed(3)} kN/m²
|
||||
</Badge>
|
||||
</div>
|
||||
<div className="flex bg-background/80 backdrop-blur-sm rounded-md p-1 shadow-sm border border-border pointer-events-auto ml-auto">
|
||||
<Button
|
||||
variant={viewMode === 'solid' ? 'secondary' : 'ghost'}
|
||||
size="sm"
|
||||
className="h-7 px-3 text-xs"
|
||||
onClick={() => setViewMode('solid')}
|
||||
>
|
||||
<Box className="w-3.5 h-3.5 mr-1.5" />
|
||||
Sólido
|
||||
</Button>
|
||||
<Button
|
||||
variant={viewMode === 'airflow' ? 'secondary' : 'ghost'}
|
||||
size="sm"
|
||||
className="h-7 px-3 text-xs"
|
||||
onClick={() => setViewMode('airflow')}
|
||||
>
|
||||
<Wind className="w-3.5 h-3.5 mr-1.5" />
|
||||
Fluxo
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-wrap gap-2 pointer-events-auto justify-start sm:justify-end">
|
||||
<EducationalManual type="warehouse" params={{ windAngle, cpi }} />
|
||||
|
||||
Reference in New Issue
Block a user