Skip to content

Commit 86c71ee

Browse files
committed
update terms & privacy
1 parent 44d2417 commit 86c71ee

File tree

2 files changed

+78
-2
lines changed

2 files changed

+78
-2
lines changed

packages/web/src/index.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,3 +484,24 @@ body {
484484
border-radius: 0.25rem;
485485
cursor: pointer;
486486
}
487+
488+
.modal-content.terms {
489+
ul {
490+
list-style: disc;
491+
padding-left: 1.5rem;
492+
margin-bottom: 1rem;
493+
li {
494+
font-family: var(--font-mono);
495+
list-style: none;
496+
margin-bottom: 0.5rem;
497+
strong {
498+
color: var(--color-text);
499+
display: block;
500+
}
501+
a {
502+
color: var(--color-brand);
503+
text-decoration: underline;
504+
}
505+
}
506+
}
507+
}

packages/web/src/render.tsx

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,64 @@ export const Rendered = renderToString(
139139
</footer>
140140

141141
<div id="terms-modal" class="modal">
142-
<div class="modal-content">
142+
<div class="modal-content terms">
143143
<h2>Terms &amp; Privacy</h2>
144-
<p>This site does not collect any PII. Nor will it ever.</p>
144+
<ul>
145+
<li>
146+
<strong>Privacy</strong>
147+
This is a static site hosted on Cloudflare. Cloudflare sets cookies
148+
to keep the service protected. By using the site you are opting in
149+
to Cloudflare's privacy policy. You can read more about their
150+
<a href="https://www.cloudflare.com/privacypolicy/" target="_blank">
151+
privacy policy
152+
</a>
153+
. PII is not collected, ever.
154+
</li>
155+
<li>
156+
<strong>API</strong>
157+
If you wish for content to be removed or want to consume the{" "}
158+
<a href="/api.json" target="_blank">
159+
API
160+
</a>
161+
, please contact me at{" "}
162+
<a href="mailto:[email protected]" target="_blank">
163+
164+
</a>
165+
, otherwise follow the rules in the{" "}
166+
<a href="/robots.txt" target="_blank">
167+
robots.txt
168+
</a>{" "}
169+
file please.
170+
</li>
171+
<li>
172+
<strong>Open Source</strong>
173+
This site is open source. You can find the source code on{" "}
174+
<a href="https://github.com/papes1ns/spin.dev" target="_blank">
175+
github.com/papes1ns/spin.dev
176+
</a>
177+
.
178+
</li>
179+
<li>
180+
<strong>MERLN</strong>
181+
This site embodies an experimental open source software project I
182+
coined as a, MERLN, expanded means{" "}
183+
<em>Metadata Enriched RSS Linker Node</em>. Built for education on
184+
fair use and ethical practices in the ethos based in open science.
185+
</li>
186+
<li>
187+
<strong>Acknowledgements</strong>
188+
This project was forked from the{" "}
189+
<a href="https://models.dev" target="_blank">
190+
model.dev
191+
</a>{" "}
192+
project built by the{" "}
193+
<a href="https://sst.dev" target="_blank">
194+
SST team
195+
</a>
196+
. They are raising the bar in open source IaC and AI cli tools for
197+
developers.
198+
</li>
199+
</ul>
145200
<button id="close-terms">Close</button>
146201
</div>
147202
</div>

0 commit comments

Comments
 (0)