chore(web): Ship Solana dApp (solana.html/js) in Docker image and link from homepage; update deploy script to include files

This commit is contained in:
crappyrules
2025-10-05 01:47:07 -04:00
parent 16981d5d34
commit f93a752dfc
3 changed files with 9 additions and 1 deletions
+3
View File
@@ -4,6 +4,9 @@ FROM nginx:alpine
COPY index.html /usr/share/nginx/html/
COPY styles.css /usr/share/nginx/html/
COPY script.js /usr/share/nginx/html/
# Include Solana dApp files
COPY solana.html /usr/share/nginx/html/
COPY solana.js /usr/share/nginx/html/
# Create assets directory and copy source files
RUN mkdir -p /usr/share/nginx/html/assets
+3
View File
@@ -42,6 +42,9 @@ cp nginx.conf $DEPLOY_DIR/
cp index.html $DEPLOY_DIR/
cp styles.css $DEPLOY_DIR/
cp script.js $DEPLOY_DIR/
# Include Solana dApp files
if [ -f solana.html ]; then cp solana.html $DEPLOY_DIR/; fi
if [ -f solana.js ]; then cp solana.js $DEPLOY_DIR/; fi
cp -r assets $DEPLOY_DIR/
# Create deployment info
+3 -1
View File
@@ -22,6 +22,7 @@
<li><a href="#comparison">BSC vs ETH</a></li>
<li><a href="#revenue">Revenue Model</a></li>
<li><a href="#deployment">Deployment</a></li>
<li><a href="/solana.html">Solana dApp</a></li>
</ul>
</div>
</nav>
@@ -30,7 +31,8 @@
<div class="hero-container">
<h1>Decentralized Finance Opportunity</h1>
<p class="hero-subtitle">Complete analysis of PoWHD smart contract economics and deployment strategies</p>
<div class="hero-stats">
<div class="hero-stats" style="display:flex;flex-wrap:wrap;gap:16px;align-items:center;">
<a class="button-primary" href="/solana.html" style="background:#4f46e5;color:#fff;padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:600;">Open Solana dApp</a>
<div class="stat">
<h3>$35</h3>
<p>BSC Deployment Cost</p>