diff --git a/app/components/common/ActionButtons.tsx b/app/components/common/ActionButtons.tsx index f033baf..211e851 100644 --- a/app/components/common/ActionButtons.tsx +++ b/app/components/common/ActionButtons.tsx @@ -7,17 +7,18 @@ import React from 'react' export interface ActionButtonsProps { icon: React.ReactNode, label: string, + buttonWidth?: number, isGhost?: boolean, onClick?: () => void } -function ActionButtons({ icon, label, onClick ,isGhost=false}: ActionButtonsProps) { +function ActionButtons({ icon, label, onClick ,isGhost=false, buttonWidth=50}: ActionButtonsProps) { return ( -
- -

{label}

+

{label}

) } diff --git a/app/components/common/SideBar.tsx b/app/components/common/SideBar.tsx index a7d9fb7..2ebce3c 100644 --- a/app/components/common/SideBar.tsx +++ b/app/components/common/SideBar.tsx @@ -9,39 +9,66 @@ import { TextSelect } from "lucide-react"; import ActionButtons from "./ActionButtons"; -import { DocumentUpload, Element2, Magicpen, Setting2, Shapes, Text } from 'iconsax-react'; +import { ArrowLeft2, ArrowRight2, AudioSquare, Cardano, CodeCircle, DocumentUpload, Element2, ExportSquare, Link, LinkSquare, Magicpen, MessageAdd1, MessageQuestion, Next, Note, Previous, Setting2, Shapes, Smallcaps, Text, Video, VideoHorizontal } from 'iconsax-react'; const CategoryHeading = ({ title }: { title: string }) => ( -
+
{title}
); const Sidebar = () => { return ( -
- - +
+ +
- } label="Text" isGhost={true} /> - } label="Upload" isGhost={true} /> - } label="Elements" isGhost={true} /> - } label="Interactions" isGhost={true} /> - } label="Templates" isGhost={true} /> - } label="Ai Write" isGhost={true} /> + } label="Text" isGhost={true} /> + } label="Upload" isGhost={true} /> + } label="Elements" isGhost={true} /> + } label="Interactions" isGhost={true} /> + } label="Templates" isGhost={true} /> + } label="Ai Write" isGhost={true} />
} label="Preview" isGhost={true} /> - +
- -
- - } label="Link Area" isGhost={false} /> - } label="Link Area" isGhost={false} /> - } label="Link Area" isGhost={false} /> - } label="Link Area" isGhost={false} /> + + +
+ } label="Link Area" isGhost={false} buttonWidth={140} /> + } label="Link Button" isGhost={false} buttonWidth={140} /> + } label="Tag" isGhost={false} buttonWidth={140} /> + } label="Caption" isGhost={false} buttonWidth={140} /> + } label="Embed code" isGhost={false} buttonWidth={140} /> + } label="Pop-up frame" isGhost={false} buttonWidth={140} /> +
+ + +
+ } label="Spotlight" isGhost={false} buttonWidth={140} /> + } label="Slideshow" isGhost={false} buttonWidth={140} /> +
+ +
+ } label="Video embed" isGhost={false} buttonWidth={140} /> + } label="Video Button" isGhost={false} buttonWidth={140} /> + } label="Audio Button" isGhost={false} buttonWidth={140} /> +
+ +
+ } label="Question" isGhost={false} buttonWidth={140} /> + } label="Contact Form" isGhost={false} buttonWidth={140} /> +
+ +
+ } label="Previous Page" isGhost={false} buttonWidth={140} /> + } label="Next Page" isGhost={false} buttonWidth={140} /> + } label="Go to page" isGhost={false} buttonWidth={140} /> + } label="First page" isGhost={false} buttonWidth={140} /> + } label="Last page" isGhost={false} buttonWidth={140} />
DFHDSFGSDFGHSFHWd. diff --git a/app/globals.css b/app/globals.css index dc98be7..9ddc0b0 100644 --- a/app/globals.css +++ b/app/globals.css @@ -120,3 +120,10 @@ @apply bg-background text-foreground; } } + + +/* custom css */ + +.no-scrollbar::-webkit-scrollbar { + display: none; +}