Skip to content

Commit 4ad020e

Browse files
committed
more frontend design improvements
1 parent 40408be commit 4ad020e

File tree

9 files changed

+46
-24
lines changed

9 files changed

+46
-24
lines changed

frontend/app/globals.scss

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
2-
1+
@import url("https://fonts.googleapis.com/css2?family=Sirivennela&display=swap");
2+
@import url("https://fonts.googleapis.com/css?family=Muli&display=swap");
33
$grid-breakpoints: (
44
// Extra small screen / phone
55
xs: 0,
@@ -29,21 +29,20 @@ $container-max-widths: (
2929
body {
3030
width: 100%;
3131
height: 100%;
32+
// font-family: "Muli", sans-serif;
33+
}
34+
35+
.sirivennela-regular {
36+
font-family: "Sirivennela", sans-serif;
37+
font-weight: 400;
38+
font-style: normal;
3239
}
3340

3441
* {
3542
margin: 0;
3643
padding: 0;
3744
outline: none;
3845
box-sizing: border-box;
39-
font-family: "Work Sans", sans-serif;
40-
}
41-
42-
.work-sans-font {
43-
font-family: "Work Sans", sans-serif;
44-
font-optical-sizing: auto;
45-
font-weight: 400;
46-
font-style: normal;
4746
}
4847

4948
a {

frontend/app/page.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,18 @@ export default function App() {
2424
<div
2525
className={`col-md-4 col-lg-2 col-xl-1 fixed-top ${tagStyles.sideMenu}`}
2626
>
27-
<div className={`${sideStyles.logo}`}>
28-
<div className="">
27+
<div className={``}>
28+
<div>
2929
<Image
3030
src="/basic-f-v2-dark-mode-v2-fav.png"
31-
width="38"
32-
height="30"
33-
className="d-inline-block align-top"
31+
width="65"
32+
height="48"
33+
className={sideStyles.logoPicture}
3434
alt="FindFirst Logo"
3535
/>
36-
<h4 className="d-inline-block">FindFirst</h4>
36+
<h4 className={`d-inline-block ${sideStyles.logo}`}>
37+
findFirst
38+
</h4>
3739
</div>
3840
</div>
3941
<NewBookmarkCard />

frontend/components/Bookmark/NewBookmarkCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export default function NewBookmarkCard() {
192192
});
193193

194194
return (
195-
<div className={`${style.main},`}>
195+
<div>
196196
<Formik
197197
initialValues={newcard}
198198
onSubmit={handleOnSubmit}

frontend/components/Bookmark/bookmarkCard.module.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,11 @@
157157
border: 0px;
158158

159159
padding: 0px !important;
160-
.card-body {
161-
}
162160
}
163161

164162
.newBookmarkCard {
165163
@extend .bookmarkCard;
166164
text-align: center;
167-
padding-left: 0.25em;
168-
padding-right: 0.25em;
169165
}
170166

171167
.newBookmarkCard .cardFooter {

frontend/components/Navbar/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const GlobalNavbar: React.FC = () => {
6767
expand="md"
6868
fixed="bottom"
6969
style={{
70-
borderBottom: "1px solid",
70+
borderTop: "3px solid",
7171
height: "auto",
7272
minHeight: "60px",
7373
}}

frontend/components/Tags/tag-list-item.module.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.btn {
22
&:hover {
33
background-color: #5cb85c !important;
4+
[data-bs-theme="light"] & {
5+
border-radius: 20px;
6+
}
47
}
58
margin: 0px;
69
width: 100%;
@@ -13,4 +16,7 @@
1316

1417
.item {
1518
padding: 0px !important;
19+
[data-bs-theme="light"] & {
20+
border-radius: 20px;
21+
}
1622
}

frontend/styles/cardView.module.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
.content {
2-
padding-top: 3px;
2+
padding-top: 40px;
33

44
margin-left: 250px;
55

66
@media (max-width: 760px) {
7+
padding-top: 10px;
78
margin-left: 0px;
89
padding-bottom: 85px;
910
}
Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
.logo {
2-
margin-left: 5px;
2+
margin-bottom: 20px;
3+
font-family: "Sirivennela", sans-serif;
4+
font-size: 40px;
5+
font-weight: 400;
6+
font-style: normal;
7+
margin-left: 8px;
8+
// align-content: center;
9+
// text-align: center;
10+
}
11+
12+
.logoPicture {
13+
margin-top: -5px;
314
}

frontend/styles/tag.module.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,11 @@
5555
flex: 1;
5656
min-height: 0; /* crucial - allows it to shrink and scroll */
5757
overflow-y: auto;
58+
margin-bottom: 20px;
59+
[data-bs-theme="light"] & {
60+
border-radius: 20px;
61+
border: 1px solid;
62+
}
63+
// border: 1px solid;
64+
// border-radius: 5px;
5865
}

0 commit comments

Comments
 (0)