113 lines
9.4 KiB
PHP
113 lines
9.4 KiB
PHP
<?php include 'header.php'; ?>
|
|
|
|
<main style="padding: 40px 20px; background: #0b0e11; min-height: calc(100vh - 64px);">
|
|
<div style="max-width: 1200px; margin: 0 auto;">
|
|
|
|
<a href="index.php" class="back-btn"><i class="fas fa-arrow-left"></i> <?php echo __('nav_home'); ?></a>
|
|
|
|
<div style="text-align: center; margin-bottom: 60px; padding: 40px 0; background: linear-gradient(180deg, rgba(0,82,255,0.05) 0%, transparent 100%); border-radius: 30px;">
|
|
<h1 style="font-size: 3.5rem; font-weight: 800; margin-bottom: 15px; color: white;"><?php echo __('mining_staking'); ?></h1>
|
|
<p style="color: var(--text-muted); font-size: 1.2rem; max-width: 700px; margin: 0 auto;"><?php echo __('mining_hero_subtitle'); ?></p>
|
|
</div>
|
|
|
|
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 60px;">
|
|
<div style="background: var(--card-bg); padding: 40px; border-radius: 24px; border: 1px solid var(--border-color); transition: 0.3s;" onmouseover="this.style.transform='translateY(-10px)'" onmouseout="this.style.transform='translateY(0)'">
|
|
<div style="width: 60px; height: 60px; background: rgba(0,82,255,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-size: 28px; margin-bottom: 25px;">
|
|
<i class="fas fa-pickaxe"></i>
|
|
</div>
|
|
<h3 style="font-size: 1.5rem; margin-bottom: 15px;"><?php echo __('liquidity_mining'); ?></h3>
|
|
<p style="color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 25px;"><?php echo __('liquidity_mining_desc'); ?></p>
|
|
<div style="display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border-color);">
|
|
<div>
|
|
<div style="color: var(--text-muted); font-size: 12px;"><?php echo __('est_apr'); ?></div>
|
|
<div style="font-size: 20px; font-weight: bold; color: var(--success-color);">Up to 45.8%</div>
|
|
</div>
|
|
<button class="btn-primary" style="padding: 10px 25px; border-radius: 12px;"><?php echo __('stake_now'); ?></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="background: var(--card-bg); padding: 40px; border-radius: 24px; border: 1px solid var(--border-color); transition: 0.3s;" onmouseover="this.style.transform='translateY(-10px)'" onmouseout="this.style.transform='translateY(0)'">
|
|
<div style="width: 60px; height: 60px; background: rgba(14,203,129,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--success-color); font-size: 28px; margin-bottom: 25px;">
|
|
<i class="fas fa-seedling"></i>
|
|
</div>
|
|
<h3 style="font-size: 1.5rem; margin-bottom: 15px;"><?php echo __('pos_staking'); ?></h3>
|
|
<p style="color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 25px;"><?php echo __('pos_staking_desc'); ?></p>
|
|
<div style="display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border-color);">
|
|
<div>
|
|
<div style="color: var(--text-muted); font-size: 12px;"><?php echo __('est_apr'); ?></div>
|
|
<div style="font-size: 20px; font-weight: bold; color: var(--success-color);">Up to 12.5%</div>
|
|
</div>
|
|
<button class="btn-primary" style="padding: 10px 25px; border-radius: 12px;"><?php echo __('stake_now'); ?></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="background: var(--card-bg); padding: 40px; border-radius: 24px; border: 1px solid var(--border-color); transition: 0.3s;" onmouseover="this.style.transform='translateY(-10px)'" onmouseout="this.style.transform='translateY(0)'">
|
|
<div style="width: 60px; height: 60px; background: rgba(240,185,11,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--gold-color); font-size: 28px; margin-bottom: 25px;">
|
|
<i class="fas fa-gem"></i>
|
|
</div>
|
|
<h3 style="font-size: 1.5rem; margin-bottom: 15px;"><?php echo __('launchpad'); ?></h3>
|
|
<p style="color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 25px;"><?php echo __('launchpad_desc'); ?></p>
|
|
<div style="display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--border-color);">
|
|
<div>
|
|
<div style="color: var(--text-muted); font-size: 12px;"><?php echo __('next_project'); ?></div>
|
|
<div style="font-size: 20px; font-weight: bold; color: var(--gold-color);"><?php echo __('coming_soon'); ?></div>
|
|
</div>
|
|
<button class="btn-primary" style="padding: 10px 25px; border-radius: 12px;"><?php echo __('view_details'); ?></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="background: var(--card-bg); border-radius: 30px; border: 1px solid var(--border-color); overflow: hidden;">
|
|
<div style="padding: 30px 40px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center;">
|
|
<h3 style="margin: 0;"><?php echo __('yield_rankings'); ?></h3>
|
|
<div style="display: flex; gap: 10px;">
|
|
<button style="padding: 8px 16px; background: #2b3139; border: none; color: white; border-radius: 8px; font-size: 13px;"><?php echo __('all'); ?></button>
|
|
<button style="padding: 8px 16px; background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); border-radius: 8px; font-size: 13px;">DeFi</button>
|
|
<button style="padding: 8px 16px; background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); border-radius: 8px; font-size: 13px;"><?php echo __('staking'); ?></button>
|
|
</div>
|
|
</div>
|
|
<div style="overflow-x: auto;">
|
|
<table style="width: 100%; border-collapse: collapse; min-width: 800px;">
|
|
<thead style="background: #161a1e;">
|
|
<tr>
|
|
<th style="padding: 20px 40px; text-align: left; color: var(--text-muted); font-weight: 500;"><?php echo __('asset'); ?></th>
|
|
<th style="padding: 20px 40px; text-align: left; color: var(--text-muted); font-weight: 500;"><?php echo __('est_apr'); ?></th>
|
|
<th style="padding: 20px 40px; text-align: left; color: var(--text-muted); font-weight: 500;"><?php echo __('duration'); ?></th>
|
|
<th style="padding: 20px 40px; text-align: right; color: var(--text-muted); font-weight: 500;"><?php echo __('action'); ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
$mining_coins = [
|
|
['symbol' => 'USDT', 'apr' => '12.5%', 'duration' => __('flexible')],
|
|
['symbol' => 'BTC', 'apr' => '4.2%', 'duration' => '30 ' . __('days')],
|
|
['symbol' => 'ETH', 'apr' => '5.8%', 'duration' => __('flexible')],
|
|
['symbol' => 'SOL', 'apr' => '8.9%', 'duration' => '60 ' . __('days')],
|
|
['symbol' => 'DOT', 'apr' => '14.2%', 'duration' => '30 ' . __('days')],
|
|
];
|
|
foreach ($mining_coins as $coin):
|
|
?>
|
|
<tr style="border-bottom: 1px solid var(--border-color); transition: 0.2s;" onmouseover="this.style.background='#161a1e'" onmouseout="this.style.background='transparent'">
|
|
<td style="padding: 25px 40px;">
|
|
<div style="display: flex; align-items: center; gap: 15px;">
|
|
<img src="https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/<?php echo strtolower($coin['symbol']); ?>.png" width="35" height="35" onerror="this.src='https://cdn-icons-png.flaticon.com/512/2585/2585274.png'">
|
|
<span style="font-weight: bold; font-size: 1.1rem;"><?php echo $coin['symbol']; ?></span>
|
|
</div>
|
|
</td>
|
|
<td style="padding: 25px 40px;">
|
|
<span style="color: var(--success-color); font-weight: bold; font-size: 1.1rem;"><?php echo $coin['apr']; ?></span>
|
|
</td>
|
|
<td style="padding: 25px 40px; color: var(--text-muted);"><?php echo $coin['duration']; ?></td>
|
|
<td style="padding: 25px 40px; text-align: right;">
|
|
<button class="btn-primary" style="padding: 8px 20px; border-radius: 10px;"><?php echo __('subscribe'); ?></button>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<?php include 'footer.php'; ?>
|