web/src/pages/edit.astro
72 lines · 1995 bytes
1---
2import Layout from '@layouts/Layout.astro';
3import AddNewService from '@components/things/AddNewService.svelte';
4---
5
6<Layout title="Awesome Privacy">
7 <section>
8 <h2>About our Data</h2>
9 <p>
10 All data on Awesome Privacy is community maintained via Git.
11 <br />
12 You can make edits/additions/removals by editing the
13 <a href="github.com/lissy93/awesome-privacy/blob/main/awesome-privacy.yml">awesome-privacy.yml</a> file.
14 To learn more, see the <a href="/about#our-data">about page</a>.
15 </p>
16 </section>
17 <section>
18 <h2>Submit an Addition</h2>
19 <AddNewService client:load />
20 </section>
21
22 <section>
23 <h2>Submit a Removal Request</h2>
24 <p>
25 You can submit a removal request by browsing to a given service's page,
26 and clicking the "Request Removal" button.
27 This will open a form where you can justify your reasoning, to get it
28 deleted from the <a href="github.com/lissy93/awesome-privacy/blob/main/awesome-privacy.yml">awesome-privacy.yml</a> file.
29 </p>
30 </section>
31
32 <section>
33 <h2>Edit a Listing</h2>
34 <p>
35 Edits are welcome! All data is located in
36 <a href="github.com/lissy93/awesome-privacy/blob/main/awesome-privacy.yml">awesome-privacy.yml</a>.
37 <br>
38 To modify an entry, navigate to it's page, scroll to the bottom, and click "Edit".
39 This will take you to directly to the relevant lines in the file, where you can make your changes.
40 </p>
41 </section>
42
43</Layout>
44
45<style lang="scss">
46
47section {
48 margin: 2rem auto;
49 padding: 1rem;
50 width: 1000px;
51 max-width: calc(100% - 5rem);
52 display: flex;
53 flex-direction: column;
54 justify-content: space-between;
55 padding: 0 2rem;
56 border: 2px solid var(--foreground);
57 box-shadow: 6px 6px 0 var(--foreground);
58 background: var(--accent-fg);
59 @media(max-width: 768px) {
60 max-width: 95%;
61 padding: 0.5rem;
62 margin: 0 auto;
63 }
64 p {
65 margin-top: 0;
66 }
67 h2 {
68 margin-bottom: 0.5rem;
69 }
70}
71
72</style>