Pin icon images to specific version
Instead of using the `latest` version, which could introduce breaking changes.
This commit is contained in:
parent
7f825e9ca7
commit
4b8e72b1d6
5 changed files with 17 additions and 17 deletions
|
@ -9,7 +9,7 @@ export default function ({ comp }) {
|
|||
<div className="social-links">
|
||||
<a href="https://code.fosterhangdaan.com/foster" title="Forgejo">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/simple-icons/latest/forgejo.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/simple-icons/v10.2.0/forgejo.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="forgejo"
|
||||
|
@ -17,7 +17,7 @@ export default function ({ comp }) {
|
|||
</a>
|
||||
<a href="mailto:foster@hangdaan.email" title="eMail">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/mail-filled.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/mail-filled.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="e-mail"
|
||||
|
@ -25,7 +25,7 @@ export default function ({ comp }) {
|
|||
</a>
|
||||
<a href="https://www.fosterhangdaan.com/blog/feed.rss" title="RSS Feed">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/rss.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/rss.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="rss"
|
||||
|
@ -36,7 +36,7 @@ export default function ({ comp }) {
|
|||
title="JSON Feed"
|
||||
>
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/braces.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/braces.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="json feed"
|
||||
|
@ -49,7 +49,7 @@ export default function ({ comp }) {
|
|||
<a href="https://www.typescriptlang.org/">TypeScript</a> and lots of
|
||||
{" "}
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/heart.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/heart.svg"
|
||||
className="icon"
|
||||
style={{ filter: "var(--filter-red)" }}
|
||||
title="love"
|
||||
|
|
|
@ -9,7 +9,7 @@ export default function () {
|
|||
<li className="navbar-list-item home">
|
||||
<a href="/" title="Home">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/home.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/home.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="home"
|
||||
|
@ -19,7 +19,7 @@ export default function () {
|
|||
<li className="navbar-list-item">
|
||||
<a href="/blog/" title="Blog">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/news.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/news.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="blog"
|
||||
|
@ -29,7 +29,7 @@ export default function () {
|
|||
<li className="navbar-list-item">
|
||||
<a href="/resume/" title="Resume">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/file-cv.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/file-cv.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="resume"
|
||||
|
@ -39,7 +39,7 @@ export default function () {
|
|||
<li className="navbar-list-item">
|
||||
<a href="/gpg-key/" title="GPG Key">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/key.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/key.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="gpg key"
|
||||
|
@ -49,7 +49,7 @@ export default function () {
|
|||
<li className="navbar-list-item">
|
||||
<a href="/about/" title="About">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/info-circle.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg"
|
||||
className="icon"
|
||||
style={iconStyle}
|
||||
alt="about"
|
||||
|
|
|
@ -4,7 +4,7 @@ export default function () {
|
|||
<span className="outer-outline" />
|
||||
<span>
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/diamonds.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/diamonds.svg"
|
||||
className="icon"
|
||||
style={{ filter: "var(--filter-black)" }}
|
||||
alt=""
|
||||
|
|
|
@ -164,34 +164,34 @@ blockquote {
|
|||
left: calc(-0.75rem - 1.5rem);
|
||||
filter: var(--filter-bg);
|
||||
content: "";
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/quote.svg");
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/quote.svg");
|
||||
background-repeat: no-repeat !important;
|
||||
background-size: contain !important;
|
||||
}
|
||||
&.info {
|
||||
&::before {
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/info-circle.svg");
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg");
|
||||
}
|
||||
color: var(--color-blue);
|
||||
border-color: var(--color-blue);
|
||||
}
|
||||
&.success {
|
||||
&::before {
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/check.svg");
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/check.svg");
|
||||
}
|
||||
color: var(--color-success);
|
||||
border-color: var(--color-success);
|
||||
}
|
||||
&.warning {
|
||||
&::before {
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/alert-triangle.svg");
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/alert-triangle.svg");
|
||||
}
|
||||
color: var(--color-warn);
|
||||
border-color: var(--color-warn);
|
||||
}
|
||||
&.danger {
|
||||
&::before {
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/circle-x.svg");
|
||||
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/circle-x.svg");
|
||||
}
|
||||
color: var(--color-error);
|
||||
border-color: var(--color-error);
|
||||
|
|
|
@ -18,7 +18,7 @@ export default function ({ nav, comp }) {
|
|||
return (
|
||||
<div className="no-posts">
|
||||
<img
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/latest/svg/coffee.svg"
|
||||
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/coffee.svg"
|
||||
className="icon"
|
||||
alt=""
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue