Skip to content

olivamkt/jaya

Repository files navigation

Jaya Tech - Corporate Website

Official website for Jaya Tech, a fully remote software consulting company specializing in nearshore staff augmentation and high-impact projects.

🎯 About Jaya

Jaya is a software consulting company founded in 2012, partnering with U.S. companies since 2016. We specialize in:

  • Nearshore Staff Augmentation - Connecting companies with top-tier developers, tech leads, and staff engineers
  • Outsourcing - Delivering managed engineering squads
  • Artificial Intelligence - Supporting AI projects with ML, computer vision, and LLM integration

🧩 Tech Stack

This project is built with modern web technologies:

πŸ“ Project Structure

/
β”œβ”€β”€ .cursor/
β”‚   └── rules/              # Cursor AI rules for code consistency
β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ fonts/              # Custom fonts
β”‚   └── favicon.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/             # Images organized by section
β”‚   β”‚   β”œβ”€β”€ home/
β”‚   β”‚   β”œβ”€β”€ icons/
β”‚   β”‚   β”œβ”€β”€ fintech/
β”‚   β”‚   β”œβ”€β”€ healthtech/
β”‚   β”‚   β”œβ”€β”€ retail/
β”‚   β”‚   └── saas/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ about/          # About page components
β”‚   β”‚   β”œβ”€β”€ clients/        # Client showcase
β”‚   β”‚   β”œβ”€β”€ home/           # Homepage sections
β”‚   β”‚   β”œβ”€β”€ impact/         # Impact/solutions section
β”‚   β”‚   β”œβ”€β”€ layout/         # Header, Footer, Navigation
β”‚   β”‚   β”œβ”€β”€ services/       # Service pages components
β”‚   β”‚   └── team/           # Team section
β”‚   β”œβ”€β”€ data/
β”‚   β”‚   └── social-links.ts # Centralized social media links
β”‚   β”œβ”€β”€ layouts/
β”‚   β”‚   └── Layout.astro    # Main layout template
β”‚   β”œβ”€β”€ pages/              # File-based routing
β”‚   β”‚   β”œβ”€β”€ index.astro     # Homepage
β”‚   β”‚   β”œβ”€β”€ about.astro     # About page
β”‚   β”‚   β”œβ”€β”€ cases.astro     # Case studies
β”‚   β”‚   β”œβ”€β”€ contact.astro   # Contact page
β”‚   β”‚   β”œβ”€β”€ services.astro  # Services overview
β”‚   β”‚   β”œβ”€β”€ fintech.astro   # FinTech services
β”‚   β”‚   β”œβ”€β”€ healthtech.astro # HealthTech services
β”‚   β”‚   β”œβ”€β”€ retail.astro    # Retail services
β”‚   β”‚   β”œβ”€β”€ saas.astro      # SaaS services
β”‚   β”‚   └── 404.astro       # 404 error page
β”‚   β”œβ”€β”€ styles/
β”‚   β”‚   β”œβ”€β”€ global.css      # Global styles & CSS variables
β”‚   β”‚   └── index.css       # Homepage specific styles
β”‚   └── utils/
β”‚       └── url.ts          # URL utilities (withBase)
β”œβ”€β”€ astro.config.mjs        # Astro configuration
└── tsconfig.json           # TypeScript configuration

🎨 Design System

The project uses a custom design system with centralized CSS variables:

Color Palette

  • Primary: #00616c (Teal)
  • Primary Light: #03b3cb (Cyan)
  • Blue: #3b86a2
  • Blue Light: #5abfd7
  • Teal: #36808f
  • Neutral Light: #ececea
  • Text Dark: #3b3b3b

All colors are defined in src/styles/global.css and should be used via Tailwind classes.

⚑ Key Features

  • 🎨 Custom Design System - Unique Jaya brand identity with rounded corners and custom shapes
  • πŸ—ΊοΈ Interactive US Map - Hover states showing client locations and case studies
  • πŸ“± Fully Responsive - Mobile-first design that works on all devices
  • β™Ώ Accessible - Semantic HTML and ARIA attributes
  • πŸš€ Performance Optimized - Static generation with Astro's Islands Architecture
  • πŸ” SEO Friendly - Meta tags, sitemap, and robots.txt
  • πŸ“Š Analytics Ready - Structured for easy integration
  • 🎯 Smooth Scrolling - Anchor navigation with offset for fixed header
  • πŸ”— Centralized Configuration - Social links and external URLs in one place

πŸ—οΈ Code Organization

Style Guidelines

The project follows strict CSS organization rules (see .cursor/rules/jaya-style-guide.mdc):

  • Grouped @apply directives by category (layout, spacing, colors, etc)
  • Background and text properties on separate lines
  • Centralized color variables (no hardcoded hex values)
  • Alias imports (@/) instead of relative paths

Key Patterns

Social Links:

import { socialLinks } from '@/data/social-links'
<a href={socialLinks.linkedin}>LinkedIn</a>

Path Aliases:

import Component from '@/components/Component.astro'
@reference '@/styles/global.css'

Active States:

const ACTIVE_STATES = ['CA', 'TX', 'IL', 'NY']
ACTIVE_STATES.forEach((id) => {
	document.getElementById(id)?.classList.add('active-state')
})

πŸš€ Installation

  1. Clone this repository:

    git clone https://github.com/olivamkt/jaya.git
    cd jaya
  2. Install dependencies:

    pnpm install
  3. Start the development server:

    pnpm dev
  4. Open your browser at http://localhost:4321/jaya/

πŸ“¦ Available Commands

Command Action
pnpm dev Start local development server
pnpm build Build site for production
pnpm preview Preview production build locally
pnpm astro Run Astro CLI commands

🌐 Pages

  • / - Homepage with hero, services, map, impact, clients, and team sections
  • /about - Company information and culture
  • /cases - Client case studies and success stories
  • /contact - Contact form and information
  • /fintech - FinTech services details
  • /healthtech - HealthTech services details
  • /retail - Retail services details
  • /saas - SaaS services details

🎨 Brand Colors

Access colors via Tailwind classes or CSS variables:

/* Tailwind classes */
.text-primary
.bg-primary-light
.text-text-dark

/* CSS variables */
var(--color-primary)
var(--color-primary-light)
var(--color-text-dark)

See src/styles/global.css for the complete color system.

πŸ”§ Configuration

Base URL

The site is configured for GitHub Pages deployment with base path /jaya/. This is set in astro.config.mjs:

export default defineConfig({
	site: 'https://olivamkt.github.io/jaya/',
	base: '/jaya/'
	// ...
})

Social Links

Update social media links in src/data/social-links.ts:

export const socialLinks = {
	linkedin: 'https://www.linkedin.com/company/jaya-apps',
	github: 'https://github.com/jaya',
	medium: 'https://medium.com/wearejaya'
}

πŸ“ Development Guidelines

See .cursor/rules/jaya-style-guide.mdc for detailed coding standards including:

  • CSS @apply organization rules
  • Import path conventions
  • Color usage guidelines
  • JavaScript/TypeScript patterns

πŸš€ Deployment

Live Site

GitHub Actions (Automated)

The project uses automated deployment via GitHub Actions:

  1. Workflow File: .github/workflows/deploy.yml
  2. Triggers:
    • Automatic deployment on push to main branch
    • Manual deployment via GitHub Actions tab
  3. Settings: Go to Settings β†’ Pages β†’ Source: GitHub Actions

Manual Deployment

If needed:

  1. Build the project:

    pnpm build
  2. Preview locally (optional):

    pnpm preview
  3. Push to repository:

    git add .
    git commit -m "Your message"
    git push origin main
  4. GitHub Actions will automatically deploy

Testing Before Deployment

  1. Build for production: pnpm build
  2. Preview: pnpm preview
  3. Test at http://localhost:4321/jaya/
  4. Verify all links, navigation, and base path

Troubleshooting

404 Errors:

  • Verify base: '/jaya/' in astro.config.mjs matches repository name
  • Check GitHub Pages is enabled in repository settings

Assets Not Loading:

  • Use withBase() utility for all internal links
  • Check font paths include /jaya/ prefix in global.css

Deployment Failed:

  • Check Actions tab for error details
  • Verify pnpm-lock.yaml is committed

Deployment Notes

  • Site uses static generation (all pages pre-rendered)
  • Deployment takes 1-3 minutes after push
  • No server-side rendering or API routes

πŸ“„ License

MIT - See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors