Skip to content

Commit

Permalink
improvement: replace search bar w/ CTA for alembic
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 4, 2023
1 parent 817781e commit d69c530
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ash_hq_web/components/app_view/top_bar.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
10 changes: 9 additions & 1 deletion lib/ash_hq_web/pages/home.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit d69c530

Please sign in to comment.