CoolFace
Apppublic

asasdsd11321/iranlounge-digikala-clone

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
electronics.html174 linesDownload Raw Back to root
1<!DOCTYPE html>2<html lang="fa" dir="rtl">3<head>4    <meta charset="UTF-8">5    <meta name="viewport" content="width=device-width, initial-scale=1.0">6    <title>کالای دیجیتال | ایران لنج</title>7    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">8    <script src="https://cdn.tailwindcss.com"></script>9    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>10    <script src="https://unpkg.com/feather-icons"></script>11    <script>12        tailwind.config = {13            theme: {14                extend: {15                    colors: {16                        primary: '#ef394e',17                        secondary: '#3f4d6a',18                    }19                }20            }21        }22    </script>23    <style>24        @font-face {25            font-family: 'IRANSans';26            src: url('https://cdn.fontcdn.ir/Font/Persian/IRANSans/IRANSansWeb(FaNum).woff') format('woff');27        }28        body {29            font-family: 'IRANSans', sans-serif;30        }31    </style>32</head>33<body class="bg-gray-100">34    <!-- Header (Same as index.html) -->35    <!-- Navigation (Same as index.html) -->36    <!-- Mobile Menu (Same as index.html) -->37 38    <!-- Breadcrumb -->39    <div class="bg-white py-2 px-4 shadow-sm">40        <div class="container mx-auto">41            <div class="flex items-center text-sm text-gray-500">42                <a href="index.html" class="text-primary">خانه</a>43                <i data-feather="chevron-left" class="w-4 h-4 mx-1"></i>44                <span>کالای دیجیتال</span>45            </div>46        </div>47    </div>48 49    <!-- Main Content -->50    <main class="container mx-auto py-6 px-4">51        <div class="flex flex-col lg:flex-row gap-6">52            <!-- Sidebar Filters -->53            <div class="lg:w-1/4 bg-white rounded-lg shadow-sm p-4 h-fit">54                <h2 class="text-lg font-bold mb-4">فیلترها</h2>55                56                <!-- Category Filter -->57                <div class="mb-6">58                    <h3 class="font-medium mb-2">دسته‌بندی</h3>59                    <div class="space-y-2">60                        <div class="flex items-center">61                            <input type="checkbox" id="mobile" class="ml-2">62                            <label for="mobile">موبایل</label>63                        </div>64                        <div class="flex items-center">65                            <input type="checkbox" id="tablet" class="ml-2">66                            <label for="tablet">تبلت</label>67                        </div>68                        <div class="flex items-center">69                            <input type="checkbox" id="headphone" class="ml-2">70                            <label for="headphone">هدفون و هدست</label>71                        </div>72                        <div class="flex items-center">73                            <input type="checkbox" id="smartwatch" class="ml-2">74                            <label for="smartwatch">ساعت هوشمند</label>75                        </div>76                    </div>77                </div>78 79                <!-- Price Filter -->80                <div class="mb-6">81                    <h3 class="font-medium mb-2">محدوده قیمت</h3>82                    <div class="flex items-center justify-between mb-2">83                        <input type="number" placeholder="حداقل" class="w-24 border border-gray-300 rounded px-2 py-1">84                        <span class="mx-2">تا</span>85                        <input type="number" placeholder="حداکثر" class="w-24 border border-gray-300 rounded px-2 py-1">86                    </div>87                    <button class="w-full bg-primary text-white py-1 rounded text-sm hover:bg-red-600">اعمال فیلتر</button>88                </div>89            </div>90 91            <!-- Products -->92            <div class="lg:w-3/4">93                <div class="bg-white rounded-lg shadow-sm p-4 mb-4">94                    <div class="flex justify-between items-center">95                        <h2 class="text-lg font-bold">کالای دیجیتال</h2>96                        <div class="flex items-center">97                            <span class="text-sm ml-2">مرتب سازی:</span>98                            <select class="border border-gray-300 rounded px-2 py-1 text-sm">99                                <option>پربازدیدترین</option>100                                <option>پرفروش‌ترین</option>101                                <option>جدیدترین</option>102                                <option>ارزان‌ترین</option>103                                <option>گران‌ترین</option>104                            </select>105                        </div>106                    </div>107                </div>108 109                <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">110                    <!-- Product 1 -->111                    <div class="bg-white rounded-lg shadow-sm p-4 hover:shadow-md transition-shadow">112                        <img src="http://static.photos/technology/320x240/20" alt="موبایل" class="w-full h-48 object-contain mb-4">113                        <h3 class="text-sm font-medium mb-2">گوشی موبایل سامسونگ مدل Galaxy S23 Ultra</h3>114                        <div class="flex items-center mb-2">115                            <div class="flex text-yellow-400">116                                <i data-feather="star" class="w-4 h-4 fill-current"></i>117                                <i data-feather="star" class="w-4 h-4 fill-current"></i>118                                <i data-feather="star" class="w-4 h-4 fill-current"></i>119                                <i data-feather="star" class="w-4 h-4 fill-current"></i>120                                <i data-feather="star" class="w-4 h-4 fill-current text-gray-300"></i>121                            </div>122                            <span class="text-xs text-gray-500 mr-1">(128)</span>123                        </div>124                        <div class="flex justify-between items-center mb-2">125                            <span class="text-xs text-gray-500 line-through">42,000,000 تومان</span>126                            <span class="text-sm bg-primary text-white px-2 py-0.5 rounded">10%</span>127                        </div>128                        <p class="text-lg font-bold mb-4">37,800,000 تومان</p>129                        <button class="w-full bg-primary text-white py-2 rounded hover:bg-red-600">افزودن به سبد</button>130                    </div>131 132                    <!-- Product 2 -->133                    <div class="bg-white rounded-lg shadow-sm p-4 hover:shadow-md transition-shadow">134                        <img src="http://static.photos/technology/320x240/21" alt="هدفون" class="w-full h-48 object-contain mb-4">135                        <h3 class="text-sm font-medium mb-2">هدفون بی‌سیم اپل مدل AirPods Pro 2</h3>136                        <div class="flex items-center mb-2">137                            <div class="flex text-yellow-400">138                                <i data-feather="star" class="w-4 h-4 fill-current"></i>139                                <i data-feather="star" class="w-4 h-4 fill-current"></i>140                                <i data-feather="star" class="w-4 h-4 fill-current"></i>141                                <i data-feather="star" class="w-4 h-4 fill-current"></i>142                                <i data-feather="star" class="w-4 h-4 fill-current"></i>143                            </div>144                            <span class="text-xs text-gray-500 mr-1">(89)</span>145                        </div>146                        <p class="text-lg font-bold mb-4">5,800,000 تومان</p>147                        <button class="w-full bg-primary text-white py-2 rounded hover:bg-red-600">افزودن به سبد</button>148                    </div>149 150                    <!-- More products... -->151                </div>152 153                <!-- Pagination -->154                <div class="mt-8 flex justify-center">155                    <nav class="flex items-center">156                        <a href="#" class="px-3 py-1 border border-gray-300 rounded mr-1 hover:bg-gray-100">قبلی</a>157                        <a href="#" class="px-3 py-1 bg-primary text-white rounded mr-1">1</a>158                        <a href="#" class="px-3 py-1 border border-gray-300 rounded mr-1 hover:bg-gray-100">2</a>159                        <a href="#" class="px-3 py-1 border border-gray-300 rounded mr-1 hover:bg-gray-100">3</a>160                        <a href="#" class="px-3 py-1 border border-gray-300 rounded hover:bg-gray-100">بعدی</a>161                    </nav>162                </div>163            </div>164        </div>165    </main>166 167    <!-- Footer (Same as index.html) -->168 169    <script>170        // Mobile Menu Toggle (Same as index.html)171        feather.replace();172    </script>173</body>174</html>