Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/FeaturedBlogs/FeaturedBlogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import BlogArticle from "../BlogPage/BlogArticle/BlogArticle"

const FeaturedBlogs = ({ data }) => {
return (
<div className="contaner featured" id={data.strapi_component + "-" + data.id}>
<div className="container featured" id={data.strapi_component + "-" + data.id}>
<h2>{data.title}</h2>
<h6 className="px-5">{data.subtitle}</h6>

Expand Down
34 changes: 33 additions & 1 deletion src/components/FeaturedBlogs/featuredBlogs.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
@import "../../styles/global.scss";

.featured {
color: $primary;
color: $primary;
h2 {
margin-top: 2em;
flex-grow: 1;
text-align: center;
font-weight: 700;
text-transform: uppercase;
}
h6 {
text-align: center;
Expand All @@ -14,12 +16,42 @@
}

&-blogs {
img {
object-fit: cover;
}

display: flex;
flex-direction: row;
justify-content: center;
& > * {
flex-basis: 33%;
}

.article {
&__container {
margin: 0.5em;
background-color: #efefef;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
border-radius: 8px;
padding: 1em;
h6 {
text-align: left;
font-weight: 700;
font-size: 18px !important;

}
}
&__link{
button{
background: none;
color: $secondary;
text-decoration: underline;
padding: 0;
margin: 0 0 1em 0;
}
}
}

@media screen and (max-width: $breakpoint-lg) {
flex-direction: column;
}
Expand Down
8 changes: 4 additions & 4 deletions src/components/expandGrid/expandGrid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
flex: 0 1 calc(calc(100% / 3) - 10px);
}

@media screen and (max-width: 890px) {
@media screen and (max-width: $breakpoint-md) {
flex: 0 1 100%;
}

Expand All @@ -68,7 +68,7 @@
flex-direction: row;
height: 100%;
position: relative;
@media screen and (max-width: $breakpoint-xl) {
@media screen and (max-width: $breakpoint-md) {
flex-direction: column;
align-items: unset;
}
Expand All @@ -93,7 +93,7 @@
margin-right: 0;
min-width: 33%;
max-width: 33%;
@media screen and (max-width: $breakpoint-xl) {
@media screen and (max-width: $breakpoint-md) {
min-width: 100%;
max-width: 100%;
height: 400px;
Expand Down Expand Up @@ -135,7 +135,7 @@
transition: opacity 200ms ease;
opacity: 1;
color: black;
width: 300px;
width: 90%;
p {
padding: 0;
margin: 0;
Expand Down
1 change: 0 additions & 1 deletion src/context/themeContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const themes = {
"--primary-container": "#faf8f8",
"--title-jobs": "#5682c6",
"--jobs-hover": "#f0f0f0",

"--secondary": "#3f6be8",
"--secondary-container": "#25cad3",
"--border-bottom": "#cdcdcd",
Expand Down