A high-performance React Hydrogen service company website built with modern web technologies and optimized for Shopify Oxygen hosting.
- React Hydrogen Framework: Server-side rendering with React Server Components
- Shopify CMS Integration: Content management through Shopify metaobjects
- Modern UI/UX: Tailwind CSS with responsive design and animations
- Performance Optimized: Built for speed and SEO
- Modular Architecture: Reusable components and clean code structure
- Framework: React Hydrogen
- Styling: Tailwind CSS + Headless UI
- Icons: Heroicons
- CMS: Shopify (Metaobjects)
- Hosting: Shopify Oxygen
- Build Tool: Vite
src/
├── components/ # Reusable UI components
│ ├── ServiceCard.client.jsx
│ ├── PortfolioGrid.client.jsx
│ ├── ContactForm.client.jsx
│ ├── Navbar.client.jsx
│ ├── Footer.server.jsx
│ └── Layout.server.jsx
├── sections/ # Page sections
│ ├── Hero.server.jsx
│ ├── ServicesSection.server.jsx
│ ├── PortfolioSection.server.jsx
│ └── ContactSection.server.jsx
├── routes/ # Page routes
│ └── index.server.jsx
├── lib/ # Utilities and configurations
│ └── queries.js
└── styles/ # Global styles
└── global.css
-
Clone the repository
git clone <repository-url> cd hydrogen
-
Install dependencies
npm install
-
Configure Shopify connection Update
shopify.config.jswith your store details:export default { storeDomain: 'your-store.myshopify.com', storefrontToken: 'your-storefront-token', storefrontApiVersion: '2023-07', };
-
Start development server
npm run dev
-
Build for production
npm run build
-
Deploy to Shopify Oxygen
npm run deploy
- Update the service data in
src/sections/ServicesSection.server.jsx - Or configure Shopify metaobjects and update the GraphQL queries
- Edit
tailwind.config.jsfor theme customization - Update
src/styles/global.cssfor global styles - Component-specific styles are in individual components
- Create a new component in
src/sections/ - Import and add to
src/routes/index.server.jsx
This project is optimized for:
- Server-Side Rendering (SSR)
- Image optimization
- Code splitting
- Caching strategies
- SEO optimization
package.json- Dependencies and scriptsshopify.config.js- Shopify connection settingstailwind.config.js- Tailwind CSS configurationvite.config.js- Build tool configuration
Create a .env file with:
PUBLIC_STOREFRONT_API_TOKEN=your_token_here
PUBLIC_SHOPIFY_ANALYTICS_TOKEN=your_analytics_token_here
This project is designed to be deployed on Shopify Oxygen for optimal performance and integration with Shopify services.
For support and questions, please contact the development team or refer to the Shopify Hydrogen documentation.
Built with ❤️ using React Hydrogen