~repos /website

#astro#js#html#css

git clone https://pyrossh.dev/repos/website.git

木 Personal website of pyrossh. Built with astrojs, shiki, vite.



src/pages/only-bible-app/index.astro



---
import { Image } from "astro:assets";
import Layout from "@/layouts/BaseLayout.astro";
import PlayStoreIcon from "@/assets/icons/playstore.svg";
import AppStoreIcon from "@/assets/icons/appstore.svg";
import AppIconPng from "@/assets/images/app_icon.png";
import AppImagePng from "@/assets/images/app_image.png";
---
<Layout
title="Only Bible App"
description="The only bible app you will ever need"
>
<div class="page-container">
<div class="content-column">
<div class="hero-section">
<h1 class="main-title">
<Image class="app-icon-title" src={AppIconPng} alt="Only Bible App" />
The only bible app you will ever need
</h1>
<div class="features-list">
<span>No ads,</span>
<span>No in-app purchases,</span>
<span>No distractions.</span>
<span>Works completely offline.</span>
</div>
</div>
<div class="cta-section">
<h3 class="cta-title">
What are you waiting for? Get it now! Quickly.
</h3>
<div class="store-links-container">
<a
class="playstore-link"
href="https://play.google.com/store/apps/details?id=dev.pyrossh.onlyBible"
rel="noopener noreferrer"
target="_blank"
>
<PlayStoreIcon width={196} />
</a>
<a
class="appstore-link"
href="https://apps.apple.com/us/app/only-bible-app/id6467606465?itsct=apps_box_badge&itscg=30200"
rel="noopener noreferrer"
target="_blank"
>
<AppStoreIcon width={196} />
</a>
</div>
</div>
</div>
<!-- <div class="screenshots-section">
<Image
src="https://play-lh.googleusercontent.com/RHXOXHwSlGPvid-YnzMSGuCtkuBLeV6-PDE1Z8c9f4014oGfr64MSXHgFf1uID0w5mAQ=w1052-h592-rw"
alt="app screenshot android"
width="196"
height="200"
/>
<Image
src="https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/5b/8e/7c/5b8e7c17-2f6b-59f4-9a16-b08cff4cf73c/Simulator_Screenshot_-_iPhone_16_-_2024-11-02_at_14.20.40.png/460x0w.webp"
alt="app screenshot ios"
width="196"
height="200"
/>
</div> -->
</div>
</Layout>
<style>
.page-container {
display: flex;
flex: 1;
flex-direction: column;
padding-bottom: 16rem; /* pb-64 */
}
.content-column {
display: flex;
flex-direction: column;
align-items: center;
}
.hero-section {
display: block;
margin-bottom: 1rem; /* mb-4 */
}
.main-title {
display: flex;
flex-direction: column;
align-items: center;
font-size: 1.875rem; /* text-3xl */
line-height: 2.25rem; /* text-3xl */
font-weight: 700; /* font-bold */
text-align: center;
}
.app-icon-title {
margin-right: 0.5rem; /* mr-2 */
border-radius: 0.75rem; /* rounded-xl */
}
.features-list {
text-align: center;
display: flex;
flex-direction: column;
font-size: 1.125rem; /* text-lg */
line-height: 1.75rem; /* text-lg */
}
.cta-section {
display: flex;
flex: 1;
flex-direction: column;
align-items: center;
}
.cta-title {
margin: 0;
margin-top: 1rem; /* my-4 */
margin-bottom: 1rem; /* my-4 */
font-weight: 700; /* font-bold */
font-size: 1.25rem; /* text-xl */
line-height: 1.75rem; /* text-xl */
}
.store-links-container {
display: flex;
flex-direction: column;
}
.playstore-link {
margin-top: 1rem; /* mt-4 */
}
.appstore-link {
margin-top: 2rem; /* mt-8 */
}
/* Small screen adjustments (sm:) */
@media (min-width: 640px) {
.page-container {
flex-direction: row;
}
.content-column {
align-items: flex-start;
}
.main-title {
flex-direction: row; /* default for flex, but explicit here */
align-items: flex-start;
margin: 0; /* sm:m-0 */
text-align: left; /* sm:text-left */
}
.features-list {
text-align: left; /* sm:text-left */
margin-top: 1.25rem; /* sm:mt-5 */
}
.cta-section {
align-items: flex-start;
}
.store-links-container {
flex-direction: row;
}
.playstore-link {
margin-top: 0; /* sm:mt-0 */
margin-right: 0.5rem; /* sm:mr-2 */
}
.appstore-link {
margin-top: 0; /* sm:mt-0 */
}
/* .screenshots-section {
display: flex;
flex: 1;
justify-content: flex-end;
padding-bottom: 9rem;
} */
}
/* Large screen adjustments (lg:) */
@media (min-width: 1024px) {
.main-title {
line-height: 1; /* lg:leading-tight */
}
}
</style>