Skip to content

Commit f398fcf

Browse files
authored
chore: improve demo size (#1046)
1 parent 0af6678 commit f398fcf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default function Home() {
8585

8686
{/* Demo */}
8787
<div className="relative">
88-
<div className="relative bg-gradient-to-br from-default-100 to-default-200 rounded-2xl p-6 shadow-2xl">
88+
<div className="relative bg-gradient-to-br from-default-100 to-default-200 rounded-2xl p-3 md:p-6 shadow-2xl">
8989
<Image
9090
src="https://vhs.charm.sh/vhs-12NaAvXqgDiV647TA2C356.gif"
9191
width={800}
@@ -97,10 +97,10 @@ export default function Home() {
9797
/>
9898
</div>
9999
{/* Floating badge */}
100-
<div className="absolute -top-4 -right-4 bg-success rounded-full p-3 shadow-lg">
100+
<div className="absolute -top-2 -right-2 md:-top-4 md:-right-4 bg-success rounded-full w-8 h-8 md:w-12 md:h-12 flex items-center justify-center shadow-lg">
101101
<FontAwesomeIcon
102102
icon={faRocket}
103-
className="text-white text-lg"
103+
className="text-white text-xs md:text-lg"
104104
/>
105105
</div>
106106
</div>

0 commit comments

Comments
 (0)