enhancement(web): autobrr logo link to dashboard (#638)

* feat(web): Made autobrr logo link to frontpage

Clicking the logo now directs you to the frontpage.

* fixs(dashboard) Changed Stats header tag to h1

Header on Dashboard was a h3 tag while the ones on Filters etc. is h1.

Made it match the rest of the UI with this change.
This commit is contained in:
soup 2023-01-10 19:25:20 +01:00 committed by GitHub
parent 626fa6f156
commit 834be0a309
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 12 deletions

View file

@ -40,6 +40,7 @@ export default function Base() {
<div className="flex items-center justify-between h-16 px-4 sm:px-0">
<div className="flex items-center">
<div className="flex-shrink-0 flex items-center">
<Link to="/">
<img
className="block lg:hidden h-10 w-auto"
src={logo}
@ -50,6 +51,7 @@ export default function Base() {
src={logo}
alt="Logo"
/>
</Link>
</div>
<div className="sm:ml-3 hidden sm:block">
<div className="flex items-baseline space-x-4">

View file

@ -33,9 +33,9 @@ export const Stats = () => {
return (
<div>
<h3 className="text-2xl font-medium leading-6 text-gray-900 dark:text-gray-200">
<h1 className="text-3xl font-bold text-black dark:text-white">
Stats
</h3>
</h1>
<dl className="grid grid-cols-1 gap-5 mt-5 sm:grid-cols-2 lg:grid-cols-3">
<StatsItem name="Filtered Releases" value={data?.filtered_count} />