Serve hero banners + og:image from the app itself instead of Gitea raw URLs (no external dependency for previews)
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY nginx-default.conf /etc/nginx/conf.d/default.conf
|
COPY nginx-default.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY index.html /usr/share/nginx/html/index.html
|
COPY index.html /usr/share/nginx/html/index.html
|
||||||
|
COPY hero-banner.jpg hero-banner-mobile.jpg /usr/share/nginx/html/
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
+4
-4
@@ -12,7 +12,7 @@
|
|||||||
<meta property="og:url" content="https://cbp-calculator.saasy.top/">
|
<meta property="og:url" content="https://cbp-calculator.saasy.top/">
|
||||||
<meta property="og:title" content="Crypto Team Build Network — ClickBaitPays Profit Calculator">
|
<meta property="og:title" content="Crypto Team Build Network — ClickBaitPays Profit Calculator">
|
||||||
<meta property="og:description" content="Click ads. Earn crypto. Build together. Model your CBP ladder strategy with our profit calculator and join the team.">
|
<meta property="og:description" content="Click ads. Earn crypto. Build together. Model your CBP ladder strategy with our profit calculator and join the team.">
|
||||||
<meta property="og:image" content="https://git.saasy.top/marty/cbp-calculator/raw/branch/main/hero-banner.jpg">
|
<meta property="og:image" content="https://cbp-calculator.saasy.top/hero-banner.jpg">
|
||||||
<meta property="og:image:width" content="1200">
|
<meta property="og:image:width" content="1200">
|
||||||
<meta property="og:image:height" content="630">
|
<meta property="og:image:height" content="630">
|
||||||
<meta property="og:image:alt" content="Crypto Team Build Network — Join Our CBP Team">
|
<meta property="og:image:alt" content="Crypto Team Build Network — Join Our CBP Team">
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:title" content="Crypto Team Build Network — ClickBaitPays Profit Calculator">
|
<meta name="twitter:title" content="Crypto Team Build Network — ClickBaitPays Profit Calculator">
|
||||||
<meta name="twitter:description" content="Click ads. Earn crypto. Build together. Model your CBP ladder strategy with our profit calculator.">
|
<meta name="twitter:description" content="Click ads. Earn crypto. Build together. Model your CBP ladder strategy with our profit calculator.">
|
||||||
<meta name="twitter:image" content="https://git.saasy.top/marty/cbp-calculator/raw/branch/main/hero-banner.jpg">
|
<meta name="twitter:image" content="https://cbp-calculator.saasy.top/hero-banner.jpg">
|
||||||
|
|
||||||
<!-- Canonical -->
|
<!-- Canonical -->
|
||||||
<link rel="canonical" href="https://cbp-calculator.saasy.top/">
|
<link rel="canonical" href="https://cbp-calculator.saasy.top/">
|
||||||
@@ -1072,8 +1072,8 @@
|
|||||||
<div class="hero-banner-img">
|
<div class="hero-banner-img">
|
||||||
<a id="bannerRefLink" href="https://clickbaitpays.me/?ref=cryptoteambuild" target="_blank" rel="noopener">
|
<a id="bannerRefLink" href="https://clickbaitpays.me/?ref=cryptoteambuild" target="_blank" rel="noopener">
|
||||||
<picture>
|
<picture>
|
||||||
<source srcset="https://git.saasy.top/marty/cbp-calculator/raw/branch/main/hero-banner-mobile.jpg" media="(max-width: 767px)">
|
<source srcset="/hero-banner-mobile.jpg" media="(max-width: 767px)">
|
||||||
<img src="https://git.saasy.top/marty/cbp-calculator/raw/branch/main/hero-banner.jpg" alt="Join the Crypto Team Build Network — Build the ClickBaitPays team project with us" />
|
<img src="/hero-banner.jpg" alt="Join the Crypto Team Build Network — Build the ClickBaitPays team project with us" />
|
||||||
</picture>
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user