Commit 4829e08478
Unsigned
Layout: unified · split
web/src/components/things/PrivacyPolicyDetails.astro +2 −1
| @@ -22,6 +22,7 @@ const getIconName = (clasification: string) => { | ||
| 22 | 22 | |
| 23 | 23 | --- |
| 24 | 24 | |
| 25 | {priv && ( | |
| 25 | 26 | <div class="privacy-policy-wrapper"> |
| 26 | 27 | |
| 27 | 28 | {(priv.points && priv.points.length) > 0 && ( |
| @@ -74,7 +75,7 @@ const getIconName = (clasification: string) => { | ||
| 74 | 75 | )} |
| 75 | 76 | </div> |
| 76 | 77 | </div> |
| 77 | ||
| 78 | )} | |
| 78 | 79 | |
| 79 | 80 | <style lang="scss"> |
| 80 | 81 | |
web/src/pages/[...listing].astro +19 −27
| @@ -1,8 +1,6 @@ | ||
| 1 | 1 | --- |
| 2 | 2 | |
| 3 | 3 | import Layout from '@layouts/Layout.astro'; |
| 4 | import Button from '@components/form/Button.astro'; | |
| 5 | import Main from '@components/scafold/MainCard.astro'; | |
| 6 | 4 | import ServiceList from '@components/things/ServiceList.astro'; |
| 7 | 5 | import Comments from '@components/things/Comments.svelte'; |
| 8 | 6 | import GitHubDetailedInfo from '@components/things/GitHubDetailedInfo.astro'; |
| @@ -29,9 +27,9 @@ const { | ||
| 29 | 27 | tosdrId, |
| 30 | 28 | icon, |
| 31 | 29 | followWith, |
| 32 | securityAudited, | |
| 33 | openSource, | |
| 34 | acceptsCrypto, | |
| 30 | // securityAudited, | |
| 31 | // openSource, | |
| 32 | // acceptsCrypto, | |
| 35 | 33 | parentSection, |
| 36 | 34 | categoryName, |
| 37 | 35 | } = Astro.props; |
| @@ -42,18 +40,18 @@ const { | ||
| 42 | 40 | */ |
| 43 | 41 | const makeKeyWordTag = () => { |
| 44 | 42 | const keywords: string[] = []; |
| 45 | // keywords.push(`free and open source ${title} software`); | |
| 46 | // keywords.push(`private ${title} comparison`); | |
| 47 | // (alternativeTo || []).forEach((alt: string) => { | |
| 48 | // keywords.push(`privacy-respecting ${alt} alternative`); | |
| 49 | // keywords.push(`free open source ${alt} alternative`); | |
| 50 | // }); | |
| 51 | // (services || []).forEach((serv: Service) => { | |
| 52 | // keywords.push(serv.name); | |
| 53 | // }); | |
| 54 | // keywords.push('ad free'); | |
| 55 | // keywords.push('open source software'); | |
| 56 | // keywords.push('privacy respecting apps'); | |
| 43 | keywords.push(`free and open source ${parentSection.name} software`); | |
| 44 | keywords.push(`private ${parentSection.name} comparison`); | |
| 45 | (parentSection.alternativeTo || []).forEach((alt: string) => { | |
| 46 | keywords.push(`privacy-respecting ${alt} alternative`); | |
| 47 | keywords.push(`free open source ${alt} alternative`); | |
| 48 | }); | |
| 49 | (parentSection.services || []).forEach((serv: Service) => { | |
| 50 | keywords.push(serv.name); | |
| 51 | }); | |
| 52 | keywords.push('ad free'); | |
| 53 | keywords.push('open source software'); | |
| 54 | keywords.push('privacy respecting apps'); | |
| 57 | 55 | return keywords.join(', '); |
| 58 | 56 | }; |
| 59 | 57 | |
| @@ -68,16 +66,10 @@ const makePageTitle = () => { | ||
| 68 | 66 | * Make a string page intro, for the description tag |
| 69 | 67 | */ |
| 70 | 68 | const makeDescriptionTag = () => { |
| 71 | let description = `A list of privacy respecting ${name}. `; | |
| 72 | // if (services && services.length > 0) { | |
| 73 | // const serviceList = services.map((serv: Service) => serv.name); | |
| 74 | // description += `Compare ${serviceList.join(', ')} and more private apps and services. ` | |
| 75 | // } else { | |
| 76 | // description += `Find private apps and services. This section is still a work in progress. `; | |
| 77 | // } | |
| 78 | // description += 'All this, and much more at Awesome Privacy, ' | |
| 79 | // description += 'the free and open source list of private software alternatives.'; | |
| 80 | return description; | |
| 69 | return `Compare ${name} and other ${parentSection.name} at Awesome Privacy\n` | |
| 70 | + description | |
| 71 | + '\nAll this, and much more at Awesome Privacy, ' | |
| 72 | + 'the free and open source list of private software alternatives.'; | |
| 81 | 73 | }; |
| 82 | 74 | |
| 83 | 75 | // Return a list of Services, except for the currtent one |