Skip to content

Commit 81eacd3

Browse files
committed
Added validator link
1 parent ff94cbf commit 81eacd3

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

components/SocialIcons.astro

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import Default from "@astrojs/starlight/components/SocialIcons.astro"
1010

1111
<Default {...Astro.props}><slot /></Default>
1212

13+
<div class="validator"><a href="https://validator.datapackage.org/"><strong>Validator</strong></a></div>
14+
1315
<!-- Add styles to mimic the default links appearance. -->
1416
<style>
1517
a {
@@ -21,4 +23,13 @@ import Default from "@astrojs/starlight/components/SocialIcons.astro"
2123
a:hover {
2224
opacity: 0.66;
2325
}
26+
27+
div.validator {
28+
border-left: 1px solid var(--sl-color-gray-5);
29+
padding-left: 1rem;
30+
}
31+
32+
div.validator a {
33+
text-decoration: none;
34+
}
2435
</style>

0 commit comments

Comments
 (0)