diff --git a/frontend/src/components/Slider.tsx b/frontend/src/components/Slider.tsx index 32daef2a..1bd826f3 100644 --- a/frontend/src/components/Slider.tsx +++ b/frontend/src/components/Slider.tsx @@ -1,4 +1,5 @@ import * as React from 'react'; +import durian from '@/assets/pycon/durian.png'; import { cn } from '@/utils/classes'; import * as SliderPrimitive from '@radix-ui/react-slider'; @@ -12,11 +13,17 @@ const Slider = React.forwardRef, R )} {...props} > - - + + - - + +
+ ) ); diff --git a/frontend/src/components/TextArea.tsx b/frontend/src/components/TextArea.tsx index a73bf3f8..237a384b 100644 --- a/frontend/src/components/TextArea.tsx +++ b/frontend/src/components/TextArea.tsx @@ -1,20 +1,27 @@ import * as React from 'react'; import { cn } from '@/utils/classes'; -export interface TextareaProps extends React.TextareaHTMLAttributes {} +export interface TextareaProps extends React.TextareaHTMLAttributes { + variant?: 'default' | 'custard'; +} + +const Textarea = React.forwardRef(({ className, variant = 'default', ...props }, ref) => { + const variantClass = variant === 'custard' ? 'bg-[#feefdb] text-[#312541] placeholder:text-gray-600' : 'bg-input'; -const Textarea = React.forwardRef(({ className, ...props }, ref) => { return (