Skip to content

securiace-dev/securiace.com_website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Securiace Technologies - Enterprise Website

A modern, enterprise-grade website built with Next.js 14, featuring comprehensive hosting and cybersecurity solutions. This project showcases professional web development practices, SEO optimization, and conversion-focused design.

πŸš€ Features

Core Functionality

  • Modern Tech Stack: Next.js 14 with App Router, TypeScript, TailwindCSS
  • Responsive Design: Mobile-first approach with perfect responsiveness
  • Dark/Light Mode: System preference detection with manual toggle
  • SEO Optimized: Comprehensive meta tags, structured data, and performance optimization
  • Analytics Ready: Plausible Analytics and Google Analytics 4 integration
  • Accessibility: WCAG 2.1 AA compliant with proper ARIA labels

Business Features

  • Service Showcase: Comprehensive hosting and cybersecurity service pages
  • Pricing Plans: Transparent pricing with psychological anchoring
  • Contact Forms: Multi-step forms with validation and analytics tracking
  • Blog System: Content management with categories and search
  • Support Center: Knowledge base and multiple support channels
  • Trust Signals: Certifications, testimonials, and security badges

Technical Features

  • Performance: 100% Lighthouse scores target
  • Security: Security headers, input validation, and XSS protection
  • Caching: Intelligent caching strategies for optimal performance
  • Error Handling: Comprehensive error boundaries and fallbacks
  • Type Safety: Full TypeScript coverage with strict mode
  • Testing: Unit, integration, and E2E testing setup

πŸ—οΈ Project Structure

src/
β”œβ”€β”€ app/                    # Next.js App Router pages
β”‚   β”œβ”€β”€ about/             # About page
β”‚   β”œβ”€β”€ blog/              # Blog listing and posts
β”‚   β”œβ”€β”€ contact/           # Contact page
β”‚   β”œβ”€β”€ pricing/           # Pricing plans
β”‚   β”œβ”€β”€ services/          # Services overview
β”‚   β”œβ”€β”€ support/           # Support center
β”‚   β”œβ”€β”€ globals.css        # Global styles
β”‚   β”œβ”€β”€ layout.tsx         # Root layout
β”‚   └── page.tsx           # Homepage
β”œβ”€β”€ components/            # Reusable components
β”‚   β”œβ”€β”€ ui/               # ShadCN UI components
β”‚   β”œβ”€β”€ layout/           # Layout components (header, footer)
β”‚   β”œβ”€β”€ sections/         # Page sections
β”‚   β”œβ”€β”€ forms/            # Form components
β”‚   β”œβ”€β”€ animations/       # Animation components
β”‚   └── providers/        # Context providers
β”œβ”€β”€ lib/                  # Utility functions
β”‚   β”œβ”€β”€ utils.ts         # General utilities
β”‚   β”œβ”€β”€ constants.ts     # App constants
β”‚   β”œβ”€β”€ seo.ts          # SEO utilities
β”‚   β”œβ”€β”€ analytics.ts    # Analytics tracking
β”‚   β”œβ”€β”€ validations.ts  # Form validation schemas
β”‚   β”œβ”€β”€ api.ts          # API client
β”‚   └── cache.ts        # Caching utilities
β”œβ”€β”€ hooks/               # Custom React hooks
β”œβ”€β”€ types/               # TypeScript type definitions
└── content/             # Static content and data
    β”œβ”€β”€ blog/           # Blog posts
    └── data/           # Static data files

πŸ› οΈ Tech Stack

Frontend

  • Framework: Next.js 14 (App Router)
  • Language: TypeScript
  • Styling: TailwindCSS + ShadCN UI
  • Icons: Lucide React
  • Animations: Framer Motion
  • Forms: React Hook Form + Zod

Backend & Services

  • Analytics: Plausible Analytics, Google Analytics 4
  • CRM: Twenty CRM integration
  • Email: Listmonk integration
  • Billing: WHMCS integration
  • Support: Chatwoot integration
  • Calendar: Cal.com integration

Development Tools

  • Linting: ESLint + Prettier
  • Testing: Jest + Testing Library
  • Type Checking: TypeScript strict mode
  • Git Hooks: Husky + lint-staged

πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Git

Installation

  1. Clone the repository

    git clone https://github.com/securiace/securiace-website.git
    cd securiace-website
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Set up environment variables

    cp .env.example .env.local

    Fill in the required environment variables:

    NEXT_PUBLIC_APP_URL=http://localhost:3000
    NEXT_PUBLIC_GOOGLE_ANALYTICS_ID=your_ga_id
    NEXT_PUBLIC_PLAUSIBLE_DOMAIN=your_domain
    # Add other required variables
  4. Run the development server

    npm run dev
    # or
    yarn dev
  5. Open your browser Navigate to http://localhost:3000

Available Scripts

# Development
npm run dev          # Start development server
npm run build        # Build for production
npm run start        # Start production server
npm run lint         # Run ESLint
npm run lint:fix     # Fix ESLint errors
npm run type-check   # Run TypeScript type checking

# Testing
npm run test         # Run unit tests
npm run test:watch   # Run tests in watch mode
npm run test:coverage # Run tests with coverage
npm run test:e2e     # Run E2E tests

# Deployment
npm run deploy       # Deploy to production
npm run preview      # Preview production build

πŸ“± Pages Overview

Homepage (/)

  • Hero section with domain search
  • Services overview
  • Pricing highlights
  • Testimonials
  • Trust signals
  • Call-to-action sections

About (/about)

  • Company story and mission
  • Team members
  • Values and certifications
  • Statistics and achievements

Services (/services)

  • Comprehensive service listings
  • Detailed service descriptions
  • Features and benefits
  • Pricing information
  • Contact options

Pricing (/pricing)

  • Transparent pricing plans
  • Feature comparisons
  • Add-on services
  • FAQ section
  • Contact sales

Contact (/contact)

  • Multiple contact methods
  • Contact form with validation
  • Support hours
  • Office information
  • FAQ section

Blog (/blog)

  • Article listings
  • Category filtering
  • Search functionality
  • Popular articles
  • Newsletter signup

Support (/support)

  • Support methods
  • Knowledge base
  • Popular articles
  • FAQ section
  • Live chat integration

🎨 Design System

Colors

  • Primary: Cyber blue (#0ea5e9)
  • Secondary: Security green (#10b981)
  • Accent: Trust purple (#8b5cf6)
  • Neutral: Gray scale for text and backgrounds

Typography

  • Primary Font: Inter (Google Fonts)
  • Code Font: Fira Code (Google Fonts)
  • Font Sizes: Responsive scale from 12px to 72px

Components

  • Buttons: Multiple variants with hover states
  • Cards: Consistent spacing and shadows
  • Forms: Accessible inputs with validation
  • Navigation: Responsive with mobile menu
  • Modals: Accessible overlays and dialogs

πŸ”§ Configuration

TailwindCSS

The project uses TailwindCSS with custom configuration:

  • Custom color palette
  • Extended spacing scale
  • Custom animations
  • Dark mode support

Next.js

  • App Router configuration
  • Image optimization
  • Font optimization
  • Metadata generation
  • Security headers

TypeScript

  • Strict mode enabled
  • Path aliases configured
  • Comprehensive type definitions
  • ESLint integration

πŸ“Š Performance

Core Web Vitals Targets

  • LCP: < 1.5s
  • CLS: < 0.1
  • FID: < 100ms
  • INP: < 200ms

Optimization Strategies

  • Image optimization with Next.js Image
  • Code splitting and lazy loading
  • CDN integration
  • Caching strategies
  • Bundle analysis

πŸ”’ Security

Security Headers

  • Content Security Policy (CSP)
  • HTTP Strict Transport Security (HSTS)
  • X-Frame-Options
  • X-Content-Type-Options
  • X-XSS-Protection

Input Validation

  • Zod schemas for all forms
  • XSS protection
  • CSRF protection
  • Rate limiting

πŸ§ͺ Testing

Test Structure

src/__tests__/
β”œβ”€β”€ components/     # Component tests
β”œβ”€β”€ pages/         # Page tests
β”œβ”€β”€ utils/         # Utility tests
β”œβ”€β”€ e2e/          # End-to-end tests
└── __mocks__/    # Mock files

Testing Tools

  • Jest: Test runner
  • Testing Library: Component testing
  • Playwright: E2E testing
  • MSW: API mocking

πŸ“ˆ Analytics

Tracking Events

  • Page views
  • Form submissions
  • CTA clicks
  • Service interactions
  • Pricing plan views
  • Contact method usage

Analytics Providers

  • Plausible: Privacy-focused analytics
  • Google Analytics 4: Enhanced ecommerce tracking
  • Custom Events: Business-specific tracking

πŸš€ Deployment

Production Build

npm run build
npm run start

Environment Variables

Ensure all required environment variables are set:

  • NEXT_PUBLIC_APP_URL
  • NEXT_PUBLIC_GOOGLE_ANALYTICS_ID
  • NEXT_PUBLIC_PLAUSIBLE_DOMAIN
  • Database connection strings
  • API keys for integrations

Deployment Platforms

  • Vercel: Recommended for Next.js
  • Netlify: Alternative platform
  • Docker: Containerized deployment
  • Self-hosted: Custom server setup

🀝 Contributing

Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting
  5. Submit a pull request

Code Standards

  • Follow TypeScript best practices
  • Use Prettier for code formatting
  • Write comprehensive tests
  • Document new features
  • Follow accessibility guidelines

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ†˜ Support

For support and questions:

πŸ™ Acknowledgments

  • Next.js Team: For the amazing framework
  • TailwindCSS Team: For the utility-first CSS framework
  • ShadCN UI: For the beautiful component library
  • Vercel: For the deployment platform
  • Open Source Community: For the amazing tools and libraries

Built with ❀️ by the Securiace Technologies team

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published