the-framing-shop

Wixstro - Wix Astro Template

A modern, full-featured Wix Astro template built with React, TypeScript, and Tailwind CSS. This template provides a solid foundation for building dynamic, interactive websites with Wixโ€™s powerful ecosystem.

๐Ÿš€ Features

๐Ÿ› ๏ธ Tech Stack

๐Ÿš€ Getting Started

Prerequisites

Installation

  1. Install dependencies:
    npm run install-template
    
  2. Set up environment variables:
    npm run env
    
  3. Start development server:
    npm run dev
    

The development server will start and you can view your site at http://localhost:4321.

๐Ÿ“ Project Structure

main/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/          # React components
โ”‚   โ”‚   โ”œโ”€โ”€ ui/             # Reusable UI components
โ”‚   โ”‚   โ”œโ”€โ”€ Head.tsx        # Page head component
โ”‚   โ”‚   โ””โ”€โ”€ Router.tsx      # Routing component
โ”‚   โ”œโ”€โ”€ hooks/              # Custom React hooks
โ”‚   โ”œโ”€โ”€ lib/                # Utility functions
โ”‚   โ”œโ”€โ”€ pages/              # Astro pages
โ”‚   โ””โ”€โ”€ styles/             # Global styles
โ”œโ”€โ”€ integrations/           # Wix integrations
โ”‚   โ”œโ”€โ”€ cms/               # CMS integration
โ”‚   โ””โ”€โ”€ members/           # Member authentication
โ”œโ”€โ”€ public/                # Static assets
โ””โ”€โ”€ eslint-rules/          # Custom ESLint rules

๐ŸŽจ UI Components

This template includes a comprehensive set of UI components built with Radix UI and styled with Tailwind CSS:

๐Ÿ”ง Available Scripts

๐Ÿงช Testing

The project includes Vitest for testing:

npm run test:run

๐Ÿ“ฑ Responsive Design

The template is built with a mobile-first approach and includes:

๐Ÿš€ Deployment

The template is configured for deployment on Cloudflare:

npm run build

๐Ÿค Contributing

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

๐Ÿ†˜ Support

For support and questions:


Built with โค๏ธ using Wix Vibe, Astro, and modern web technologies.