Skip to content

Commit

Permalink
fix: fix shadow for portfolio devs buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
jagcruz committed Oct 18, 2024
1 parent 1b3e850 commit 08311eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/data/portfolios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ const portfolios = [
label: 'Demo',
icon: 'socials/website',
link: 'https://unicorn-sparkle.web.app',
shadow: 'green',
bgColor: 'var(--cinnabar-color)',
textColor: 'var(--text-color)'
},
{
label: 'Repositorio',
icon: 'socials/github',
link: 'https://github.com/UXCorpRangel/portfolios-dev/tree/main/unicorn-sparkle',
shadow: 'green',
bgColor: 'var(--text-color)',
textColor: 'var(--alt-text-color)'
}
Expand Down
12 changes: 2 additions & 10 deletions src/pages/portfolios-dev.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,8 @@ import portfolios from '@data/portfolios';
<h2>{name}</h2>
<p>{description}</p>
<div class="card-links">
{links.map(({ label, icon, link, shadow, bgColor, textColor }) => (
<LinkButton
external
label={label}
icon={icon}
link={link}
shadow={shadow as 'green' | 'dark'}
bgColor={bgColor}
textColor={textColor}
/>
{links.map(({ label, icon, link, bgColor, textColor }) => (
<LinkButton external label={label} icon={icon} link={link} bgColor={bgColor} textColor={textColor} />
))}
</div>
</div>
Expand Down

0 comments on commit 08311eb

Please sign in to comment.