Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[front] - chore: update tailwind colors #8399

Merged
merged 2 commits into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions front/components/home/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ CarouselItem.displayName = "CarouselItem";
const CarouselPrevious = React.forwardRef<
HTMLButtonElement,
React.ComponentProps<typeof Button>
// eslint-disable-next-line @typescript-eslint/no-unused-vars
>(({ className = "", variant = "tertiary", size = "sm", ...props }, ref) => {
>(({ className, variant = "outline", size = "sm", ...props }, ref) => {
const { scrollPrev, canScrollPrev, isLooping } = useCarousel();

return (
Expand All @@ -220,8 +219,7 @@ CarouselPrevious.displayName = "CarouselPrevious";
const CarouselNext = React.forwardRef<
HTMLButtonElement,
React.ComponentProps<typeof Button>
// eslint-disable-next-line @typescript-eslint/no-unused-vars
>(({ className = "", variant = "tertiary", size = "sm", ...props }, ref) => {
>(({ className, variant = "outline", size = "sm", ...props }, ref) => {
const { scrollNext, canScrollNext, isLooping } = useCarousel();

return (
Expand Down
4 changes: 2 additions & 2 deletions front/components/home/ContentBlocks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ export const CarousselContentBlock = ({
))}
</CarouselContent>
<div className="flex w-full flex-row items-center justify-end gap-3 px-8">
<CarouselPrevious variant="white" />
<CarouselNext variant="white" />
<CarouselPrevious />
<CarouselNext />
</div>
</Carousel>
</div>
Expand Down
4 changes: 2 additions & 2 deletions front/components/home/content/Product/BlogSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export function BlogSection() {
<div className="col-span-12 flex flex-col items-center gap-4">
<Carousel className="w-full">
<div className="flex w-full flex-row gap-4 md:justify-center">
<CarouselPrevious variant="white" />
<CarouselNext variant="white" />
<CarouselPrevious />
<CarouselNext />
</div>
<CarouselContent>
<CarouselItem className="basis-full md:basis-1/2 md:px-6 lg:basis-1/3">
Expand Down
4 changes: 2 additions & 2 deletions front/components/home/content/Product/VerticalSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export function VerticalSection() {
>
<Carousel className="w-full rounded-3xl" isLooping={true}>
<div className="flex w-full flex-row gap-4">
<CarouselPrevious variant="white" />
<CarouselNext variant="white" />
<CarouselPrevious />
<CarouselNext />
</div>
<CarouselContent className="rounded-xl">
<CarouselItem className="basis-full">
Expand Down
8 changes: 4 additions & 4 deletions front/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@auth0/nextjs-auth0": "^3.5.0",
"@dust-tt/client": "file:../sdks/js",
"@dust-tt/sparkle": "^0.2.290",
"@dust-tt/sparkle": "^0.2.291",
"@dust-tt/types": "file:../types",
"@headlessui/react": "^1.7.7",
"@heroicons/react": "^2.0.11",
Expand Down
Loading