Skip to content

Commit a1169d2

Browse files
authored
Merge pull request #19 from unicode-org/srl295/issue17
feat: add unicode logo/terms
2 parents f2fb684 + 32e72ea commit a1169d2

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

astro.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ export default defineConfig({
2727
}),
2828
starlightLinksValidator()
2929
],
30+
components: {
31+
Footer: './src/components/UnicodeFooter.astro',
32+
},
33+
logo: {
34+
alt: 'Unicode',
35+
src: './src/assets/unicode.svg',
36+
},
37+
credits: false,
3038
sidebar: [
3139
{
3240
label: "leadingNavLinks",

src/assets/unicode.svg

Lines changed: 4 additions & 0 deletions
Loading

src/components/UnicodeFooter.astro

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
3+
---
4+
5+
<footer class="sl-flex">
6+
<small>
7+
© 2020–{new Date().getFullYear()} Unicode, Inc. Unicode and the Unicode
8+
Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
9+
See <a href="https://www.unicode.org/copyright.html"
10+
>Terms of Use and License</a
11+
>.
12+
</small>
13+
</footer>
14+
15+
<style>
16+
small {
17+
border-top: 1px solid gray;
18+
margin-top: 0.25em;
19+
}
20+
</style>

0 commit comments

Comments
 (0)