mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-14 02:24:00 +01:00
a1d8ed4413
- Refreshes the look and feel of the homepage with fresh colors, new content, and simplified styles. - Updates docs button styles - Replaces bytesize icons with Bootstrap icons - Adds themes callout to examples page
22 lines
883 B
HTML
22 lines
883 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<header class="d-flex flex-column flex-md-row align-items-md-center p-5 bg-light">
|
|
<div class="pt-md-3 pb-md-4">
|
|
<h1 class="bd-title mt-0">{{ page.title | smartify }}</h1>
|
|
<p class="bd-lead">{{ page.description | smartify }}</p>
|
|
{%- if page.title == "Examples" -%}
|
|
<div class="d-flex flex-column flex-sm-row">
|
|
<a href="{{ site.download.dist_examples }}" class="btn btn-bd-primary py-2 px-3" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download Examples');">Download examples</a>
|
|
<a href="{{ site.download.source }}" class="btn btn-outline-secondary py-2 px-3 mt-3 mt-sm-0 ml-sm-3" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');">Download source code</a>
|
|
</div>
|
|
{%- endif -%}
|
|
</div>
|
|
{% include ads.html %}
|
|
</header>
|
|
|
|
<main class="bd-content p-5" id="content" role="main">
|
|
{{ content }}
|
|
</main>
|