Skip to content

Commit 4211830

Browse files
authored
Merge pull request #33 from GoCon/hytkgami/add-cc-license-on-footer
CC BY 4.0ライセンスを追加
2 parents c299ef8 + af6fb68 commit 4211830

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

src/components/Footer/index.astro

+31
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,27 @@ import { concatWithBase } from "@utils/concatWithBase";
4646
alt="X/Twitter"
4747
/> #gocon
4848
</a>
49+
<p class="cc">
50+
<a
51+
property="dct:title"
52+
rel="cc:attributionURL"
53+
href="https://gocon.jp/2024">Go Conference 2024 Website</a
54+
> is licensed under <a
55+
href="https://creativecommons.org/licenses/by/4.0/?ref=chooser-v1"
56+
target="_blank"
57+
rel="license noopener noreferrer"
58+
style="display:inline-block;"
59+
>CC BY 4.0<img
60+
style="height:22px!important;margin-left:3px;vertical-align:text-bottom;"
61+
src="https://mirrors.creativecommons.org/presskit/icons/cc.svg?ref=chooser-v1"
62+
alt=""
63+
/><img
64+
style="height:22px!important;margin-left:3px;vertical-align:text-bottom;"
65+
src="https://mirrors.creativecommons.org/presskit/icons/by.svg?ref=chooser-v1"
66+
alt=""
67+
/></a
68+
>
69+
</p>
4970
<div class="credit">
5071
<p>Go Conference</p>
5172
<small>
@@ -114,6 +135,7 @@ import { concatWithBase } from "@utils/concatWithBase";
114135
margin: 0 auto;
115136
display: flex;
116137
justify-content: space-between;
138+
align-items: center;
117139
padding: 16px 32px;
118140

119141
@media screen and (max-width: 768px) {
@@ -123,6 +145,15 @@ import { concatWithBase } from "@utils/concatWithBase";
123145
}
124146
}
125147

148+
.cc {
149+
display: block;
150+
color: #666;
151+
152+
@media screen and (max-width: 768px) {
153+
order: 3;
154+
}
155+
}
156+
126157
.credit {
127158
display: flex;
128159
flex-direction: column;

0 commit comments

Comments
 (0)