Update page.tsx

This commit is contained in:
Damien Ostler 2024-06-03 21:45:50 -04:00
parent fd76220269
commit e8fa3d2ce0

View File

@ -103,19 +103,20 @@ function PageComponent() {
</div> </div>
</div> </div>
<div className="w-full lg:w-1/2 h-max rounded-md bg-primary opacity-90 backdrop-blur-lg p-12 m-1 mt-32 shadow-lg"> <div className="w-full lg:w-1/2 h-max rounded-md bg-primary opacity-90 backdrop-blur-lg p-12 m-1 mt-32 shadow-lg">
<div className="w-full flex pb-2"> <div className="w-full fixed flex pb-2 z-20">
<div className="w-4/6">
<SearchInput <SearchInput
startingTags={[]} startingTags={[]}
placeholderTags={[ placeholderTags={[
{ value: "tags", label: "❗️ click here to add tags to search" } { value: "tags", label: "❗️ click here to add tags to search" }
]} nsfwButtonEnabled={false} searchChanged={(search) => { setSearchState(search) }} nsfwChanged={(nsfw) => { setNsfwState(nsfw) }} tagsChanged={(tags) => { setTagsState(tags) }} /> ]} nsfwButtonEnabled={false} searchChanged={(search) => { setSearchState(search) }} nsfwChanged={(nsfw) => { setNsfwState(nsfw) }} tagsChanged={(tags) => { setTagsState(tags) }} />
</div>
<a href="/gallery/admin/create" className="hover:scale-95 ml-2 p-2 shadow-lg h-10 text-center bg-success hover:bg-success-light text-white w-1/6 font-bold rounded flex items-center justify-center"> <a href="/gallery/admin/create" className="w-1/6 hover:scale-95 ml-2 p-2 shadow-lg h-10 text-center bg-success hover:bg-success-light text-white font-bold rounded flex items-center justify-center">
+ Gallery New Gallery
</a> </a>
</div> </div>
<div className="w-full h-96 overflow-y-scroll no-scrollbar"> <div className="w-full h-96 overflow-y-scroll no-scrollbar">
<table className="w-full mt-8 bg-primary-light rounded"> <table className="w-full mt-20 bg-primary-light rounded">
<tbody> <tbody>
{/* Replace this with your data mapping logic */} {/* Replace this with your data mapping logic */}
{galleries.map((item: { name: string, imageCount: number, tier: string }) => ( {galleries.map((item: { name: string, imageCount: number, tier: string }) => (