Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions apps/website/AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# AGENTS.md - CroCoder Website Development Guide

## Build/Test Commands

- `npm run dev` - Start development server on port 4321
- `npm run build` - Build for production
- No lint/test commands configured - this is a simple Astro website

## Framework & Architecture

- **Astro 5.12.0** with React integration and Vercel adapter
- **TailwindCSS** for styling with custom theme configuration
- **TypeScript** with minimal config extending root tsconfig
- Server-side rendering with Vercel deployment

## Code Style Guidelines

- **Imports**: Use ES6 imports, Astro assets for images (`import { Image } from "astro:assets"`)
- **Components**: Astro components (.astro) with frontmatter, React components for interactivity
- **Styling**: TailwindCSS classes, responsive-first approach, custom color palette from theme.json
- **Naming**: kebab-case for files, camelCase for variables, descriptive component names
- **Content**: Markdown files in src/content/ with frontmatter metadata
- **Scripts**: Inline scripts with `is:inline` for client-side functionality
- **Assets**: Store in src/assets/, optimize images with Astro's Image component

## File Structure

- `src/components/` - Reusable Astro/React components
- `src/content/` - Markdown content (posts, authors, services)
- `src/layouts/` - Page layout templates
- `src/pages/` - Route pages and API endpoints
- `public/` - Static assets served directly

## No additional rules files found (.cursorrules, .github/copilot-instructions.md)
3 changes: 3 additions & 0 deletions apps/website/src/assets/circle-check-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/website/src/assets/code-xml-service-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions apps/website/src/assets/crm-service-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/website/src/assets/crocoder-ill-16-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions apps/website/src/assets/hands-puzzle-service-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/website/src/assets/quote-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions apps/website/src/assets/target-icon-correct.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/website/src/assets/zap-service-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/website/src/components/Pill.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { className } = Astro.props;

<div
class={classNames(
"bg-white py-2 px-4 gap-2.5 border border-[rgb(60,56,67)]/[0.2] rounded-full uppercase font-bold text-base w-fit leading-none tracking-normal text-secondary",
"bg-white py-2 px-4 gap-2.5 border border-[rgb(60,56,67)]/[0.2] rounded-full uppercase font-bold text-base w-fit leading-none tracking-normal text-secondary whitespace-nowrap",
className
)}
>
Expand Down
3 changes: 3 additions & 0 deletions apps/website/src/components/footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ const copyright = `
<a href="/for-ctos" class="text-white w-fit block whitespace-nowrap"
>For CTOs</a
>
<a href="/staff-augmentation" class="text-white w-fit block whitespace-nowrap"
>Staff Augmentation</a
>
<a href="/blog" class="text-white w-fit block whitespace-nowrap">Blog</a
>
<a href="/contact" class="text-white w-fit block whitespace-nowrap">
Expand Down
Loading