Case Studyবাংলা + EN

Zayn Gear

Bangladesh-First E-Commerce with Bilingual Experience

Visit Live Site
20+
Districts
4+
Role Tiers
36+
Bilingual Fields
12+
Mobile Features
Scroll
Project Overview

Built for
Bangladesh

A modern e-commerce platform built specifically for the Bangladesh market, featuring full bilingual support (Bengali & English), mobile-first design with bottom navigation, light/dark theme toggle, and localized checkout with district-based shipping and COD payment.

This project prioritizes the local market with Bangladesh-specific features including Cash on Delivery payment, district-based shipping, and full Bengali language support throughout the platform.

Client
Zayn Gear
Year
2025
Duration
2 months
Category
E-Commerce

Bangladesh-First

Localized for the Bangladesh market

20 Districts
COD Payment
BDT Currency
BD Phone Validation

Bilingual Support

Full English and Bengali language support

English
Bengali (বাংলা)
Primary Feature

Bilingual Experience

Full support for both Bengali and English across the entire platform. Toggle between languages to see the seamless translation system.

English
Add to Cart
English
Categories
English
Checkout
English
Coming Soon
English
Product Details
English
My Orders

Bilingual Content Fields

Product Names
nameBn
Descriptions
descriptionBn
Categories
categoryBn
Promotions
titleBn

All content is stored with both English and Bengali fields in Sanity CMS, allowing seamless switching between languages without page reload.

Currency Symbol
BDT
Currency Code
bn-BD
Locale
Nationwide Coverage

Delivery Across Bangladesh

Cash on Delivery available to 20 districts across all 8 divisions of Bangladesh. Select your district at checkout for accurate shipping rates.

Dhaka7 districtsChittagong4 districtsRajshahiKhulnaSylhetRangpurBarisalMymensingh
20
Districts
8
Divisions
COD
Payment

Dhaka Division

DhakaGazipurNarayanganjTangailNarsingdiSavarTongi

Chittagong Division

ChittagongComillaCox's BazarBrahmanbaria

Rajshahi Division

RajshahiBogra

Khulna Division

KhulnaJessore

Sylhet Division

Sylhet

Barisal Division

Barisal

Rangpur Division

RangpurDinajpur

Mymensingh Division

Mymensingh

Cash on Delivery

Pay when you receive your order

Theme System

Light & Dark Modes

Seamless theme switching powered by next-themes. Respects system preference with smooth CSS transitions.

Light Mode
৳ 1,299
Add
All
T-Shirts
Hoodies
Dark Mode
৳ 1,299
Add
All
T-Shirts
Hoodies

System Detection

Automatic theme based on OS

Persistent Choice

Remembers your preference

Smooth Transitions

CSS-based animations

SSR Compatible

No flash on page load

next-themes integration
import { ThemeProvider } from 'next-themes'

// Wrap your app
<ThemeProvider
  attribute="class"
  defaultTheme="system"
  enableSystem
>
  {children}
</ThemeProvider>
Mobile Experience

Mobile-First Navigation

Fixed bottom navigation bar with touch-optimized targets, badge counters, and smooth tab transitions.

9:41

Welcome to Zayn Gear

Featured Products
New Arrivals
Categories

Mobile-First Features

Fixed Bottom Navigation

Always accessible navigation bar that stays fixed at the bottom of the screen for easy thumb access.

Badge Counters

Real-time badge updates showing cart item count and wishlist items at a glance.

Touch-Friendly Targets

Large tap targets (44x44px minimum) following iOS Human Interface Guidelines.

Safe Area Support

Proper padding for notched devices and home indicator areas on modern phones.

Smooth Transitions

Spring-based animations provide tactile feedback on navigation changes.

Try it! Click the navigation icons on the phone to see the screen transitions.

Key Features

The Feature Set

Core features designed for the Bangladesh market with bilingual support, mobile-first design, and comprehensive admin capabilities.

Bilingual Experience

Full Bengali & English support across the platform

Products, categories, promotions, and UI elements support both Bengali (বাংলা) and English. Dynamic language display adapts to content availability with fallback handling.

Product names (nameBn)Category labelsCheckout formsEmail templates
01

Bangladesh Checkout

Localized checkout with district-based shipping

20+ Bangladesh districts supported with Cash on Delivery (COD) as primary payment. BDT currency formatting with proper locale and phone validation for BD numbers.

District dropdownCOD paymentBDT formattingBD phone validation
02

Light/Dark Theme

System-aware theme with manual toggle

Seamless theme switching with next-themes. Respects system preference, persists user choice, and includes smooth CSS transitions between modes.

System detectionPersistent choiceSmooth transitionsDark-first design
03

Mobile-First Design

Bottom navigation and touch-optimized UI

Fixed bottom navigation bar for mobile with quick access to Home, Store, Cart, Wishlist, and Account. Touch-friendly components with proper safe area handling.

Bottom nav barTouch targetsSafe area supportMobile cart
04

4-Tier Role System

Customer, Staff, Admin, Master Admin

Hierarchical role system with granular permissions. Master Admin controls user management, Admin handles products/orders, Staff assists with operations, Customers shop.

Role hierarchyPermission guardsProtected routesAuto-role assignment
05

Comprehensive Admin

Full dashboard for products, orders, customers

Dark-mode admin dashboard with real-time stats, order management, product CRUD, customer analytics, and promotion management via Sanity CMS integration.

Real-time statsOrder processingProduct managementCustomer CRM
06

Review System

Star ratings with verification

Customer reviews with 5-star ratings, verified purchase badges, and admin moderation queue. Reviews stored in Supabase with RLS policies.

Star ratingsVerified badgesModeration queueRLS protected
07

Wishlist & Favorites

Save products for later

Persistent wishlist with badge counts, quick add-to-cart, and localStorage persistence. Wishlist icon in header and product cards for easy access.

Badge countsQuick addPersistent storageProduct cards
08
Scroll or use arrows to explore all features
Technology Stack

Modern Stack

Built with the latest technologies for performance, type safety, and developer experience.

Framework

Next.js 16
App Router with Turbopack
React 19
Latest with Server Components
TypeScript
Full type safety

UI & Styling

Tailwind CSS 4
Utility-first with dark mode
next-themes
Theme toggle system
Lucide React
Icon system

Backend

Supabase
Auth, Database, RLS
Sanity CMS
Product content management

State Management

React Context
Cart & wishlist state
localStorage
Persistent cart data

Integrations

Resend
Transactional emails
Google Analytics
Performance tracking
Access Control

4-Tier Role System

Hierarchical role-based access control with granular permissions for each user type.

Level 3

Master Admin

Complete system control with user management

  • User role management
  • System settings
  • All admin features
  • Master controls
Level 2

Admin

Full product, order, and customer management

  • Product CRUD
  • Order processing
  • Customer management
  • Analytics dashboard
Level 1

Staff

Operational assistance and order support

  • Order viewing
  • Customer support
  • Basic reports
  • Inventory checks
Level 0

Customer

Shopping with wishlist and order tracking

  • Browse & purchase
  • Wishlist
  • Order tracking
  • Reviews & ratings
Master Admin
Admin
Staff
Customer

Higher levels inherit all permissions from lower levels

Development Timeline

Project Phases

From initial setup to launch-ready, the development journey of Zayn Gear.

Oct 2025

Foundation

Next.js 16 setup with Turbopack, Supabase integration, and Sanity CMS configuration

App Router setupAuth systemDatabase schema
Nov 2025

Localization

Bilingual support implementation and Bangladesh-focused features

Bengali fieldsBDT currencyDistrict checkout
Nov 2025

Admin & Dashboard

Comprehensive admin panel with role-based access and analytics

Role hierarchyAdmin dashboardAnalytics
Dec 2025

Mobile Optimization

Mobile-first refinements, bottom navigation, and theme toggle system

Bottom navigationTheme toggleTouch optimization
Screenshots

Visual Gallery

A visual tour through the key screens and features of Zayn Gear.

1

Bilingual Product Display

Products shown in both Bengali and English

localization
2

Mobile Bottom Navigation

Fixed bottom nav with quick access icons

mobile
3

Theme Toggle

Light and dark mode comparison

theme
4

Bangladesh Checkout

District-based shipping with COD option

checkout
5

Admin Dashboard

Real-time stats and order management

admin
6

Role Hierarchy

4-tier role system visualization

roles

Screenshots will be added once the site launches with products

Coming Soon

Ready to Explore
Zayn Gear?

Visit the live site to see Bangladesh-first e-commerce in action. Products launching soon!