Commit 20d32ae9 authored by Matt Vanderpol's avatar Matt Vanderpol

Prep work for selecting a competitor

Change from link to span and add data attributes for logic
parent 34daf921
......@@ -31,7 +31,7 @@ extra_js:
- Gitlab::Homepage::Stage.all!.each do |stage|
%td.competitors-container{ id: "#{stage.key}-competitors-container" }
- stage.competitors.each do |competitor|
%a.competitor-logo-container{ href: "/devops-tools/#{competitor.key.dup.tr('_', '-')}-vs-gitlab.html" }
%span.competitor-logo-container{ data: { stage: stage.key, competitor: competitor.key } }
.competitor-tooltip
%p.tooltip-text
= competitor.name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment