Skip to content

Commit

Permalink
refine ui and fix log error for resetIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
rurumeister committed Dec 16, 2024
1 parent fbaeba2 commit 38bac88
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 30 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Home() {
<>
{/* Desktop Layout */}
<div className={classes.mainLayout}>
<div className="flex md:hidden">
<div className="flex pt-28 md:hidden">
<UserQuery />
</div>
<div className="hidden md:flex">
Expand Down
49 changes: 31 additions & 18 deletions frontend/src/assets/icons/reset-icon.jsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,32 @@
export const ResetIcon = () => {
return (
<svg
width="1.5em"
height="1.5em"
viewBox="0 0 21 21"
xmlns="http://www.w3.org/2000/svg"
fill="none">
<g id="SVGRepo_bgCarrier" stroke-width="7"></g>
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
<g id="SVGRepo_iconCarrier"> <g fill="none" fill-rule="evenodd" stroke="#006FEE" stroke-linecap="round" stroke-linejoin="round" transform="matrix(0 1 1 0 2.5 2.5)">

<path d="m3.98652376 1.07807068c-2.38377179 1.38514556-3.98652376 3.96636605-3.98652376 6.92192932 0 4.418278 3.581722 8 8 8s8-3.581722 8-8-3.581722-8-8-8"></path>
<path d="m4 1v4h-4" transform="matrix(1 0 0 -1 0 6)"></path>
</g>
</g>
</svg>
)
}
return (
<svg
width="1.5em"
height="1.5em"
viewBox="0 0 21 21"
xmlns="http://www.w3.org/2000/svg"
fill="none"
>
<g id="SVGRepo_bgCarrier" strokeWidth="7"></g>
<g
id="SVGRepo_tracerCarrier"
strokeLinecap="round"
strokeLinejoin="round"
></g>
<g id="SVGRepo_iconCarrier">
{" "}
<g
fill="none"
fillRule="evenodd"
stroke="#006FEE"
strokeLinecap="round"
strokeLinejoin="round"
transform="matrix(0 1 1 0 2.5 2.5)"
>
<path d="m3.98652376 1.07807068c-2.38377179 1.38514556-3.98652376 3.96636605-3.98652376 6.92192932 0 4.418278 3.581722 8 8 8s8-3.581722 8-8-3.581722-8-8-8"></path>
<path d="m4 1v4h-4" transform="matrix(1 0 0 -1 0 6)"></path>
</g>
</g>
</svg>
);
};
17 changes: 6 additions & 11 deletions frontend/src/components/main-layout/main-layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,10 @@
}

.homePage {
max-width: 1500px;
height: 90vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.welcomeMsg {
width: 35rem;
padding-bottom: 3rem;
max-width: 1500px;
height: 90vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

0 comments on commit 38bac88

Please sign in to comment.