Skip to content

Commit

Permalink
fix(src): UI consistency and replace corporate name with fake one
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbcodes committed Oct 21, 2023
1 parent b7e229f commit 113ce66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}
Expand Down
2 changes: 1 addition & 1 deletion src/quotes/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"] {}
Expand Down

0 comments on commit 113ce66

Please sign in to comment.