Skip to content

Commit

Permalink
[web] Fixed color and button (#9601)
Browse files Browse the repository at this point in the history
* change color

* responsive text
  • Loading branch information
tdraier authored Dec 23, 2024
1 parent 8a494b5 commit b81d98f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions front/components/home/ContentBlocks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,20 @@ export const CarousselContentBlock = ({
</P>
</div>
<div className="w-full text-left">
<Link href={href} shallow={true} className="inline-block">
<Link href={href} shallow={true} className="inline-block max-w-full">
<Button
label={"Discover Dust"}
variant="outline"
size="md"
icon={ArrowRightIcon}
className="flex max-w-full md:hidden"
/>
<Button
label={"Discover Dust for " + title}
variant="outline"
size="md"
icon={ArrowRightIcon}
className="max-w-full"
className="hidden max-w-full md:flex"
/>
</Link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion front/components/home/ContentComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const pClasses = {
xxs: "font-objektiv text-xs text-muted-foreground md:text-sm leading-relaxed",
xs: "font-objektiv text-sm text-slate-400 md:text-base leading-relaxed",
sm: "font-objektiv text-base text-slate-400 md:text-lg leading-relaxed",
md: "font-objektiv text-lg md:text-lg text-slate-300 lg:text-xl leading-relaxed",
md: "font-objektiv text-lg md:text-lg text-slate-700 lg:text-xl leading-relaxed",
lg: "font-objektiv text-lg md:text-xl text-slate-300 lg:text-2xl drop-shadow leading-relaxed",
};

Expand Down

0 comments on commit b81d98f

Please sign in to comment.