improvement: replace search bar w/ CTA for alembic

This commit is contained in:
Zach Daniel 2023-10-03 21:11:10 -04:00
parent 817781ec53
commit d69c530d91
2 changed files with 10 additions and 2 deletions

View file

@ -30,7 +30,7 @@ defmodule AshHqWeb.Components.AppView.TopBar do
<img class="h-10 lg:hidden" src="/images/ash-logo.png">
</a>
</div>
{#if @live_action == :docs_dsl}
{#if @live_action in [:docs_dsl, :home]}
<SearchBar class="hidden xl:block" />
{/if}
<div class="flex flex-row align-middle items-center space-x-2">

View file

@ -38,7 +38,14 @@ defmodule AshHqWeb.Pages.Home do
>
Get Started
</a>
<SearchBar class="w-80 md:w-96" device_brand={@device_brand} />
<div class="flex flex-col space-y-4 md:space-x-4 md:space-y-0 md:flex-row items-center rounded-lg mt-8 mb-6 md:mb-10 border border-primary-light-500 hover:bg-primary-light-500 dark:hover:bg-primary-dark-500 dark:border-primary-dark-500">
<a
href="https://alembic.com.au/contact"
class="flex justify-center items-center w-full md:w-auto h-12 px-4 rounded-lg font-semibold dark:text-white"
>
Talk to an expert
</a>
</div>
</div>
<div class="mb-4 md:mb-8 hidden sm:block">
@ -84,6 +91,7 @@ defmodule AshHqWeb.Pages.Home do
</div>
</div>
<div class="grid justify-center grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 dark:bg-none dark:bg-opacity-0 py-6 text-center mx-8 gap-16 max-w-lg md:max-w-lg xl:max-w-4xl mt-2 pt-16">
<Feature name="Resources">
<:description>