Skip to content

Commit

Permalink
feat: add ids for card
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonhyejin committed Jul 26, 2024
1 parent 99c6ad4 commit 8f0e534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docs-website/src/pages/_components/Logos/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,7 @@ export const CompanyLogos = () => (
<SwiperSlide key={idx}>
{company.link ? (
<a
href={company.link}
target="_blank"
rel="noopener noreferrer"
href={`/adoption-stories#${company.slug}`}
>
<img
src={useBaseUrl(company.imageUrl)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import styles from "./styles.module.scss";
export default function LearnItemCard({ company }) {
return (
<div className={clsx("col col--4", styles.featureCol)}>
<div className={clsx("card", styles.card)}>
<div className={clsx("card", styles.card)} id={company.slug}>
<div className={styles.card_image}>
<img src={`/img/adoption-stories/adoption-stories-${company.slug}.png`} alt={company.name} />
</div>
Expand Down

0 comments on commit 8f0e534

Please sign in to comment.