Home প্রিমিয়াম পোস্ট APPS STORE NEW WEBSITE TO APP কোর্স

প্রম্পট এবং কোড দেখুন

AI Test Lab

Test your prompts directly on official platforms.

অফার ওয়েবসাইট বানানোর রেডি কোড।






✦ CODE SNIPPET
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:css='false' b:js='true' b:responsive='true' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gdata/b' xmlns:data='http://www.google.com/2005/gdata/data' xmlns:expr='http://www.google.com/2005/gdata/expr'>
<head>
<meta charset='utf-8'/>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'/>
<title><data:blog.pageTitle/></title>

<b:include data='blog' name='all-head-content'/>

<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""/>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&amp;display=swap" rel="stylesheet"/>

<!-- FontAwesome Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"/>

<b:skin><![CDATA[
/* ==========================================================================
   OfferHub Blogger Theme - Core Design System & Variables
   ================================================================---------- */
:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #e0e7ff;
  --accent: #10b981;
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.25s ease-in-out;
}

[data-theme="dark"] {
  --primary: #6366f1;
  --primary-hover: #818cf8;
  --primary-light: #312e81;
  --accent: #34d399;
  --bg-body: #090d16;
  --bg-surface: #111827;
  --bg-surface-secondary: #1f2937;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #374151;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding .logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-navigation ul.main-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-navigation ul.main-menu a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
}

.site-navigation ul.main-menu a:hover,
.site-navigation ul.main-menu a.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn, .search-trigger-btn, .mobile-menu-btn {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover, .search-trigger-btn:hover, .mobile-menu-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.mobile-menu-btn {
  display: none;
}

.hero-section {
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.hero-content {
  max-width: 750px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-search-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: 50px;
  display: flex;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
}

.hero-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 16px;
  color: var(--text-main);
  outline: none;
}

.hero-search-box button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.hero-search-box button:hover {
  background: var(--primary-hover);
}

.main-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  margin-bottom: 60px;
}

@media(max-width: 992px) {
  .main-wrapper {
    grid-template-columns: 1fr;
  }
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.offer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.offer-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-surface-secondary);
}

.offer-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.offer-card:hover .offer-thumb-wrap img {
  transform: scale(1.05);
}

.offer-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}

.offer-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.offer-category {
  color: var(--primary);
  font-weight: 600;
}

.offer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.offer-title a {
  color: var(--text-main);
}

.offer-title a:hover {
  color: var(--primary);
}

.offer-snippet {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  margin-top: auto;
}

.btn-cta {
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.btn-cta:hover {
  background: var(--primary);
  color: #fff;
}

.post-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

@media(max-width: 768px) {
  .post-container {
    padding: 20px;
  }
}

.post-header {
  margin-bottom: 30px;
}

.post-category-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.post-title-main {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 15px;
}

.post-meta-info {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: var(--text-muted);
}

.post-featured-image {
  margin-bottom: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 480px;
  width: 100%;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-main);
}

.post-body p {
  margin-bottom: 20px;
}

.post-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: var(--text-main);
}

.post-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 25px 0 12px;
  color: var(--text-main);
}

.post-body ul, .post-body ol {
  margin: 0 0 20px 20px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 15px 20px;
  background: var(--bg-surface-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 25px 0;
  font-style: italic;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.post-body th, .post-body td {
  border: 1px solid var(--border-color);
  padding: 12px;
  text-align: left;
}

.post-body th {
  background: var(--bg-surface-secondary);
}

.post-body img,
.post-body .separator img,
.post-body a img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-md);
  margin: 20px auto;
  display: block;
  box-shadow: var(--shadow-sm);
}

.post-body iframe {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: var(--radius-md);
  margin: 25px 0;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.widget h2.title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
  color: var(--text-main);
}

.widget ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget ul li a {
  color: var(--text-muted);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

footer.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
}

@media(max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .site-navigation {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 2000;
  transition: 0.3s ease-in-out;
  padding: 30px 20px;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-main);
  cursor: pointer;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu-list a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
  display: none;
}

.overlay.active {
  display: block;
}

.blog-pager {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.blog-pager a {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-main);
}

.blog-pager a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
]]></b:skin>

<script><![CDATA[
  // Dark mode initialization script to prevent flashing
  (function() {
    const savedTheme = localStorage.getItem('theme') || 'light';
    document.documentElement.setAttribute('data-theme', savedTheme);
  })();
]]></script>
</head>

<body>
<div class='overlay' id='menuOverlay' onclick='toggleMobileMenu()'></div>

<!-- Mobile Navigation Drawer -->
<div class='mobile-drawer' id='mobileDrawer'>
  <div class='drawer-header'>
    <div class='logo-text'><i class='fa-solid fa-bolt'><b>OfferHub</b></i></div>
    <button class='drawer-close' onclick='toggleMobileMenu()'><i class='fa-solid fa-xmark'></i></button>
  </div>
  <ul class='mobile-menu-list'>
    <li><a expr:href='data:blog.homepageUrl'>Home</a></li>
    <li><a expr:href='data:blog.homepageUrl + "search/label/Featured"'>Latest Offers</a></li>
    <li><a expr:href='data:blog.homepageUrl + "search/label/Deals"'>Deals &amp; Rewards</a></li>
    <li><a expr:href='data:blog.homepageUrl + "search/label/Limited"'>Limited Time</a></li>
  </ul>
</div>

<!-- Sticky Header -->
<header class='site-header'>
  <div class='container header-inner'>
    <div class='site-branding'>
      <a class='logo-text' expr:href='data:blog.homepageUrl'>
        <i class='fa-solid fa-bolt'></i>OfferHub
      </a>
    </div>

    <nav class='site-navigation'>
      <ul class='main-menu'>
        <li><a class='active' expr:href='data:blog.homepageUrl'>Home</a></li>
        <li><a expr:href='data:blog.homepageUrl + "search/label/Featured"'>Latest Offers</a></li>
        <li><a expr:href='data:blog.homepageUrl + "search/label/Deals"'>Categories</a></li>
        <li><a expr:href='data:blog.homepageUrl + "search/label/Popular"'>Popular</a></li>
      </ul>
    </nav>

    <div class='header-actions'>
      <button aria-label='Toggle Theme' class='theme-toggle-btn' id='themeToggleBtn' onclick='switchTheme()'>
        <i class='fa-solid fa-moon' id='themeIcon'></i>
      </button>
      <button aria-label='Open Menu' class='mobile-menu-btn' onclick='toggleMobileMenu()'>
        <i class='fa-solid fa-bars'></i>
      </button>
    </div>
  </div>
</header>

<!-- Main Blog Section -->
<main class='container' style='margin-top: 40px;'>
  <div class='main-wrapper'>
    
    <div class='content-area'>
      <b:section id='main-blog-section' showaddelement='yes'>
        <b:widget id='Blog1' locked='false' title='Blog Posts' type='Blog' version='2'>
          <b:includable id='main'>
            
            <!-- HOMEPAGE HERO & SEARCH -->
            <b:if cond='data:blog.url == data:blog.homepageUrl'>
              <section class='hero-section' style='margin-top: -40px; border-radius: var(--radius-lg); margin-bottom: 40px;'>
                <div class='container hero-content'>
                  <h1>Discover Today's Best Offers &amp; Rewards</h1>
                  <p>Find verified online opportunities, limited-time promotions, and high-value rewards updated daily.</p>
                  <form action='/search' class='hero-search-box' method='get'>
                    <input name='q' placeholder='Search offers, deals, rewards...' type='text'/>
                    <button type='submit'>Search</button>
                  </form>
                </div>
              </section>
            </b:if>

            <!-- SINGLE POST VIEW -->
            <b:if cond='data:blog.pageType == "item"'>
              <b:loop values='data:posts' var='post'>
                <article class='post-container'>
                  <div class='post-header'>
                    <b:if cond='data:post.labels'>
                      <span class='post-category-tag'><data:post.labels.first.name/></span>
                    </b:if>
                    <h1 class='post-title-main'><data:post.title/></h1>
                    <div class='post-meta-info'>
                      <span><i class='fa-regular fa-calendar'></i> <data:post.date/></span>
                      <span><i class='fa-regular fa-user'></i> <data:post.author/></span>
                    </div>
                  </div>

                  <b:if cond='data:post.featuredImage'>
                    <div class='post-featured-image'>
                      <img expr:src='data:post.featuredImage' expr:alt='data:post.title'/>
                    </div>
                  </b:if>

                  <div class='post-body'>
                    <data:post.body/>
                  </div>
                </article>
              </b:loop>

            <!-- INDEX / HOMEPAGE / SEARCH VIEW -->
            <b:else/>
              <div class='offers-grid'>
                <b:loop values='data:posts' var='post'>
                  <div class='offer-card'>
                    <div class='offer-thumb-wrap'>
                      <span class='offer-badge'>Verified</span>
                      <b:if cond='data:post.featuredImage'>
                        <img expr:src='data:post.featuredImage' expr:alt='data:post.title' loading='lazy'/>
                      <b:else/>
                        <img src='https://images.unsplash.com/photo-1526304640581-d334cdbbf45e?auto=format&amp;fit=crop&amp;w=600&amp;q=80' alt='Default Offer' loading='lazy'/>
                      </b:if>
                    </div>
                    <div class='offer-details'>
                      <div class='offer-meta'>
                        <b:if cond='data:post.labels'>
                          <span class='offer-category'><data:post.labels.first.name/></span>
                        <b:else/>
                          <span class='offer-category'>Offers</span>
                        </b:if>
                        <span><data:post.date/></span>
                      </div>
                      <h3 class='offer-title'>
                        <a expr:href='data:post.url'><data:post.title/></a>
                      </h3>
                      <p class='offer-snippet'>
                        <b:if cond='data:post.snippet'><data:post.snippet/></b:if>
                      </p>
                      <div class='offer-footer'>
                        <span style='font-size:12px; color:var(--text-muted);'><i class='fa-solid fa-shield-check'></i> Active</span>
                        <a class='btn-cta' expr:href='data:post.url'>View Offer</a>
                      </div>
                    </div>
                  </div>
                </b:loop>
              </div>

              <!-- Pager -->
              <div class='blog-pager' id='blog-pager'>
                <b:if cond='data:newerPageUrl'>
                  <a class='home-link' expr:href='data:newerPageUrl'><i class='fa-solid fa-arrow-left'></i> Newer Offers</a>
                <b:else/>
                  <span/>
                </b:if>
                <b:if cond='data:olderPageUrl'>
                  <a class='home-link' expr:href='data:olderPageUrl'>Older Offers <i class='fa-solid fa-arrow-right'></i></a>
                </b:if>
              </div>
            </b:if>

          </b:includable>
        </b:widget>
      </b:section>
    </div>

    <!-- SIDEBAR AREA -->
    <aside class='sidebar'>
      <div class='widget'>
        <h2 class='title'>Search</h2>
        <form action='/search' class='hero-search-box' method='get' style='box-shadow:none; border:1px solid var(--border-color);'>
          <input name='q' placeholder='Search...' type='text' style='padding:8px 12px; font-size:14px;'/>
          <button type='submit' style='padding:8px 16px; border-radius:30px;'>Go</button>
        </form>
      </div>

      <div class='widget'>
        <h2 class='title'>Categories</h2>
        <ul>
          <li><a href='/search/label/Featured'><span>Featured Offers</span> <i class='fa-solid fa-chevron-right'></i></a></li>
          <li><a href='/search/label/Deals'><span>Top Deals</span> <i class='fa-solid fa-chevron-right'></i></a></li>
          <li><a href='/search/label/Rewards'><span>Rewards &amp; Bonuses</span> <i class='fa-solid fa-chevron-right'></i></a></li>
          <li><a href='/search/label/Limited'><span>Limited Time</span> <i class='fa-solid fa-chevron-right'></i></a></li>
        </ul>
      </div>
    </aside>

  </div>
</main>

<!-- Footer -->
<footer class='site-footer'>
  <div class='container'>
    <div class='footer-grid'>
      <div class='footer-col'>
        <div class='logo-text' style='color:var(--primary); font-size:20px; font-weight:800; margin-bottom:15px;'><i class='fa-solid fa-bolt'></i> OfferHub</div>
        <p>Your trusted destination for discovering hand-verified online offers, promotions, rewards, and discount deals.</p>
      </div>
      <div class='footer-col'>
        <h3>Quick Links</h3>
        <ul>
          <li><a expr:href='data:blog.homepageUrl'>Home</a></li>
          <li><a expr:href='data:blog.homepageUrl + "search/label/Featured"'>Latest Offers</a></li>
          <li><a expr:href='data:blog.homepageUrl + "search/label/Deals"'>Top Deals</a></li>
        </ul>
      </div>
      <div class='footer-col'>
        <h3>Categories</h3>
        <ul>
          <li><a href='/search/label/Rewards'>Rewards</a></li>
          <li><a href='/search/label/Promotions'>Promotions</a></li>
          <li><a href='/search/label/Limited'>Limited Time</a></li>
        </ul>
      </div>
      <div class='footer-col'>
        <h3>Legal &amp; Disclosure</h3>
        <p>Offers may contain affiliate tracking links or promotional partnerships. We verify offers before posting, but terms can change.</p>
      </div>
    </div>
    <div class='footer-bottom'>
      <p>&#169; 2026 OfferHub. All rights reserved.</p>
      <p>Designed for Modern Deals &amp; Rewards Sharing</p>
    </div>
  </div>
</footer>

<script><![CDATA[
  // Theme Toggle Functionality
  function switchTheme() {
    const currentTheme = document.documentElement.getAttribute('data-theme');
    const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
    document.documentElement.setAttribute('data-theme', newTheme);
    localStorage.setItem('theme', newTheme);
    
    const icon = document.getElementById('themeIcon');
    if (newTheme === 'dark') {
      icon.className = 'fa-solid fa-sun';
    } else {
      icon.className = 'fa-solid fa-moon';
    }
  }

  // Mobile Drawer Toggle
  function toggleMobileMenu() {
    const drawer = document.getElementById('mobileDrawer');
    const overlay = document.getElementById('menuOverlay');
    drawer.classList.toggle('active');
    overlay.classList.toggle('active');
  }

  // Set correct icon on load
  window.addEventListener('DOMContentLoaded', () => {
    const currentTheme = document.documentElement.getAttribute('data-theme');
    const icon = document.getElementById('themeIcon');
    if (currentTheme === 'dark' && icon) {
      icon.className = 'fa-solid fa-sun';
    }
  });
]]></script>
</body>
</html>
বিজ্ঞাপন
পোস্ট করেছেন

Tanbin Farazi