Skip to content

Commit

Permalink
finish front page
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed May 24, 2023
1 parent f30048c commit eb01854
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 5 deletions.
Binary file added docs/images/parsnip-flagger.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,17 @@
</div>
</div>
</div>
<section id="stay-up-to-date" class="level1 band third">
<h1>STAY UP TO DATE</h1>
<div class="band third">
<div class="bandContent">
<div class="hideOnMobile">
<img class="bee1" src="images/parsnip-flagger.jpg" alt="">
</div>
<div class="blurb">
<p><span class="tagline">STAY UP TO DATE</span></p>
<p>Hear about the latest tidymodels news at the <a href="https://www.tidyverse.org/tags/tidymodels/">tidyverse blog</a>.</p>
</section>
</div>
</div>
</div>
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions docs/site_libs/bootstrap/images/tidy-back-03.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,16 @@ Whether you are just starting out today or have years of experience with modelin
::::

:::: {.band .third}
# STAY UP TO DATE
:::: {.bandContent}

<div class="hideOnMobile"><img class="bee1" src="images/parsnip-flagger.jpg" alt=""></div>

::: {.blurb}
[STAY UP TO DATE]{.tagline}

Hear about the latest tidymodels news at the [tidyverse blog](https://www.tidyverse.org/tags/tidymodels/).
:::
::::
::::

:::::
35 changes: 35 additions & 0 deletions styles-frontpage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@
}
}

.bee1 {
display: block;
position: absolute;
bottom: 10px;
left: 10px;
width: 100px;
height: auto;

}

.band.first {
height: 690px;

Expand Down Expand Up @@ -126,6 +136,8 @@
}

.band.second {
height: 952px;

background-color: #fcfcfc;
border-bottom: solid 1pt #d9d9d9;
border-top: solid 1pt #d9d9d9;
Expand Down Expand Up @@ -159,6 +171,29 @@

.band.third {
background-color: #ffffff;
height: 450px;

.bandContent {
max-width: 1100px;
margin: 0 auto;
height: 450px;
padding-top: 100px;
padding-bottom: 100px;
background-image: url(images/tidy-back-03.svg);
background-repeat: no-repeat;
background-size: 650px 450px;

display: -webkit-flex;
-webkit-justify-content: space-between;
}

span.tagline {
text-transform: uppercase;
font-size: 1.2rem !important;
font-weight: bold;
letter-spacing: 2px;
}

}

/* size & position adjustments */
Expand Down

0 comments on commit eb01854

Please sign in to comment.