Skip to content

Commit

Permalink
Change links to point to soundtown.app (#10)
Browse files Browse the repository at this point in the history
* change links to all point at soundtown.app

* change some wordings

* Revert "change some wordings"

This reverts commit 355ce5e.
  • Loading branch information
mickmister authored Aug 20, 2023
1 parent 2ee497d commit ac25b4e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pygmentsUseClasses = true

learn_more_url = "#"
try_now_url = "https://soundtown.app"
log_in_url = "https://soundtown.app/login"

app_image_on_desktop = "/assets/images/app.webp"
app_image_on_mobile = "/assets/images/app-mobile.webp"
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ <h2 class="text-[30px] md:text-[40px] lg:text-[64px] leading-tight font-bold tex
</p>

<div class="mt-8 md:mt-12 flex flex-col md:flex-row items-center justify-center gap-5 lg:gap-12 w-full md:w-auto">
<a href="{{ .Site.Params.Learn_more_url }}" class="flex items-center justify-center w-full lg:w-auto px-8 py-2.5 text-sm lg:text-base rounded-md bg-secondary hover:bg-black transition">
<!-- <a href="{{ .Site.Params.Learn_more_url }}" class="flex items-center justify-center w-full lg:w-auto px-8 py-2.5 text-sm lg:text-base rounded-md bg-secondary hover:bg-black transition">
Learn More
</a>
</a> -->
<a href="{{ .Site.Params.Try_now_url }}" class="flex items-center justify-center w-full lg:w-auto gap-2 px-8 py-2.5 text-sm lg:text-base rounded-md bg-primary hover:bg-primary/90 transition whitespace-nowrap">
Try Now <img src="/assets/images/play-icon.svg" alt="play">
</a>
Expand Down
14 changes: 6 additions & 8 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,22 @@
</button>
</div>
<nav class="menu translate-y-[-150%] lg:translate-y-0">
<a href="#home" class="hover:text-primary transition">Home</a>
<!-- <a href="#home" class="hover:text-primary transition">Home</a>
<a href="#application" class="hover:text-primary transition">Application</a>
<a href="#about" class="hover:text-primary transition">About</a>
<a href="#testimonial" class="hover:text-primary transition">Testimonial</a>
<a href="#contact" class="hover:text-primary transition">Contact</a>
<a href="/somepage" class="hover:text-primary transition">Some Page</a>
<a href="#contact" class="hover:text-primary transition">Contact</a> -->

<!-- show on mobile, hide on desktop -->
<a href="#" class="block lg:hidden hover:text-primary transition">Log in</a>
<a href="#" class="block lg:hidden px-4 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">Create Account</a>
<a href="{{ .Site.Params.Log_in_url }}" class="block lg:hidden hover:text-primary transition">Log in</a>
<a href="{{ .Site.Params.Try_now_url }}" class="block lg:hidden px-4 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">Create Account</a>

</nav>

<!-- show on desktop, hide on mobile -->
<div class="hidden lg:flex items-center gap-9">
<a href="#" class="hover:text-primary transition">Log in</a>
<a href="#" class="block px-4 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">Create Account</a>
<a href="{{ .Site.Params.Log_in_url }}" class="hover:text-primary transition">Log in</a>
<a href="{{ .Site.Params.Try_now_url }}" class="block px-4 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">Create Account</a>
</div>
</div>
</header>

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac25b4e

Please sign in to comment.