Skip to content

Commit

Permalink
feat(salepage): L3-4564 sale page tweaks (#427)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Grund <[email protected]>
  • Loading branch information
sgrund14 and Sam Grund authored Nov 20, 2024
1 parent e87392b commit 2498592
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
8 changes: 8 additions & 0 deletions src/assets/calendarAlt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/icons.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export { default as AccountCircle } from './account_circle.svg?react';
export { default as ArrowPrev } from './arrowPrev.svg?react';
export { default as Calendar } from './calendar.svg?react';
export { default as CalendarAlt } from './calendarAlt.svg?react';
export { default as ChevronDown } from './chevronDown.svg?react';
export { default as ChevronNext } from './chevronNext.svg?react';
export { default as ChevronRight } from './chevronRight.svg?react';
Expand Down
12 changes: 9 additions & 3 deletions src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,15 @@ const Button = forwardRef<HTMLButtonElement | HTMLAnchorElement, ButtonProps>(
{...commonProps}
ref={ref as React.ForwardedRef<HTMLAnchorElement>}
href={href}
className={classnames(`${baseClassName}`, `${baseClassName}--${size}`, `${baseClassName}--${variant}`, {
[`${baseClassName}--icon-last`]: iconLast,
})}
className={classnames(
`${baseClassName}`,
`${baseClassName}--${size}`,
`${baseClassName}--${variant}`,
{
[`${baseClassName}--icon-last`]: iconLast,
},
className,
)}
target={target}
rel={target === '_blank' ? 'noopener noreferrer' : undefined}
>
Expand Down

0 comments on commit 2498592

Please sign in to comment.