Skip to content

Commit 8fee92e

Browse files
feat: add banner referencing SAS Innovate (#18)
This involves refining the stylesheet to better handle self-hiding images on mobile. Signed-off-by: Bryan Behrenshausen <bryan.behrenshausen@sas.com>
1 parent 9fd1c72 commit 8fee92e

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

css/sassoftware.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,12 +550,15 @@ td:last-child {
550550
display: inline-block;
551551
box-shadow: .3rem .3rem .1rem;
552552
}
553-
.u-img-hero {
553+
.u-img-hero {
554554
max-width: 80%;
555555
}
556+
.u-img-hiding {
557+
display: block;
558+
}
556559
@media (max-width: 1101px) {
557-
.u-img-hero {
558-
display:none;
560+
.u-img-hiding {
561+
display: none;
559562
}
560563
}
561564
.u-img-border {

images/sas-innovate.png

8.19 KB
Loading

index.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h1>Open source software from SAS</h1>
2727
<p><a class="button button-classic" href="https://github.com/sassoftware" title="github.com/sassoftware">View projects</a> <a href="contributor-handbook.html" title="SAS Open Source Contributor Handbook">Contribute →</a></p>
2828
</div>
2929
<div>
30-
<img class="u-img-hero" src="images/sas-colors-2.png">
30+
<img class="u-img-hero u-img-hiding" src="images/sas-colors-2.png">
3131
</div>
3232
</div>
3333

@@ -292,11 +292,15 @@ <h3>Code examples</h3>
292292

293293
<!-- Banded section -->
294294

295-
<div class="divider">
295+
<div class="band blue-band">
296296
<div>
297-
<img class="u-img-divider" src="images/standard-section-divider.png">
297+
<img class="u-img-hiding u-half-width" src="images/sas-innovate.png" style="padding-bottom:4rem;">
298+
<h2>More to explore</h2>
299+
<p class="u-embiggen">Access materials from hands-on sessions at <a href="https://www.sas.com/en/events/sas-innovate.html" title="SAS Innovate">SAS Innovate</a>. Get started with SAS® Viya Workbench, SAS® Intelligent Decisioning, SAS® Visual Analytics, and more.</p>
300+
<p><a class="button button-inverted" href="https://github.com/SAS-Innovate-2025" title="SAS-Innovate-2025">Access now</a></p>
298301
</div>
299302
</div>
303+
</div>
300304

301305
<!-- Body section -->
302306

0 commit comments

Comments
 (0)