Skip to content

Commit 3f44a09

Browse files
bretgmuuki88
andauthored
added ctv page (prebid#5589)
* added ctv page * linking to CTV * removing comment test * Add ctv icon as svg * Use correct icon and remove size constraints * Implement hover effect --------- Co-authored-by: Muki Seiler <[email protected]>
1 parent 622ec2a commit 3f44a09

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+49
-4
lines changed

_data/sidebar.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,6 +1714,14 @@
17141714
sectionTitle:
17151715
subgroup: 0
17161716

1717+
- sbSecId: 6
1718+
title: Connected TV
1719+
link: /formats/ctv.html
1720+
isHeader: 0
1721+
isSectionHeader: 0
1722+
sectionTitle:
1723+
subgroup: 0
1724+
17171725
- sbSecId: 6
17181726
title: Native
17191727
link: /prebid/native-implementation.html

_includes/icon__format--ctv.svg

Lines changed: 1 addition & 0 deletions

_layouts/home.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ <h2>Formats</h2>
7171
<div class="card-media">{% include icon__format--video.svg %}</div>
7272
</div>
7373
</div>
74+
<div class="card text-center">
75+
<div class="card-body">
76+
<a class="card-title stretched-link" href="/formats/ctv.html">Connected TV</a>
77+
<div class="card-media card-media-ctv">{% include icon__format--ctv.svg %}</div>
78+
</div>
79+
</div>
7480
<div class="card text-center">
7581
<div class="card-body">
7682
<a class="card-title stretched-link" href="/formats/amp.html">AMP</a>

_sass/components/_card.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@
8888
}
8989
}
9090
}
91+
92+
/** this is required for the CTV icon the path segment is not painted, but filled */
93+
+ .card-media-ctv {
94+
path {
95+
fill: $t-text-color--reverse;
96+
}
97+
}
9198
}
9299

93100
+ .card-media {
7.75 KB
7.64 KB
7.25 KB
7.76 KB
7.4 KB
7.25 KB

0 commit comments

Comments
 (0)