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
13 changes: 9 additions & 4 deletions src/components/Cards/Cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,16 @@ const Cards = ({ tech }) => {
return (
<>
<div className=" Cards container-fluid ">
<div className="Cards__icon ">
<GatsbyImage image={theme === "dark" && iconDark ? iconDark : icon} alt={tech.title} />
</div>
<div className="Cards__body col-12">
<div className="Cards__title col-lg-8">{tech.title}</div>
<div className="Cards__title col-lg-10">
<div className="Cards__title-logo">
<GatsbyImage
image={theme === "dark" && iconDark ? iconDark : icon}
alt={tech.title}
/>
</div>
<h3>{tech.title}</h3>
</div>

<div className="Cards__container">
<div className="row">
Expand Down
24 changes: 18 additions & 6 deletions src/components/Cards/Cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,23 @@
padding-bottom: 30px;
margin-bottom: 30px;
}
&__icon {
margin: 0 auto;
max-width: 115px;
transform: translateY(60%);
}
&__title {
color: $primary;
font-weight: $max-bold;
font-size: $medium;
line-height: $large;
text-align: center;
padding: 90px 5px 29px;
display: flex;
flex-direction: column;
align-items: center;
gap: 50px;
&-logo {
margin: 0 20px;
}
img {
margin: 0 0;
}
}
&__container {
padding-left: 0;
Expand Down Expand Up @@ -93,7 +98,14 @@
&__title {
font-size: $large;
text-align: start;
margin-left: 200px;
flex-direction: row;
align-items: flex-end;
&-logo {
margin: 0 50px;
}
img {
margin: 0;
}
}

&__description {
Expand Down
11 changes: 6 additions & 5 deletions src/components/ServicesPage/ServicesSection.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@import "../../styles/global.scss";


.servicesSection {
background-color: $primary-container;
padding-top: 70px;
Expand All @@ -11,11 +10,10 @@
p {
color: $primary;
font-size: $small;
}
}
}
&__icon {
margin: 0 auto;
margin-top: 30px;
margin: 30px auto;
width: 100px;
}
&__title {
Expand All @@ -38,10 +36,13 @@
p {
font-size: $medium;
}

}
&__title {
font-size: $large;
}
&__icon {
margin: 30px auto 0;
width: 100px;
}
}
}