feat: invert Settings and GlobalWindSettingsModal layout positions, add header theme switcher, and remove version from logo
This commit is contained in:
@@ -20,7 +20,11 @@ import { IsopletasModal } from '@/components/IsopletasModal';
|
||||
import { InfoV0Modal } from '@/components/InfoV0Modal';
|
||||
import { InfoParamModal } from '@/components/InfoParamModal';
|
||||
|
||||
export function GlobalWindSettingsModal() {
|
||||
interface GlobalWindSettingsModalProps {
|
||||
trigger?: React.ReactNode;
|
||||
}
|
||||
|
||||
export function GlobalWindSettingsModal({ trigger }: GlobalWindSettingsModalProps) {
|
||||
const {
|
||||
v0,
|
||||
s1,
|
||||
@@ -52,10 +56,12 @@ export function GlobalWindSettingsModal() {
|
||||
return (
|
||||
<Dialog>
|
||||
<DialogTrigger asChild>
|
||||
<Button variant="outline" size="sm" className="gap-2 bg-background shadow-sm hover:bg-muted/50 border-primary/20 text-primary">
|
||||
<Settings2 className="w-4 h-4" />
|
||||
<span className="hidden sm:inline">Parâmetros do Vento</span>
|
||||
</Button>
|
||||
{trigger || (
|
||||
<Button variant="outline" size="sm" className="gap-2 bg-background shadow-sm hover:bg-muted/50 border-primary/20 text-primary">
|
||||
<Settings2 className="w-4 h-4" />
|
||||
<span className="hidden sm:inline">Parâmetros do Vento</span>
|
||||
</Button>
|
||||
)}
|
||||
</DialogTrigger>
|
||||
<DialogContent className="sm:max-w-[500px] p-4 sm:p-6">
|
||||
<DialogHeader>
|
||||
|
||||
Reference in New Issue
Block a user