From 113ce66a70d57116ee11fc5a9b2f8e33960f0883 Mon Sep 17 00:00:00 2001 From: John Bledsoe <59550+johnbcodes@users.noreply.github.com> Date: Sat, 21 Oct 2023 16:42:57 -0400 Subject: [PATCH] fix(src): UI consistency and replace corporate name with fake one --- src/layout.rs | 2 +- src/quotes/view.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout.rs b/src/layout.rs index 2a8e684..eb21d33 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -12,7 +12,7 @@ markup::define! { } body[class = "flex flex-col min-h-full bg-background text-body leading-[1.5]"] { header[class = "flex items-center px-4 py-2 mb-10 bg-white shadow-[2px_4px_10px_hsl(0,0%,0%,0.1)]"] { - div[class = "font-bold text-xl/[1.5] text-header"] { "KPMG" } + div[class = "font-bold text-xl/[1.5] text-header"] { "ABC Corp" } div[class = "font-bold ml-auto mr-3 text-header"] { "Accountant" } a[class = "button button-dark", href = "#"] { "Sign out" } } diff --git a/src/quotes/view.rs b/src/quotes/view.rs index 0e4dfcc..5e22014 100644 --- a/src/quotes/view.rs +++ b/src/quotes/view.rs @@ -12,7 +12,7 @@ markup::define! { main[id = "container", class = "w-full px-4 py-0 mx-auto my-0 max-w-[60rem]"] { div[id = "header", class = "flex flex-wrap gap-3 justify-between mt-4 mb-8"] { h1[class = "text-header text-[2rem]/[1.1] box-border m-0 p-0 font-bold"] {"Quotes"} - a[class = "button button-prime", "data-turbo-frame" = "quote_new", href = "/quotes/new"] { "New quote" } + a[class = "button button-prime", "data-turbo-frame" = "quote_new", href = "/quotes/new"] { "Add quote" } } $"turbo-frame"[id = "quote_new"] {}