Skip to content

Commit f99d899

Browse files
committed
docs: add Python trademark notice
1 parent 233572a commit f99d899

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

assets/css/site.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,13 @@ a.card {
688688
font-size: 14px;
689689
}
690690

691+
.footer-main .trademark-notice {
692+
margin-top: 10px;
693+
color: #897d81;
694+
font-size: 12px;
695+
line-height: 1.5;
696+
}
697+
691698
.footer-links {
692699
display: flex;
693700
flex-direction: column;

assets/js/site.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
byId('projects-title').textContent = text('projects');
157157
byId('conduct-title').textContent = pick(site.conduct.title);
158158
byId('footer-about').textContent = pick(site.about);
159+
byId('footer-trademarks').textContent = pick(site.footer.trademarks);
159160
byId('footer-credit').textContent = pick(site.footer.credit);
160161
byId('repository-link').href = safeHref(site.footer.repo);
161162

data/site.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@
4242
{ "text": "YouTube", "href": "https://www.youtube.com/c/PythonMinasGerais" },
4343
{ "text": "Telegram", "href": "https://telegram.me/pythonmg" }
4444
],
45-
"footer": { "credit": { "pt": "Feito com Python, JSON e HTML.", "en": "Made with Python, JSON and HTML." }, "repo": "https://github.com/pythonmg/site-pythonmg" }
45+
"footer": { "credit": { "pt": "Feito com Python, JSON e HTML.", "en": "Made with Python, JSON and HTML." }, "trademarks": { "pt": "“Python” e os logotipos Python são marcas da Python Software Foundation (PSF) e são utilizados com permissão.", "en": "“Python” and the Python logos are trademarks of the Python Software Foundation (PSF) and are used with permission." }, "repo": "https://github.com/pythonmg/site-pythonmg" }
4646
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ <h3 class="subheading subdued" data-i18n="past">Eventos anteriores</h3>
9696

9797
<footer class="site-footer">
9898
<div class="shell footer-main">
99-
<div><img src="assets/images/logo/logo.png" alt="Python-MG"><p id="footer-about"></p></div>
99+
<div><img src="assets/images/logo/logo.png" alt="Python-MG"><p id="footer-about"></p><p class="trademark-notice" id="footer-trademarks"></p></div>
100100
<div><p class="label">Social</p><div class="footer-links" id="social-links"></div></div>
101101
<div><p class="label">Site</p><div class="footer-links"><a href="#conduta" data-i18n="conduct">Código de conduta</a><a id="repository-link" href="https://github.com/pythonmg/pythonmg.github.io" target="_blank" rel="noreferrer"><i class="bi bi-github" aria-hidden="true"></i>GitHub Pages repo</a></div></div>
102102
</div>

0 commit comments

Comments
 (0)