mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-15 18:46:38 -04:00
Add /support page
This commit is contained in:
20
web/pages/support.tsx
Normal file
20
web/pages/support.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import MarkdownPage from "web/components/markdown";
|
||||
|
||||
const FILENAME = __filename.split('/').pop()?.split('.').shift();
|
||||
|
||||
export async function getStaticProps() {
|
||||
const filePath = path.join(process.cwd(), 'public', 'md', FILENAME + '.md');
|
||||
const content = fs.readFileSync(filePath, 'utf8');
|
||||
return {props: {content}};
|
||||
}
|
||||
|
||||
type Props = { content: string };
|
||||
|
||||
export default function Faq({content}: Props) {
|
||||
if (!FILENAME) throw new Error('Could not determine filename');
|
||||
return <MarkdownPage content={content} filename={FILENAME}></MarkdownPage>
|
||||
}
|
||||
@@ -88,7 +88,7 @@ The [full implementation](https://github.com/CompassMeet/Compass/blob/main/commo
|
||||
* **Give Feedback**: [Fill out the suggestion form](https://forms.gle/tKnXUMAbEreMK6FC6)
|
||||
* **Join the Discussion**: [Discord Community](https://discord.gg/8Vd7jzqjun)
|
||||
* **Contribute to Development**: [View the code on GitHub](https://github.com/CompassMeet/Compass)
|
||||
* **Donate**: [Support the infrastructure](/about)
|
||||
* **Donate**: [Support the infrastructure](/support)
|
||||
* **Spread the Word**: Tell friends and family who value depth and real connection.
|
||||
|
||||
### What’s next?
|
||||
|
||||
33
web/public/md/support.md
Normal file
33
web/public/md/support.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# Support Compass
|
||||
|
||||
Compass is and will always remain **free, ad-free, and community-owned**.
|
||||
Your contribution directly helps cover hosting, development, and community growth — ensuring Compass thrives as a gift for everyone.
|
||||
|
||||
|
||||
## Ways to Contribute Financially
|
||||
|
||||
- [Patreon](https://patreon.com/CompassMeet) – one-time or ongoing monthly support
|
||||
- [PayPal](https://www.paypal.com/paypalme/MartinBraquet) – one-time or flexible contributions
|
||||
- [GitHub Sponsors](https://github.com/sponsors/MartinBraquet) – increased transparency, but requires a GitHub account
|
||||
|
||||
|
||||
## Why Donate?
|
||||
|
||||
- **Keep Compass sustainable** – cover server and infrastructure costs
|
||||
- **Protect independence** – ensure we never need ads, subscriptions, or data sales
|
||||
- **Empower contributors** – support ongoing development, moderation, and outreach
|
||||
|
||||
|
||||
## Non-Financial Contributions
|
||||
|
||||
Donations aren’t the only way to help. You can also:
|
||||
- Improve code or documentation
|
||||
- Suggest features and test new builds
|
||||
- Spread the word to thoughtful communities
|
||||
- Help with design, moderation, or translations
|
||||
|
||||
Every small action adds up to something bigger.
|
||||
|
||||
|
||||
**Thank you for being part of this mission.**
|
||||
Together, we’re building a platform for meaningful human connection — one that will never be captured by profit or advertising.
|
||||
Reference in New Issue
Block a user