web/src/pages/about.astro

359 lines · 9634 bytes

  1---
  2
  3import Layout from '@layouts/Layout.astro';
  4import Main from '@components/scafold/MainCard.astro';
  5import Icon from '@components/form/Icon.astro';
  6import SocialShare from '@components/form/Social.astro';
  7import { parseMarkdown } from '@utils/parse-markdown';
  8import { authorProjects, authorSocials,   aboutOurData, projectRequirements, appDescription } from '../site-config';
  9
 10const contributorsResource = async () => {
 11	const url = 'https://api.github.com/repos/lissy93/personal-security-checklist/contributors?per_page=100';
 12	const response = await fetch(url);
 13	if (!response.ok) {
 14		throw new Error('Failed to fetch contributors');
 15	}
 16	return await response.json();
 17};
 18
 19const sponsorsResource = async () => {
 20	const url = 'https://github-sponsors.as93.workers.dev/lissy93';
 21	const response = await fetch(url);
 22	if (!response.ok) {
 23		throw new Error('Failed to fetch sponsors');
 24	}
 25	return await response.json();
 26};
 27
 28const licenseContent = async () => {
 29	const url = 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/HEAD/LICENSE';
 30	const response = await fetch(url);
 31	if (!response.ok) {
 32		throw new Error('Failed to fetch license');
 33	}
 34	return await response.text();
 35};
 36
 37---
 38
 39<Layout title="About | Awesome Privacy" description={appDescription}>
 40	<div class="about-page">
 41	<Main>
 42		<h2 id="objective">Objective</h2>
 43		<p>
 44			Large data-hungry corporations dominate the digital world but with little,
 45			or no respect for your privacy.
 46			We believe that privacy is a fundamental human right and that it should be protected.
 47			<br /><br />
 48			Migrating to open-source applications and those with a strong emphasis on
 49			privacy & security will help safegaurd you from corporations,
 50			governments, and hackers who log, store or sell your sensetive personal data.
 51			<br /><br />
 52			Awesome Privacy is a directory of alternative software which respects your privacy.
 53			<br /><br />
 54			
 55		</p>
 56		<hr />
 57
 58		<h2 id="creteria">Software Requirements</h2>
 59		<div class="software-requirements"><p set:html={parseMarkdown(projectRequirements)}></p></div>
 60		<hr />
 61
 62		<h2 id="our-data">Our Data</h2>
 63		<div class="about-the-data"><p set:html={parseMarkdown(aboutOurData)}></p></div>
 64		<hr />
 65
 66		<h2 id="contributing">Contributing</h2>
 67		<p>
 68			Awesome Privacy (including all data and code) is fully open source,
 69			maintained by a core group of volenteers, with a lot of help from the community.
 70			<br /><br />
 71			We welcome suggestions, additions, edits and removals to the list.<br />
 72			It's thanks to contributors like you that this project is possible 💜
 73			<br /><br />
 74			To get started, head over to our <a href="https://github.com/lissy93/awesome-privacy">GitHub repository</a>.
 75			From here, you'll be able to edit <a href="#"><code>awesome-privacy.yml</code></a>
 76			where all data is stored, and then submit your changes as a pull request.
 77			<br /><br />
 78			If you're new to open source, you can find some resources to get you started
 79			at <a href="https://git-in.to">git-in.to</a>, but feel free to reach out if you need any help 😊
 80		</p>
 81		<hr />
 82
 83		<h2 id="acknowledgements">Acknowledgements</h2>
 84		<h3 id="sponsors">Sponsors</h3>
 85		<p>Huge thanks to the following sponsors, for their ongoing support 💖</p>
 86		<div class="user-list">
 87			{sponsorsResource().then((sponsors) => {
 88				return sponsors.map((sponsor: any) => (
 89					<a class="user" href={`https://github.com/${sponsor.login}`} target="_blank" rel="noreferrer">
 90						<img src={sponsor.avatarUrl} alt={sponsor.login} />
 91						<p>{sponsor.name || sponsor.login}</p>
 92					</a>
 93				));
 94			})}
 95		</div>
 96
 97		<h3 id="contributors">Contributors</h3>
 98		<p>
 99			This project exists thanks to all the people who've helped build and maintain it.<br />
100			Special thanks to the below, top-100 contributors 🌟
101		</p>
102		<div class="user-list">
103			{contributorsResource().then((sponsors) => {
104				return sponsors.map((sponsor: any) => (
105					<a class="user" href={sponsor.html_url} target="_blank" rel="noreferrer">
106						<img src={sponsor.avatar_url} alt={sponsor.login} />
107						<p>{sponsor.login}</p>
108					</a>
109				));
110			})}
111		</div>
112
113		<hr />
114
115		<h2 id="support-us">Help us out</h2>
116		<p>
117			Awesome Privacy is a free, open source and community-maintained resource.<br />
118			There's a few ways you can support us:
119			<ul class="help-list">
120				<li>Visiting, forking, or starring or our <a href="https://github.com/lissy93/awesome-privacy">GitHub repository</a></li>
121				<li>Help us keep our info up-to-date, but submitting an addition, removal or ammendment</li>
122				<li>Leave feedback on services that you've used, to help others make a more informed decission</li>
123				<li>Consider <a href="https://github.com/sponsors/Lissy93">sponsoring us on GitHub</a>, if you're able 💖</li>
124				<li>Share Awesome Privacy with your network</li>
125			</ul>
126			<SocialShare />
127		</p>
128
129		<hr />
130
131		<h2 id="author">Author</h2>
132		<article class="author">
133				<p>
134					This project was originally started by
135					me, <a href="https://aliciasykes.com">Alicia Sykes</a>
136					(with a lot of help from the community)
137				</p>
138				<br />
139				<p class="about">
140					I build apps which aim to help people escape big tech, secure their data,
141					and protect their privacy.
142				</p>
143				<br />
144				<div class="pic-and-socials">
145					<a href="https://aliciasykes.com">
146						<img class="pic" width="180" height="240" alt="Alicia Sykes" src="https://i.ibb.co/fq10qhL/DSC-0597.jpg" />
147					</a>
148					<div class="socials">
149						{
150							authorSocials.map((social: { link: string; color: string; icon: string; }) => (
151								<a href={social.link} style={`--color: ${social.color}`} target="_blank">
152									<Icon icon={social.icon} width={24} height={24} />
153								</a>
154							))
155						}
156					</div>
157				</div>
158				<p class="more-about">
159					I have a particular interest in self-hosting, Linux, security and OSINT.<br />
160					So if this type of stuff interests you, check out these other projects:
161				</p>
162				<ul>
163					{
164						authorProjects.map((project: { title: string; icon: string; link: string; description: string; }) => (
165							<li>
166								<img width="20" height="20" alt={project.title} src={project.icon} />
167								<a href={project.link} target="_blank" rel="noreferrer">
168									{project.title}
169								</a> - {project.description}
170							</li>
171						))
172					}
173					<li>
174						...and loads more, over at <a href="https://apps.aliciasykes.com/">apps.aliciasykes.com</a>
175						and on <a href="https://github.com/lissy93">github.com/lissy93</a>
176					</li>
177				</ul>
178				<br />
179				<p>
180					If you'd like to support the ongoing work on Awesome Privacy,
181					and other similar projects,
182					consider <a href="https://github.com/sponsors/lissy93">sponsoring me</a> on GitHub 💖
183				</p>
184
185		</article>
186		
187		<hr />
188
189		<h2 id="license">License</h2>
190		<p>
191			All content on Awesome Privacy is freely available, within the public domain,
192			licensed under Creative Commons Zero v1.0 Universal.
193			The code for the website is licensed under MIT.
194		</p>
195		<p>
196			{licenseContent().then((license) => {
197				return (<pre class="license-content">{license}</pre>)
198			})}
199		</p>
200
201	</Main>
202	</div>
203</Layout>
204
205<style lang="scss">
206h2 {
207	font-size: 2rem;
208	margin: 2rem 0 1rem 0;
209}
210p {
211	font-size: 1.2rem;
212}
213hr {
214	margin: 2rem 0;
215	border: 0;
216	border-top: 2px solid var(--accent);
217	&:nth-child(6) {
218		border-color: var(--accent-3);
219	}
220	&:nth-child(9) {
221		border-color: var(--accent-2);
222	}
223}
224
225h3 {
226	font-size: 1.6rem;
227}
228
229.software-requirements, .about-the-data {
230	:global(p) {
231		font-size: 1.2rem;
232		margin: 0 0 0.5rem 0;
233	}
234	:global(ul) {
235		padding-left: 0.5rem;
236		list-style: none;
237		font-size: 1.2rem;
238		:global(li ul) {
239			padding: 0 0 0.5rem 1rem;
240			list-style: circle;
241		}
242	
243	}
244	:global(h3) {
245		font-size: 1.6rem;
246		margin-bottom: 0;
247	}
248	:global(strong) {
249		font-weight: 500;
250	}
251	:global(small) {
252		font-size: 0.8rem;
253		opacity: 0.7;
254		:global(a) {
255			color: var(--accent-3);
256		}
257	}
258	:global(code) {
259		font-family: 'Courier New', Courier, monospace;
260		background: #acabb782;
261    padding: 0.2rem 0.4rem;
262    border-radius: var(--curve-sm);
263    font-size: 0.9rem;
264	}
265}
266
267.user-list {
268	display: flex;
269	flex-wrap: wrap;
270	gap: 1rem;
271	margin: 2rem 0;
272	.user {
273		width: 6rem;
274		overflow: hidden;
275		text-align: center;
276		img {
277			width: 5rem;
278			height: 5rem;
279			border-radius: var(--curve-md);
280		}
281		p {
282			font-size: 1rem;
283			display: -webkit-box;
284			-webkit-line-clamp: 1;
285			-webkit-box-orient: vertical;  
286			overflow: hidden;
287		}
288	}
289}
290
291.license-content {
292	max-height: 500px;
293  overflow: scroll;
294  background: var(--background-form);
295  width: fit-content;
296  border-radius: var(--curve-sm);
297  padding: 0.5rem;
298  font-size: 0.7rem;
299  font-family: mono;
300	max-width: 100vw;
301	white-space: pre-line;
302}
303
304.help-list {
305	padding-left: 1rem;
306	list-style: circle;
307	font-size: 1.1rem;
308}
309
310.author {
311	p {
312		margin: 1rem 0 0 0;
313	}
314	ul {
315		padding-left: 1.5rem;
316		list-style: circle;
317		margin-bottom: 0;
318		li {
319			font-size: 1.1rem;
320		}
321	}
322	.about {
323		font-size: 1.4rem;
324		font-style: italic;
325		font-weight: 300;
326		color: var(--accent-3);
327		text-align: center;
328		max-width: 550px;
329		margin: 0 auto;
330	}
331	
332	small {
333		font-size: 1rem;
334		margin: 1rem 0;
335	}
336	.pic-and-socials {
337		float:right;
338		img {
339			margin: 0.5rem 1rem;
340			border-radius: var(--curve-md);
341			border: 2px solid var(--box-outline);
342			box-shadow: 4px 4px 0 var(--box-outline);
343		}
344		.socials {
345			display: flex;
346			margin: 0.5rem 1rem;
347			justify-content: space-between;
348			:global(a svg) {
349				color: var(--foreground);
350				transition: color 0.2s ease-in-out;
351				&:hover {
352					color: var(--color);
353				}
354			}
355		}
356	}
357}
358
359</style>