From 26041dfe9f94181098405ec0278bc2e4e490074a Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 28 Jan 2026 09:34:21 -0600 Subject: [PATCH] add experimental label to alerts --- lib/towerops_web/components/layouts.ex | 7 +++++-- .../controllers/page_html/home.html.heex | 12 ++++++------ .../controllers/user_registration_html/new.html.heex | 12 ++++++++++++ 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/lib/towerops_web/components/layouts.ex b/lib/towerops_web/components/layouts.ex index 64317910..f677d671 100644 --- a/lib/towerops_web/components/layouts.ex +++ b/lib/towerops_web/components/layouts.ex @@ -195,15 +195,18 @@ defmodule ToweropsWeb.Layouts do active={@active_page == "network-map"} > - Network Map <.icon name="hero-beaker" class="h-3.5 w-3.5 text-blue-500 dark:text-blue-400" /> + Network Map <.nav_link navigate={~p"/alerts"} active={@active_page == "alerts"} > - Alerts + + <.icon name="hero-beaker" class="h-3.5 w-3.5 text-blue-500 dark:text-blue-400" /> + Alerts + <.nav_link navigate={~p"/agents"} diff --git a/lib/towerops_web/controllers/page_html/home.html.heex b/lib/towerops_web/controllers/page_html/home.html.heex index a411a4e7..1aa454bd 100644 --- a/lib/towerops_web/controllers/page_html/home.html.heex +++ b/lib/towerops_web/controllers/page_html/home.html.heex @@ -20,16 +20,16 @@ Monitor network devices via SNMP, track performance metrics in real-time, and respond to alerts instantly. Built specifically for telecom tower infrastructure.

+

+ Monitor 10 devices for free. No credit card required. +

<.link navigate={~p"/users/register"} class="group inline-flex items-center justify-center rounded-full py-2 px-4 text-sm font-semibold focus-visible:outline-2 focus-visible:outline-offset-2 bg-blue-600 text-white hover:text-slate-100 hover:bg-blue-500 active:bg-blue-800 active:text-blue-100 focus-visible:outline-blue-600" > - Sign up now + Get started free -

- No credit card required -

@@ -202,13 +202,13 @@ Start monitoring today

- Get started in minutes. No credit card required. + Monitor up to 10 devices for free. No credit card required.

<.link navigate={~p"/users/register"} class="group inline-flex items-center justify-center rounded-full py-2 px-4 text-sm font-semibold focus-visible:outline-2 focus-visible:outline-offset-2 mt-10 bg-white text-slate-900 hover:bg-blue-50 active:bg-blue-200 active:text-slate-600 focus-visible:outline-white" > - Sign up now + Get started free diff --git a/lib/towerops_web/controllers/user_registration_html/new.html.heex b/lib/towerops_web/controllers/user_registration_html/new.html.heex index 9b180c35..1fed3d15 100644 --- a/lib/towerops_web/controllers/user_registration_html/new.html.heex +++ b/lib/towerops_web/controllers/user_registration_html/new.html.heex @@ -14,6 +14,18 @@ to your account now. + +
+

+ Free tier includes: +

+ +