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.
- 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
- 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
- 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
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
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: TailwindCSS + ShadCN UI
- Icons: Lucide React
- Animations: Framer Motion
- Forms: React Hook Form + Zod
- Analytics: Plausible Analytics, Google Analytics 4
- CRM: Twenty CRM integration
- Email: Listmonk integration
- Billing: WHMCS integration
- Support: Chatwoot integration
- Calendar: Cal.com integration
- Linting: ESLint + Prettier
- Testing: Jest + Testing Library
- Type Checking: TypeScript strict mode
- Git Hooks: Husky + lint-staged
- Node.js 18+
- npm or yarn
- Git
-
Clone the repository
git clone https://github.com/securiace/securiace-website.git cd securiace-website -
Install dependencies
npm install # or yarn install -
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
-
Run the development server
npm run dev # or yarn dev -
Open your browser Navigate to http://localhost:3000
# 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- Hero section with domain search
- Services overview
- Pricing highlights
- Testimonials
- Trust signals
- Call-to-action sections
- Company story and mission
- Team members
- Values and certifications
- Statistics and achievements
- Comprehensive service listings
- Detailed service descriptions
- Features and benefits
- Pricing information
- Contact options
- Transparent pricing plans
- Feature comparisons
- Add-on services
- FAQ section
- Contact sales
- Multiple contact methods
- Contact form with validation
- Support hours
- Office information
- FAQ section
- Article listings
- Category filtering
- Search functionality
- Popular articles
- Newsletter signup
- Support methods
- Knowledge base
- Popular articles
- FAQ section
- Live chat integration
- Primary: Cyber blue (#0ea5e9)
- Secondary: Security green (#10b981)
- Accent: Trust purple (#8b5cf6)
- Neutral: Gray scale for text and backgrounds
- Primary Font: Inter (Google Fonts)
- Code Font: Fira Code (Google Fonts)
- Font Sizes: Responsive scale from 12px to 72px
- 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
The project uses TailwindCSS with custom configuration:
- Custom color palette
- Extended spacing scale
- Custom animations
- Dark mode support
- App Router configuration
- Image optimization
- Font optimization
- Metadata generation
- Security headers
- Strict mode enabled
- Path aliases configured
- Comprehensive type definitions
- ESLint integration
- LCP: < 1.5s
- CLS: < 0.1
- FID: < 100ms
- INP: < 200ms
- Image optimization with Next.js Image
- Code splitting and lazy loading
- CDN integration
- Caching strategies
- Bundle analysis
- Content Security Policy (CSP)
- HTTP Strict Transport Security (HSTS)
- X-Frame-Options
- X-Content-Type-Options
- X-XSS-Protection
- Zod schemas for all forms
- XSS protection
- CSRF protection
- Rate limiting
src/__tests__/
βββ components/ # Component tests
βββ pages/ # Page tests
βββ utils/ # Utility tests
βββ e2e/ # End-to-end tests
βββ __mocks__/ # Mock files
- Jest: Test runner
- Testing Library: Component testing
- Playwright: E2E testing
- MSW: API mocking
- Page views
- Form submissions
- CTA clicks
- Service interactions
- Pricing plan views
- Contact method usage
- Plausible: Privacy-focused analytics
- Google Analytics 4: Enhanced ecommerce tracking
- Custom Events: Business-specific tracking
npm run build
npm run startEnsure all required environment variables are set:
NEXT_PUBLIC_APP_URLNEXT_PUBLIC_GOOGLE_ANALYTICS_IDNEXT_PUBLIC_PLAUSIBLE_DOMAIN- Database connection strings
- API keys for integrations
- Vercel: Recommended for Next.js
- Netlify: Alternative platform
- Docker: Containerized deployment
- Self-hosted: Custom server setup
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request
- Follow TypeScript best practices
- Use Prettier for code formatting
- Write comprehensive tests
- Document new features
- Follow accessibility guidelines
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- Email: support@securiace.com
- Phone: +1 (555) 123-4567
- Live Chat: Available 24/7
- Documentation: docs.securiace.com
- 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