Skip to content

Commit 371c9ca

Browse files
Merge branch 'main' into chore/add-shayla-about-us
2 parents 5a338b4 + 4d6c353 commit 371c9ca

9 files changed

Lines changed: 31 additions & 29 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
164164
- ButtonLink
165165
- SubmitButton
166166
- AuthorBio
167+
- BlogTag
167168
- PostContent
168169
- SearchBar
169170
- BlogPostsContainer
170171
- RevealContentContainer
171172
- Member
173+
- Container
172174
- Updated ContactUsForm's checkbox wrapper from div to label to enhance its accessibility
173175
- Updated SearchInput width to 100% for better styling
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.tagLink {
2+
display: inline-block;
3+
padding: 0.5rem 1rem;
4+
background-color: var(--color-light-bg);
5+
border-radius: 2rem;
6+
font-weight: bold;
7+
}

components/blog/Tag/index.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import S from './styles';
1+
import styles from './Tag.module.scss';
2+
import Link from 'next/link';
23

34
export const Tag = ({ text }) => {
4-
return <S.TagLink href={`/blog/category/${text}`}>{text}</S.TagLink>;
5+
return (
6+
<Link href={`/blog/category/${text}`} className={styles.tagLink}>
7+
{text}
8+
</Link>
9+
);
510
};

components/blog/Tag/styles.js

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@use '@/styles/variables' as *;
2+
3+
.container {
4+
margin: 0 auto;
5+
width: 90%;
6+
max-width: $large-desktop-breakpoint;
7+
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import S from './styles';
1+
import styles from './Container.module.scss';
22

3-
export default function Container({ className, children, styles }) {
3+
export default function Container({ className, children, style }) {
44
return (
5-
<S.Container className={className} style={styles}>
5+
<div className={`${styles.container} ${className || ''}`} style={style}>
66
{children}
7-
</S.Container>
7+
</div>
88
);
99
}

components/containers/Container/styles.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

components/containers/Member/Member.module.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@use '@/styles/mixins' as *;
2+
@use '@/styles/variables' as *;
23

34
.card {
45
margin: 1rem 1rem 0 0.5rem;
@@ -25,15 +26,15 @@
2526

2627
.name {
2728
font-style: italic;
28-
font-family: var(--font-heading);
29+
font-family: $heading-font;
2930
font-size: 1.5rem;
3031
color: var(--color-primary-content);
3132
margin-bottom: 0px;
3233
line-height: unset;
3334
}
3435

3536
%headingStyle {
36-
font-family: var(--font-heading);
37+
font-family: $heading-font;
3738
font-size: 1rem;
3839
color: var(--color-primary-content);
3940
text-align: left;

styles/themes.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
--color-dark-grey: #9ba39d;
77
--color-grey: #d9d9d9;
88
--color-white: #ffffff;
9+
--color-light-bg: #8cd5e8;
910
--color-primary-content: #292929;
1011
--color-transparent: transparent;
1112
--color-box-shadow: rgba(0, 0, 0, 0.08);
1213
--dark-bg: #023047;
1314
--error: #be1313;
14-
--font-heading: 'Open Sans';
1515
}
1616

1717
// placeholder colors

0 commit comments

Comments
 (0)