mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-18 00:11:15 +00:00
feat: Update UI
This commit is contained in:
@@ -187,7 +187,7 @@ function PinnedResourcesCarousel({
|
||||
</div>
|
||||
</div>
|
||||
{resources.length > 1 && (
|
||||
<div className="absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2 z-10">
|
||||
<div className="absolute bottom-2 left-1/2 transform -translate-x-1/2 flex gap-2 z-10">
|
||||
{resources.map((_, index) => (
|
||||
<button
|
||||
key={index}
|
||||
@@ -232,7 +232,7 @@ function PinnedResourceItem({ resource }: { resource: Resource }) {
|
||||
/>
|
||||
</figure>
|
||||
)}
|
||||
<div className="p-4 absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent">
|
||||
<div className="p-4 absolute bottom-2 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent">
|
||||
<h2 className="break-all card-title text-white">{resource.title}</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user