Thank you for your interest in contributing to FixFX Links! This document provides guidelines and instructions for contributing to the project.
Please be respectful and constructive in all interactions. We're building a welcoming community for everyone.
- Node.js 18+ or Bun
- Git
- Basic knowledge of React, TypeScript, and Tailwind CSS
-
Clone the repository:
git clone https://github.com/CodeMeAPixel/FixFX-LinkInBio.git cd links.fixfx.wiki -
Install dependencies:
bun install
-
Start the development server:
bun run dev
The site will be available at
http://localhost:3000 -
Create a new branch:
git checkout -b feature/your-feature-name
- We use Biome for formatting and linting
- Run
bun run lintto check for issues - Run
bun run formatto auto-format code
- All code should be properly typed
- No
anytypes unless absolutely necessary with a comment explaining why - Run
bun run buildto verify TypeScript compilation
- Keep components focused and single-responsibility
- Use Lucide React for icons (don't add new icon libraries)
- Use Tailwind CSS for styling (no inline styles)
- Add proper TypeScript types for all props
Follow the Conventional Commits format:
feat:- New featuresfix:- Bug fixesdocs:- Documentation changesstyle:- Code style changes (formatting, missing semicolons, etc.)refactor:- Code refactoring without feature changesperf:- Performance improvementstest:- Adding or updating testschore:- Build process, dependencies, etc.
Example:
feat(links): add support for custom link categories
fix(ui): correct hover state color on link cards
docs(readme): update installation instructions
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Test thoroughly:
bun run devandbun run build - Run linting:
bun run lintandbun run check - Commit with conventional format
- Push and create a pull request
To add or modify link categories:
- Edit src/data/categories.ts
- Follow the existing structure for consistency
- Use available color options from the color map in src/components/layouts/LinkHubContent.tsx
To add new background colors:
- Add entries to
bgColorMapandglowColorMapin src/components/layouts/LinkHubContent.tsx - Use Tailwind CSS color classes
- Ensure the glow effect complements the background
- Test your changes locally before submitting
- Verify responsive design works on mobile, tablet, and desktop
- Check that deep linking works: navigate using hashes like
#communityand#community/github - Test pagination when categories have more than 8 links
The project deploys automatically via Cloudflare Workers. To deploy manually:
# Authenticate with Cloudflare
wrangler login
# Deploy to staging
bun run deploy -- -e staging
# Deploy to production
bun run deploySee DEPLOYMENT.md for detailed deployment instructions.
Found a bug or have a feature request? Please:
- Check if the issue already exists on GitHub Issues
- Provide clear description and steps to reproduce bugs
- Include your environment (OS, Node version, browser if applicable)
src/
├── components/
│ ├── Header.tsx # Navigation header
│ ├── icons/ # Custom icons
│ └── layouts/
│ └── LinkHubContent.tsx # Main page component with pagination & deep linking
├── routes/
│ ├── __root.tsx # Root layout with meta tags
│ └── index.tsx # Home page
├── data/
│ ├── categories.ts # Link data
│ ├── profile.ts # User profile
│ └── social-links.ts # Social media links
├── types/
│ └── links.ts # TypeScript types
└── styles.css # Global styles & theme
Feel free to reach out:
- Email: hey@codemeapixel.dev
- GitHub: CodeMeAPixel/FixFX-LinkInBio
By contributing to FixFX Links, you agree that your contributions will be licensed under the same license as the project (see LICENSE).
Thank you for contributing!