-
Notifications
You must be signed in to change notification settings - Fork 459
Data bundle #52
Copy link
Copy link
Open
Description
<title>DataTrade Store | Non-Expire Data Bundles - Ghana</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
<script>
// ============================================================
// Exact data bundles based on the 3 provided images
// IMG_3793: 1GB-6GB prices
// IMG_3794: 10GB,15GB,20GB,25GB,30GB,40GB
// IMG_3795: 25GB,30GB,40GB,50GB,100GB (consistent with earlier)
// Final distinct list sorted by GB:
const bundles = [
{ gb: 1, price: 4.80 },
{ gb: 2, price: 9.80 },
{ gb: 3, price: 14.50 },
{ gb: 4, price: 19.50 },
{ gb: 5, price: 26.00 },
{ gb: 6, price: 30.00 },
{ gb: 10, price: 47.00 },
{ gb: 15, price: 69.00 },
{ gb: 20, price: 90.00 },
{ gb: 25, price: 125.00 },
{ gb: 30, price: 145.00 },
{ gb: 40, price: 178.00 },
{ gb: 50, price: 230.00 },
{ gb: 100, price: 425.00 }
];
// helper to format price with GHC
function formatPrice(price) {
return `GHC ${price.toFixed(2)}`;
}
// create WhatsApp order link for specific bundle
function getWhatsAppLink(gb, price) {
const message = `Hello DataTrade Store! I want to buy the ${gb}GB Non-Expire Data Bundle for ${formatPrice(price)}. Please help me activate it.`;
const encodedMsg = encodeURIComponent(message);
// Ghana international format: +233545833105 (0545833105)
return `https://wa.me/233545833105?text=${encodedMsg}`;
}
// render all cards dynamically
function renderBundles() {
const gridContainer = document.getElementById('bundlesGrid');
if (!gridContainer) return;
gridContainer.innerHTML = ''; // clear loading
bundles.forEach(bundle => {
const gb = bundle.gb;
const price = bundle.price;
const priceFormatted = formatPrice(price);
const waLink = getWhatsAppLink(gb, price);
// create card element
const card = document.createElement('div');
card.className = 'bundle-card';
// data size section
const sizeDiv = document.createElement('div');
sizeDiv.className = 'data-size';
sizeDiv.innerHTML = `${gb} GB`;
// price
const priceDiv = document.createElement('div');
priceDiv.className = 'price';
priceDiv.innerHTML = `${priceFormatted}`;
// non-expire badge
const badge = document.createElement('div');
badge.className = 'non-expire-badge';
badge.innerHTML = '♾️ NON EXPIRE';
// buy button with link (opens WhatsApp)
const buyLink = document.createElement('a');
buyLink.href = waLink;
buyLink.target = '_blank';
buyLink.className = 'buy-btn';
buyLink.innerHTML = '🛒 Buy Now →';
// optional note: instant delivery
card.appendChild(sizeDiv);
card.appendChild(priceDiv);
card.appendChild(badge);
card.appendChild(buyLink);
gridContainer.appendChild(card);
});
// optional: add a "special" highlight for 100GB and 50GB with style (extra visual)
const allCards = document.querySelectorAll('.bundle-card');
allCards.forEach(card => {
const sizeText = card.querySelector('.data-size')?.innerText;
if (sizeText && (sizeText.includes('100 GB') || sizeText.includes('50 GB'))) {
card.style.border = '2px solid #F5B042';
card.style.background = '#FFFCF5';
const badge = card.querySelector('.non-expire-badge');
if(badge) badge.style.background = '#F5B04230';
}
});
}
// also add a small stats about total offers
function addStoreInfo() {
const sectionTitle = document.querySelector('.section-title small');
if(sectionTitle) {
sectionTitle.innerHTML = `💥 ${bundles.length} bundles • Zero expiry • GHC prices`;
}
}
// initialize render when DOM ready
document.addEventListener('DOMContentLoaded', () => {
renderBundles();
addStoreInfo();
});
</script>
body {
background: linear-gradient(145deg, #f4f7fc 0%, #e9eef4 100%);
font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, 'Inter', 'Roboto', sans-serif;
padding: 2rem 1.2rem;
color: #1a2c3e;
}
/* flyer main container */
.flyer-container {
max-width: 1300px;
margin: 0 auto;
background: rgba(255,255,255,0.92);
border-radius: 2.5rem;
box-shadow: 0 25px 45px -12px rgba(0,0,0,0.25), 0 8px 18px rgba(0,0,0,0.05);
overflow: hidden;
backdrop-filter: blur(0px);
transition: all 0.2s;
}
/* header area */
.flyer-header {
background: linear-gradient(135deg, #0B2B3B 0%, #124E66 100%);
padding: 2rem 2rem 1.8rem;
text-align: center;
color: white;
border-bottom: 5px solid #F5B042;
}
.store-badge {
display: inline-block;
background: rgba(255,255,255,0.18);
backdrop-filter: blur(4px);
padding: 0.4rem 1.2rem;
border-radius: 60px;
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.5px;
margin-bottom: 1rem;
}
.flyer-header h1 {
font-size: 2.2rem;
font-weight: 800;
margin-bottom: 0.5rem;
letter-spacing: -0.3px;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
}
.flyer-header h1 span {
background: #F5B042;
color: #0B2B3B;
font-size: 1.4rem;
padding: 0.2rem 1rem;
border-radius: 50px;
}
.tagline {
font-size: 1rem;
opacity: 0.9;
margin-top: 0.4rem;
font-weight: 500;
display: flex;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
}
.contact-ribbon {
background: #F5B042;
margin-top: 1.5rem;
display: inline-flex;
align-items: center;
gap: 0.8rem;
padding: 0.7rem 1.8rem;
border-radius: 60px;
font-weight: 700;
font-size: 1.3rem;
color: #0B2B3B;
box-shadow: 0 6px 14px rgba(0,0,0,0.2);
transition: transform 0.2s;
}
.contact-ribbon a {
color: #0B2B3B;
text-decoration: none;
background: white;
padding: 0.2rem 1rem;
border-radius: 40px;
font-size: 1.2rem;
margin-left: 6px;
transition: 0.2s;
}
.contact-ribbon a:hover {
background: #1e2f3a;
color: #F5B042;
}
/* feature highlight */
.feature-highlight {
background: #fef7e0;
padding: 0.8rem 1.5rem;
text-align: center;
font-weight: 600;
color: #a16500;
border-bottom: 1px solid #ffe1a0;
font-size: 0.9rem;
display: flex;
justify-content: center;
gap: 24px;
flex-wrap: wrap;
}
.feature-highlight span {
display: inline-flex;
align-items: center;
gap: 6px;
}
/* grid section */
.bundles-section {
padding: 2rem 1.8rem 1.8rem;
}
.section-title {
font-size: 1.7rem;
font-weight: 700;
margin-bottom: 1.5rem;
display: flex;
align-items: baseline;
gap: 12px;
flex-wrap: wrap;
justify-content: space-between;
border-left: 5px solid #F5B042;
padding-left: 18px;
}
.section-title small {
font-size: 0.85rem;
font-weight: normal;
background: #eef2f5;
padding: 5px 12px;
border-radius: 30px;
color: #2c5a6e;
}
.bundles-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 1.4rem;
}
/* bundle card */
.bundle-card {
background: white;
border-radius: 1.8rem;
padding: 1.2rem 0.8rem 1rem;
text-align: center;
box-shadow: 0 12px 22px -10px rgba(0, 0, 0, 0.08);
transition: all 0.25s ease;
border: 1px solid rgba(0,0,0,0.05);
position: relative;
overflow: hidden;
}
.bundle-card:hover {
transform: translateY(-6px);
box-shadow: 0 20px 28px -12px rgba(0, 0, 0, 0.2);
border-color: #F5B04260;
}
.data-size {
font-size: 2.1rem;
font-weight: 800;
background: linear-gradient(135deg, #124E66, #1B7A8F);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
letter-spacing: -0.5px;
}
.data-size span {
font-size: 1rem;
font-weight: 500;
color: #2c5a6e;
background: none;
-webkit-background-clip: unset;
background-clip: unset;
color: #2c5a6e;
}
.price {
font-size: 1.8rem;
font-weight: 800;
color: #0f2b36;
margin: 0.5rem 0 0.3rem;
}
.price small {
font-size: 0.85rem;
font-weight: 500;
color: #4a6f7e;
}
.non-expire-badge {
background: #e0f2e9;
color: #1e6f5c;
font-size: 0.7rem;
font-weight: 700;
padding: 0.25rem 0.8rem;
border-radius: 30px;
display: inline-flex;
align-items: center;
gap: 4px;
margin: 0.6rem 0 0.8rem;
letter-spacing: 0.3px;
}
.buy-btn {
background: #25D366;
border: none;
width: 85%;
padding: 0.7rem 0;
border-radius: 40px;
font-weight: 700;
font-size: 0.85rem;
color: white;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
cursor: pointer;
transition: 0.2s;
text-decoration: none;
margin-top: 0.5rem;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.buy-btn:hover {
background: #128C7E;
transform: scale(0.97);
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
/* footer */
.flyer-footer {
background: #0e2a32;
color: #e7edf0;
text-align: center;
padding: 1.3rem;
font-size: 0.85rem;
border-top: 1px solid #266d82;
display: flex;
flex-direction: column;
gap: 8px;
}
.footer-contact {
font-size: 1.1rem;
font-weight: 700;
background: #1b4e5e;
display: inline-block;
margin: 0 auto;
padding: 0.4rem 1.5rem;
border-radius: 60px;
}
.footer-contact a {
color: #F5B042;
text-decoration: none;
font-weight: 800;
}
.small-note {
font-size: 0.7rem;
opacity: 0.7;
}
/* extra responsiveness */
@media (max-width: 600px) {
body {
padding: 1rem;
}
.flyer-header h1 {
font-size: 1.5rem;
}
.contact-ribbon {
font-size: 1rem;
padding: 0.5rem 1rem;
flex-wrap: wrap;
justify-content: center;
}
.contact-ribbon a {
font-size: 1rem;
padding: 0.1rem 0.8rem;
}
.bundles-grid {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 1rem;
}
.data-size {
font-size: 1.8rem;
}
.price {
font-size: 1.5rem;
}
.bundles-section {
padding: 1.5rem 1rem;
}
}
@media (max-width: 450px) {
.bundles-grid {
grid-template-columns: 1fr 1fr;
}
.section-title {
font-size: 1.3rem;
}
}
/* make it print / flyer friendly */
@media print {
body {
background: white;
padding: 0;
}
.buy-btn {
background: #ddd;
color: black;
}
.contact-ribbon a {
color: black;
background: #eee;
}
}
</style>
⚡ datatrade.store | Premium Non-Expire Data
🇬🇭 DATA BUNDLES No Expiry
🔥 Buy Once • Use Forever • Never Lose Data 🔥
📞 CALL / WHATSAPP :
054 583 3105
💬 CHAT
<!-- extra highlight: non-expire & ghana cedi -->
<div class="feature-highlight">
<span>✅ ALL PRICES IN GHANA CEDI (GHC)</span>
<span>♾️ NON-EXPIRE – NO SUBSCRIPTION</span>
<span>🚀 INSTANT ACTIVATION</span>
</div>
<!-- bundle grid section: all plans from images (1GB to 100GB) -->
<div class="bundles-section">
<div class="section-title">
📦 CHOOSE YOUR DATA PACK
<small>💸 Best value • Non-Expire</small>
</div>
<div class="bundles-grid" id="bundlesGrid">
<!-- dynamic javascript will fill exact plans from provided images -->
<div style="text-align: center; grid-column: span 3; padding: 2rem;">Loading amazing offers...</div>
</div>
</div>
<!-- footer with contact again and datatrade.store branding -->
<div class="flyer-footer">
<div class="footer-contact">
📍 Need help? Reach us directly: <a href="tel:+233545833105">054 583 3105</a> (Call/WhatsApp)
</div>
<div>
🌐 datatrade.store | Powered by reliable connectivity
</div>
<div class="small-note">
💰 All bundles are NON-EXPIRE • Prices in Ghana Cedis (GHC) • No hidden fees
</div>
</div>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels