From 821af5b24f0331e9c12956f6d1c22dc1795252d0 Mon Sep 17 00:00:00 2001 From: Kevin Sivic Date: Mon, 1 Dec 2025 00:15:09 -0500 Subject: [PATCH] Update site branding and navigation for LocalSpot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace Phoenix default navigation with LocalSpot nav - Add links to Businesses, Categories, Map, and Add Business - Update home page with hero, feature cards, and CTA - Update page title suffix to LocalSpot - Change pre-commit hook to auto-format instead of check 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- lib/localspot_web/components/layouts.ex | 37 ++- .../components/layouts/root.html.heex | 2 +- .../controllers/page_html/home.html.heex | 258 +++++------------- scripts/pre-commit | 13 +- test/localspot/businesses/.logic_test.exs.swp | Bin 16384 -> 0 bytes .../controllers/page_controller_test.exs | 2 +- 6 files changed, 95 insertions(+), 217 deletions(-) delete mode 100644 test/localspot/businesses/.logic_test.exs.swp diff --git a/lib/localspot_web/components/layouts.ex b/lib/localspot_web/components/layouts.ex index 1fa0167..9017217 100644 --- a/lib/localspot_web/components/layouts.ex +++ b/lib/localspot_web/components/layouts.ex @@ -35,39 +35,54 @@ defmodule LocalspotWeb.Layouts do def app(assigns) do ~H""" -