-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a responsive image for bootstrap-logo-shadow.png (#351)
* Use a responsive image for bootstrap-logo-shadow.png * Ignore `imagesrcset` is not recognized in `link rel=preload` vnu-jar error for now; should be removed later when fixed in vnu-jar
- Loading branch information
Showing
5 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
<link rel="preconnect" href="https://github.com"> | ||
<link rel="preconnect" href="https://avatars.githubusercontent.com"> | ||
<link rel="preload" href="/assets/brand/bootstrap-logo-shadow.png" as="image"> | ||
<link rel="preload" href="/assets/brand/bootstrap-logo-shadow.png" imagesrcset="/assets/brand/bootstrap-logo-shadow.png, /assets/brand/[email protected] 2x" as="image"> | ||
|
||
<link rel="profile" href="https://gmpg.org/xfn/11"> | ||
<link rel="canonical" href="{{ .Permalink }}"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<div class="masthead py-5"> | ||
<div class="mb-4 text-center text-lg-start"> | ||
<a class="flex-shrink-0 mb-lg-3 link-dark text-decoration-none" href="/" aria-label="Bootstrap"> | ||
<img src="/assets/brand/bootstrap-logo-shadow.png" width="200" height="165" alt="Bootstrap" class="bd-booticon d-block mx-auto mb-3 mx-lg-0"> | ||
<img srcset="/assets/brand/bootstrap-logo-shadow.png, /assets/brand/[email protected] 2x" | ||
src="/assets/brand/bootstrap-logo-shadow.png" | ||
width="200" height="165" alt="Bootstrap" | ||
class="bd-booticon d-block mx-auto mb-3 mx-lg-0"> | ||
</a> | ||
<div class="ms-3 ms-lg-0"> | ||
<h1 class="mb-1 mb-lg-2 f1 fw-600">The Bootstrap Blog</h1> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.