Skip to content

Commit 3049e18

Browse files
committedDec 6, 2024·
fix: remove pro image on mobile
1 parent c7cb2e9 commit 3049e18

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed
 

‎apps/docs/components/marketing/nextui-pro-section.tsx

+26-10
Original file line numberDiff line numberDiff line change
@@ -61,22 +61,37 @@ export const NextUIProSection = () => {
6161
<div className="z-30 flex w-screen h-full flex-col items-start justify-center leading-8 pt-4">
6262
<Chip
6363
classNames={{
64-
base: "my-2 bg-gradient-to-r from-blue-300 to-blue-500 font-semibold",
65-
content: "font-medium text-default-900",
64+
base: "ml-0.5 transition-colors bg-gradient-to-br from-cyan-600 to-blue-600",
65+
content: "text-tiny font-semibold",
6666
}}
6767
color="primary"
6868
size="sm"
69-
variant="flat"
7069
>
7170
PRO
7271
</Chip>
73-
<div className={titleWrapper({class: "inline md:block"})}>
74-
<h1 className={title({size: "lg"})}>Ship&nbsp;</h1>
75-
<h1 className={title({size: "lg", color: "blue"})}>faster&nbsp;</h1>
76-
<h1 className={title({size: "lg"})}>with&nbsp;</h1>
72+
<div className={titleWrapper({class: "mt-2 inline md:block"})}>
73+
<h1 className={title({size: "lg", class: "[text-shadow:_0_3px_0_rgb(0_0_0_/_10%)]"})}>
74+
Ship&nbsp;
75+
</h1>
76+
<h1
77+
className={title({
78+
size: "lg",
79+
color: "blue",
80+
class: "[text-shadow:_0_3px_0_rgb(0_0_0_/_10%)]",
81+
})}
82+
>
83+
faster&nbsp;
84+
</h1>
85+
<h1 className={title({size: "lg", class: "[text-shadow:_0_3px_0_rgb(0_0_0_/_10%)]"})}>
86+
with&nbsp;
87+
</h1>
7788
<div className="flex flex-col sm:flex-row">
78-
<h1 className={title({size: "lg"})}>beautiful&nbsp;</h1>
79-
<h1 className={title({size: "lg"})}>components</h1>
89+
<h1 className={title({size: "lg", class: "[text-shadow:_0_3px_0_rgb(0_0_0_/_10%)]"})}>
90+
beautiful&nbsp;
91+
</h1>
92+
<h1 className={title({size: "lg", class: "[text-shadow:_0_3px_0_rgb(0_0_0_/_10%)]"})}>
93+
components
94+
</h1>
8095
</div>
8196
</div>
8297
<p className={subtitle({class: "pr-12 text-foreground-500"})}>
@@ -108,6 +123,7 @@ export const NextUIProSection = () => {
108123
color="primary"
109124
href="https://nextui.pro?utm_source=nextui.org&utm_medium=nextui-homepage-section"
110125
rel="noopener noreferrer"
126+
target="_blank"
111127
>
112128
Explore NextUI Pro
113129
<svg
@@ -140,7 +156,7 @@ export const NextUIProSection = () => {
140156
<div className="overflow-hidden">
141157
<Marquee
142158
vertical
143-
className="h-78 w-screen mt-4 md:absolute md:top-0 md:inset-0 isolate md:max-h-dvh"
159+
className="h-78 hidden md:flex w-screen mt-4 md:absolute md:top-0 md:inset-0 isolate md:max-h-dvh"
144160
duration={isMobile ? 240 : 60}
145161
>
146162
<img

0 commit comments

Comments
 (0)