Skip to content

✨ Wallzen UI: Modern wallpaper discovery platform crafted with Next.js and Tailwind CSS. Features responsive design, real-time search, and seamless image management.

Notifications You must be signed in to change notification settings

justkelvin/wallzen-ui

Repository files navigation

✨ Wallzen Frontend

A modern, responsive wallpaper discovery platform built with Next.js and Tailwind CSS

FeaturesTech StackGetting StartedStructureComponents


⭐ Features

  • 🎨 Modern, responsive design
  • 🖼️ Dynamic image grid layout
  • 🔍 Real-time search functionality
  • 💻 Image preview and zoom
  • 📱 Mobile-first approach
  • ❤️ Favorites management
  • 🌙 Dark mode support
  • 🚀 Fast image loading

🛠️ Tech Stack

  • Framework: Next.js 13 (App Router)
  • Styling: Tailwind CSS
  • Icons: Heroicons
  • HTTP Client: Axios
  • State Management: React Hooks
  • Typography: Inter font
  • Build Tool: Vite
  • Package Manager: npm

🚀 Getting Started

  1. Clone the repository
git clone https://github.com/justkelvin/wallzen-ui.git
cd wallzen-ui
  1. Install dependencies
npm install
  1. Set up environment variables
cp .env.example .env.local
  1. Start the development server
npm run dev

Visit http://localhost:3000 to see the application.

📁 Folder Structure

src/
├── app/           # App router pages
├── components/    # React components
│   ├── ui/       # Reusable UI components
│   └── layout/   # Layout components
├── lib/          # Utilities and helpers
│   ├── api/      # API client
│   └── types/    # TypeScript types
├── styles/       # Global styles
└── public/       # Static assets

🧩 Components

Core Components

  • WallpaperGrid - Masonry grid layout for wallpapers
  • SearchBar - Search interface with suggestions
  • ImageModal - Full-screen image preview
  • Pagination - Page navigation component

UI Components

  • Button - Customizable button component
  • Input - Form input elements
  • Loading - Loading states and spinners
  • Icons - Custom icon components

🎨 Styling

We use Tailwind CSS for styling with a custom configuration:

// tailwind.config.js
module.exports = {
  content: ['./src/**/*.{js,ts,jsx,tsx}'],
  theme: {
    extend: {
      colors: {
        primary: '#1a1a1a',
        secondary: '#2a2a2a',
        accent: '#3a3a3a',
      },
    },
  },
  plugins: [],
}

🔧 Environment Variables

NEXT_PUBLIC_API_URL=http://localhost:3001/api
NEXT_PUBLIC_SITE_URL=http://localhost:3000

📱 Responsive Design

  • Mobile: 320px - 768px
  • Tablet: 768px - 1024px
  • Desktop: 1024px+

🏃 Scripts

{
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  }
}

🌟 Best Practices

  • ✅ Component-based architecture
  • ✅ TypeScript for type safety
  • ✅ Responsive images with next/image
  • ✅ SEO optimization
  • ✅ Accessibility standards
  • ✅ Performance optimization

📝 License

MIT © [Kelvin]


Built with 💖 and Next.js

GitHubX

About

✨ Wallzen UI: Modern wallpaper discovery platform crafted with Next.js and Tailwind CSS. Features responsive design, real-time search, and seamless image management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •