Skip to content

Commit

Permalink
skipped ambassador certificate links
Browse files Browse the repository at this point in the history
  • Loading branch information
Heulitig committed Oct 20, 2023
1 parent c580761 commit 37eddf3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions index.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,27 @@ cert-link: champions/govindaraman/

-- cert-label: Rutuja Kapate
cert-link: ambassadors/rutuja-kapate/
ignore-links: true

-- cert-label: Krish Gupta
cert-link: ambassadors/krish-gupta/
ignore-links: true

-- cert-label: Ajit garg
cert-link: ambassadors/ajit-garg/
ignore-links: true

-- cert-label: Ayush Soni
cert-link: ambassadors/ayush-soni/
ignore-links: true

-- cert-label: Nishant
cert-link: ambassadors/nishant/
ignore-links: true

-- cert-label: Govindaraman
cert-link: ambassadors/govindaraman/
ignore-links: true

-- end: ftd.column

Expand All @@ -68,6 +74,7 @@ cert-link: ambassadors/govindaraman/
caption name:
string cert-link:
boolean $is-hovered: false
boolean ignore-links: false

-- ftd.row:
width: hug-content
Expand All @@ -77,14 +84,14 @@ align-content: center
-- ds.h3: $cert-label.name

-- ftd.image: $assets.files.assets.cert-icon.svg
if: { !cert-label.is-hovered }
if: { !cert-label.is-hovered && !cert-label.ignore-links }
width.fixed.px: 30
link: $cert-label.cert-link
cursor: pointer
$on-mouse-enter$: $ftd.set-bool($a = $cert-label.is-hovered, v = true)

-- ftd.image: $assets.files.assets.cert-icon-hover.svg
if: { cert-label.is-hovered }
if: { cert-label.is-hovered && !cert-label.ignore-links }
width.fixed.px: 30
link: $cert-label.cert-link
cursor: pointer
Expand Down

0 comments on commit 37eddf3

Please sign in to comment.