Skip to content

Commit

Permalink
improve website
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrossh committed May 3, 2024
1 parent 14d8f4a commit 10216bb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
10 changes: 10 additions & 0 deletions website/src/lib/components/intro.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<h1
class="sm:m-0 text-3xl font-bold text-center sm:text-left sm:text-4xl lg:leading-tight text-white"
>
The only bible app you will ever need
</h1>
<div class="text-center sm:text-left flex flex-col text-lg text-neutral-100 sm:mt-5">
<span>No ads,</span>
<span>No in-app purchases,</span>
<span>No distractions.</span>
</div>
20 changes: 8 additions & 12 deletions website/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import AppStoreIcon from '$lib/icons/appstore.svg?component';
import lightPng from '$lib/images/light.png?enhanced';
import logoPng from '../../../assets/icon.png';
import Intro from '$lib/components/intro.svelte';
</script>

<svelte:head>
Expand Down Expand Up @@ -95,19 +96,11 @@
<!-- ========== END HEADER ========== -->

<!-- ========== HERO ========== -->
<div class="flex flex-1 flex-col sm:flex-row items-center mt-20 sm:mt-0">
<div class="flex flex-1 flex-col-reverse sm:flex-row items-center mt-10 sm:mt-0">
<div class="flex flex-col items-center sm:items-start">
<h1
class="m-0 text-3xl font-bold text-center sm:text-left sm:text-4xl lg:leading-tight text-white"
>
The only bible app you will ever need
</h1>
<div class="flex flex-row gap-2 sm:flex-col mb-10 text-lg text-neutral-100 mt-5">
<span>No ads,</span>
<span>No in-app purchases,</span>
<span>No distractions.</span>
<div class="hidden sm:block sm:mb-10">
<Intro />
</div>

<!-- Buttons -->
<div class="flex flex-col sm:flex-row">
<a
Expand All @@ -133,7 +126,7 @@
<!-- Slider -->
<!-- End Slider -->
<div
class="not-prose flex items-center mt-20 sm:flex-row [&>picture]:flex [&>picture]:justify-center sm:[&>picture]:justify-end"
class="not-prose flex items-center mt-10 sm:mt-20 sm:flex-row [&>picture]:flex [&>picture]:justify-center sm:[&>picture]:justify-end"
>
<enhanced:img
class="w-9/12"
Expand All @@ -158,6 +151,9 @@
</div>
</div>
</div>
<div class="sm:hidden">
<Intro />
</div>
<!-- End Col -->
</div>
<!-- ========== END HERO ========== -->
Expand Down

0 comments on commit 10216bb

Please sign in to comment.