From 5878b7cdcdd74b5936ba81d59e28fa154f82724b Mon Sep 17 00:00:00 2001 From: aman333nolawz Date: Sat, 4 Apr 2026 02:18:34 +0530 Subject: Added contribution guide to footer --- src/components/Footer.astro | 8 ++++ src/pages/_contribute.mdx | 101 ++++++++++++++++++++++++++++++++++++++++++++ src/pages/contribute.astro | 44 +++++++++++++++++++ 3 files changed, 153 insertions(+) create mode 100644 src/pages/_contribute.mdx create mode 100644 src/pages/contribute.astro diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 4471292..4aaaeb6 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -14,6 +14,14 @@ import SocialIcons from './SocialIcons.astro'  * Status: Up and Running (mostly)
 * Generated at {Date.now()}ms UNIX.
 * + git checkout -b + contribute +
+  * <3 .md` in the `src/content/members/` directory. + _(Example: If you want your handle to be `nik`, create `src/content/members/nik.md`)_ +2. To upload an avatar, put the image in `./public/images/myavatar.png`, and fill the form like so: `avatar: /public/images/myavatar.png`. +3. Add your details using the frontmatter format below, followed by a longer bio if you'd like! + +### Member Card Template + +Everything except `name` and `avatar` is optional. + +```markdown +--- +name: +pronouns: +avatar: +bio: +website: +github: +codeberg: +linkedin: +instagram: +mail: +--- + +Detailed bio text goes here. This is a great space to introduce yourself, talk about your favorite FOSS projects, or share your tech stack! This section can be considerably longer than the short `bio` field above. +``` + +--- + +## Writing a Blog Post + +Got an opinion piece, a tutorial, or a FOSS experience to share? We welcome blog contributions! + +1. Create a new file `your-post-title.md` (or `.mdx`) in `src/content/blog/`. +2. Check out `src/content/blog/shortening-of-the-way/index.mdx` for a comprehensive example of the required frontmatter and formatting. +3. **Important:** Remember to remove `draft: true` from your frontmatter when you are ready to publish! + +--- + +## Documenting an Event + +1. Create a new file `event-name.md` (or `.mdx`) in `src/content/events/` +2. Refer to the sample in `src/content/events/event_zero.mdx` for more info + +--- + +## Creating a New Form + +Need to spin up a registration or feedback form? + +1. Create a file `my-form-id.md` in `src/content/forms/`. +2. See the sample at `src/content/forms/test.mdx` for the form configuration schema. + +--- + +_Thank you for contributing to FOSSCET! Every commit helps build a better, more open community._ diff --git a/src/pages/contribute.astro b/src/pages/contribute.astro new file mode 100644 index 0000000..552c235 --- /dev/null +++ b/src/pages/contribute.astro @@ -0,0 +1,44 @@ +--- +import Breadcrumbs from '@/components/Breadcrumbs.astro' +import PageHead from '@/components/PageHead.astro' +import TOCHeader from '@/components/TOCHeader.astro' +import TOCSidebar from '@/components/TOCSidebar.astro' +import Layout from '@/layouts/Layout.astro' + +import { Content, getHeadings } from './_contribute.mdx' +const headings = await getHeadings() + +const sections = [ + { + type: 'parent', + title: 'Contribution Guide', + headings: headings, + }, +] +--- + + + + { + headings.length > 0 && ( + + ) + } + +
+
+ +
+ + + +
+ +
+
+
+ -- cgit v1.2.3