Update
This commit is contained in:
@@ -4,7 +4,7 @@ import { Button } from '@/components/ui/button';
|
|||||||
import { cn } from '@/lib/utils';
|
import { cn } from '@/lib/utils';
|
||||||
import { useMitt } from '@/plugins/MittContext';
|
import { useMitt } from '@/plugins/MittContext';
|
||||||
import useVideoEditorStore from '@/stores/VideoEditorStore';
|
import useVideoEditorStore from '@/stores/VideoEditorStore';
|
||||||
import { Download, Edit3, GraduationCap, Play, Share2, Square } from 'lucide-react';
|
import { Download, GraduationCap, Play, Square, SquarePen } from 'lucide-react';
|
||||||
|
|
||||||
const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive = false }) => {
|
const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive = false }) => {
|
||||||
const { videoIsPlaying } = useVideoEditorStore();
|
const { videoIsPlaying } = useVideoEditorStore();
|
||||||
@@ -51,15 +51,19 @@ const EditorControls = ({ className = '', onEditClick = () => {}, isEditActive =
|
|||||||
className="h-12 w-12 rounded-full border shadow-sm"
|
className="h-12 w-12 rounded-full border shadow-sm"
|
||||||
onClick={onEditClick}
|
onClick={onEditClick}
|
||||||
>
|
>
|
||||||
<Edit3 className={`h-8 w-8 ${isEditActive ? 'text-white' : ''}`} />
|
<SquarePen className={`h-8 w-8 ${isEditActive ? 'text-white' : ''}`} />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button onClick={handleDownloadButton} variant="outline" size="icon" className="h-12 w-12 rounded-full border shadow-sm">
|
<Button onClick={handleDownloadButton} variant="outline" size="icon" className="h-12 w-12 rounded-full border shadow-sm">
|
||||||
<Download className="h-8 w-8" />
|
<Download className="h-8 w-8" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button variant="outline" size="icon" className="h-12 w-12 rounded-full border shadow-sm">
|
{/* <Button variant="outline" size="icon" className="h-12 w-12 rounded-full border shadow-sm">
|
||||||
<Share2 className="h-8 w-8" />
|
<Share2 className="h-8 w-8" />
|
||||||
|
</Button> */}
|
||||||
|
|
||||||
|
<Button variant="outline" size="icon" className="font-display h-12 w-12 rounded-full border font-bold shadow-sm">
|
||||||
|
AI
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button variant="outline" size="icon" className="h-12 w-12 rounded-full border shadow-sm">
|
<Button variant="outline" size="icon" className="h-12 w-12 rounded-full border shadow-sm">
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ const Home = () => {
|
|||||||
return (
|
return (
|
||||||
<div className="min-h-screen bg-neutral-50 dark:bg-black">
|
<div className="min-h-screen bg-neutral-50 dark:bg-black">
|
||||||
<Editor />
|
<Editor />
|
||||||
|
{/* <div className="dark:bg-neutral-800">What is MEMEAIGEN?</div> */}
|
||||||
<FlashMessages />
|
<FlashMessages />
|
||||||
<AuthUser />
|
<AuthUser />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user