Skip to content

Commit

Permalink
fix: undo unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Oct 29, 2024
1 parent 19941b9 commit 2dee682
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 205 deletions.
2 changes: 1 addition & 1 deletion src/components/Foundry/POCs/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import GithubIcon from '@/public/images/github-icon.svg'
import css from './styles.module.css'

const Card = (props: BaseBlockEntry) => {
const { caption, title, text, image, buttons } = props.fields
const { caption, title, text, link, image, buttons } = props.fields

const buttonsList = buttons?.filter(isEntryTypeButton) || []

Expand Down
2 changes: 1 addition & 1 deletion src/components/common/LinkCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const LinkCard = ({ caption, title, image, link, icon, highlight }: CardProps) =
<div className={`${css.card} ${highlight ? css.highlight : css.outline}`}>
<div className={css.cardHeader}>
{caption ? <Typography variant="caption">{caption}</Typography> : undefined}
{image ? <img src={image.src} alt={image.alt || 'card icon'} /> : icon ?? undefined}
{image ? <img src={image.src || ''} alt={image.alt || 'card icon'} /> : icon ?? undefined}
</div>

<div className={css.cardBody}>
Expand Down
31 changes: 0 additions & 31 deletions src/components/commonCMS/BigCardsGrid/index.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions src/components/commonCMS/BigImageCard/index.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions src/components/commonCMS/BigImageCard/styles.module.css

This file was deleted.

44 changes: 0 additions & 44 deletions src/components/commonCMS/Marquee/index.tsx

This file was deleted.

74 changes: 0 additions & 74 deletions src/components/commonCMS/Marquee/styles.module.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/config/routes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const AppRoutes = {
'404': '/404',
wallet: '/wallet-new',
wallet: '/wallet',
trademark: '/trademark',
token: '/token',
terms: '/terms',
Expand Down

0 comments on commit 2dee682

Please sign in to comment.