Skip to content

Commit ab0d50c

Browse files
committed
Add copyright footer
1 parent bb00a1d commit ab0d50c

2 files changed

Lines changed: 74 additions & 1 deletion

File tree

src/components/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Link from '../components/Link.astro';
99
>
1010
<div class='max-w-3xl mx-auto'>
1111
<p class='text-center text-gray-600 dark:text-gray-400'>
12-
<Link url='/privacy-policy' self={true}>Privacy Policy</Link>
12+
<Link url='/privacy-policy' self={true}>Privacy Policy</Link> / <Link url='/copyright' self={true}>Copyright</Link>
1313
</p>
1414
</div>
1515
</footer>

src/pages/copyright.astro

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
import { Image } from 'astro:assets';
3+
import Layout from '../layouts/Layout.astro';
4+
import Link from '../components/Link.astro';
5+
import favicon from '../../public/wizard.gif';
6+
7+
const metadata = {
8+
title: 'Copyright',
9+
useTitleTemplate: true,
10+
index: false,
11+
};
12+
---
13+
14+
<Layout metadata={metadata}>
15+
<h1>Copyright</h1>
16+
<h2>General</h2>
17+
<p>
18+
Except where otherwise noted (see below), content on this site is licensed
19+
under a <Link url='https://creativecommons.org/licenses/by/4.0/'
20+
>Creative Commons Attribution 4.0 International license</Link
21+
>.
22+
</p>
23+
<h2>Notes</h2>
24+
<ul>
25+
<li>
26+
My <Link
27+
url='https://github.com/nghtctrl/nghtctrl.github.io/blob/cd912915114bfbee4fc938c9a365d505834ee545/src/assets/profile-picture.webp'
28+
>profile picture</Link
29+
>
30+
is a portrait based on my
31+
<Link
32+
url='https://github.com/nghtctrl/nghtctrl.github.io/blob/cd912915114bfbee4fc938c9a365d505834ee545/src/assets/profile-picture-alternative.webp'
33+
>selfie</Link
34+
>, illustrated by Koré Qualls, 2023.
35+
</li>
36+
<li>
37+
The favicon
38+
<Image
39+
src={favicon}
40+
alt='Wizard'
41+
class='inline-block max-w-5 align-text-bottom'
42+
/>
43+
is from
44+
<Link url='https://antofthy.gitlab.io/aicons/'
45+
>Anthony's Icon Library</Link
46+
>, which is in the public domain.
47+
</li>
48+
<li>
49+
Papers embedded in this website are licensed by their respective
50+
publishers (e.g., ACM, IEEE) or repositories that provide open access
51+
(e.g., arXiv, OpenReview).
52+
</li>
53+
<li>
54+
Icons used on this website come from <Link url='https://iconify.design/'
55+
>Iconify</Link
56+
>, a library of open source icons. All icons on Iconify are licensed by
57+
their respective open source licenses.
58+
</li>
59+
<li>
60+
This website was designed and built by me using
61+
<Link url='https://astro.build/'>Astro</Link>. The <Link
62+
url='https://github.com/nghtctrl/nghtctrl.github.io'>code</Link
63+
>
64+
used to build this website is licensed under the
65+
<Link
66+
url='https://github.com/nghtctrl/nghtctrl.github.io/blob/99c6eb61645a840dcf8475ce463ce67ee3dbe6e1/LICENSE'
67+
>MIT license</Link
68+
>. Feel free to clone or fork the code, but please do not scrape the HTML
69+
of this website, as it contains analytics tag that you do not want on your
70+
own website.
71+
</li>
72+
</ul>
73+
</Layout>

0 commit comments

Comments
 (0)