Skip to content

Commit

Permalink
Fine tuning changes
Browse files Browse the repository at this point in the history
  • Loading branch information
brandstetterm committed Dec 8, 2023
1 parent f32bd9a commit 58d3eb8
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 48 deletions.
10 changes: 0 additions & 10 deletions src/components/Footer/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
import { Facebook } from "../../icons/Facebook";
import { Github } from "../../icons/Github";
import { Instagram } from "../../icons/Instagram";
import { Linkedin } from "../../icons/Linkedin";
Expand Down Expand Up @@ -75,15 +74,6 @@ const content = await getTranslatedContent("Footer", lang!);
<Instagram />
</a>
</li>
<li>
<a
href="https://www.facebook.com/inovexde"
target="_blank"
aria-label="Facebook"
>
<Facebook />
</a>
</li>
<li>
<a
href="https://digital-future.podigee.io/"
Expand Down
13 changes: 7 additions & 6 deletions src/components/Footer/Footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ footer {
max-width: 1920px;
margin: 0 auto;
height: 427px;
padding: 100px var(--footer-padding-x);
padding: 100px 64px;
color: var(--white);
box-sizing: border-box;
display: flex;
Expand Down Expand Up @@ -46,6 +46,7 @@ footer {
}

.footer__inovex-description {
text-wrap: balance;
margin: 0;
font-size: 20px;
line-height: 28px;
Expand Down Expand Up @@ -87,7 +88,7 @@ footer {

&:focus-visible {
outline: none;
border-color: var(--lightmode-pink);
border-color: var(--lightmode-blue);
}
}
}
Expand All @@ -113,7 +114,7 @@ footer {
align-items: center;
width: 100%;
max-width: 1920px;
padding: 0 var(--footer-padding-x);
padding: 0 64px;
box-sizing: border-box;

span {
Expand Down Expand Up @@ -143,7 +144,7 @@ footer a {
border-radius: 4px;

&:hover {
color: var(--lightmode-pink);
color: var(--darkmode-blue);
}

&:focus-visible {
Expand All @@ -157,11 +158,11 @@ footer a {
background-color: var(--darkmode-blue);

a:hover {
color: var(--darkmode-pink);
color: var(--lightmode-blue);
}

a:focus-visible {
border-color: var(--darkmode-pink);
border-color: var(--lightmode-blue);
}
}

Expand Down
5 changes: 3 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const { title } = Astro.props;
html {
font-family: "Raleway", sans-serif;
box-sizing: border-box;
scroll-padding-top: 64px;
scroll-behavior: smooth;

--white: #ffffff;
Expand Down Expand Up @@ -121,8 +122,8 @@ const { title } = Astro.props;
}

p {
font-size: 14px;
line-height: 20px;
font-size: 18px;
line-height: 24px;
}

@media screen and (min-width: 992px) {
Expand Down
3 changes: 2 additions & 1 deletion src/pages/[lang]/Legal/Legal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ h2 {
font-size: 40px;
line-height: 48px;
font-weight: 700;
margin-top: 64px;
}

h3 {
font-size: 24px;
line-height: 28px;
font-weight: 700;
margin: 48px 0 16px 0;
margin: 64px 0 16px 0;
}

p,
Expand Down
3 changes: 2 additions & 1 deletion src/pages/[lang]/Legal/Privacy.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ export const getStaticPaths = (() => {
---

<LegalLayout>
<section set:html={content.Privacy_Policy} />
<section class="legal__content" set:html={content.Privacy_Policy} />
</LegalLayout>

6 changes: 6 additions & 0 deletions src/pages/[lang]/Legal/Terms.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ export const getStaticPaths = (() => {
<LegalLayout>
<section set:html={content.Terms_Conditions} />
</LegalLayout>

<style>
section {
text-wrap: wrap;
}
</style>
6 changes: 1 addition & 5 deletions src/views/AboutUs/AboutUs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,17 @@
.about-us__scrumlr-text,
.about-us__cta {
> h2 {
font-size: 40px;
line-height: 48px;
text-wrap: balance;
margin: 0 0 24px 0;
}

> p {
font-size: 20px;
line-height: 28px;
text-wrap: balance;
margin: 0;
}

> a {
margin-top: 68px;
margin-top: 64px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/views/Choices/Choices.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const {lang} = Astro.params;
const content = await getTranslatedContent("Choices_Section", lang!);
---

<section class="choices" id="Features">
<section class="choices">
<h2>{content.header}</h2>
<p>{content.text}</p>
<VideoPlayer client:visible textContent={content} />
Expand Down
2 changes: 1 addition & 1 deletion src/views/Features/Features.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const {lang} = Astro.params;
const content = await getTranslatedContent("Features_Section", lang!);
---

<section class="features">
<section id="Features" class="features">
<h2>{content.header}</h2>
<p>{content.text}</p>
<div class="features_list">
Expand Down
2 changes: 1 addition & 1 deletion src/views/Mobile/Mobile.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const content = await getTranslatedContent("Mobile_Section", lang!);
<div class="mobile__image">
<img
class="mobile__stan"
src={`/assets/mobile/mobile_light.webp`}
src={`/assets/mobile/mobile_light--mobile.webp`}
alt={content.imageAlt}
/>
<img
Expand Down
21 changes: 7 additions & 14 deletions src/views/Mobile/Mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

min-height: 800px;
max-height: 1100px;
right: 0;
right: 70px;
z-index: 0;
}
}
Expand All @@ -64,7 +64,7 @@
opacity: 0.05;
}

@media screen and (max-width: 700px) {
@media screen and (max-width: 991px) {
h2 {
font-size: 24px;
line-height: 28px;
Expand All @@ -82,8 +82,8 @@
align-items: center;
text-align: center;
height: fit-content;
padding: 64px 0 0 0;
gap: 16px;
padding: 64px 0 64px 0;
gap: 36px;
}

.mobile__dots {
Expand All @@ -96,13 +96,12 @@

.mobile__stan {
min-height: unset;
height: 380px;
content: url("/assets/mobile/mobile_light--mobile.webp");
height: 500px;
}

.mobile__background {
min-height: unset;
height: 540px;
height: 750px;
right: 46px;
}
}
Expand All @@ -111,12 +110,6 @@
margin: 0;
width: 90%;
}

@media (prefers-color-scheme: dark) {
.mobile__image .mobile__stan {
content: url("/assets/mobile/mobile_dark--mobile.webp");
}
}
}

@media (prefers-color-scheme: dark) {
Expand All @@ -129,7 +122,7 @@
}

.mobile__stan {
content: url("/assets/mobile/mobile_dark.webp");
content: url("/assets/mobile/mobile_dark--mobile.webp");
}

.mobile__background {
Expand Down
10 changes: 5 additions & 5 deletions src/views/ReachNewHeights/ReachNewHeights.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 48px;
gap: 64px;
}

.reach-new-heights__headline {
Expand Down Expand Up @@ -91,7 +91,7 @@
.reach-new-heights__information {
display: flex;
flex-direction: column;
gap: 42px;
gap: 64px;
}

.reach-new-heights__information-item {
Expand All @@ -101,15 +101,15 @@

> h2 {
color: var(--black);
font-size: 16px;
font-size: 24px;
font-weight: 700;
line-height: 22px;
line-height: 32px;
margin-top: 12px;
margin-bottom: 8px;
}
> p {
color: var(--black);
font-size: 16px;
font-size: 18px;
font-weight: 400;
line-height: 24px;
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion src/views/Uniqueness/Uniqueness.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ $uniqueness-image-count: 4; // Number of images
@media screen and (max-width: 1140px) {
.uniqueness__wrapper {
padding: 32px;
padding-bottom: 64px;
box-sizing: border-box;
}

.uniqueness__section {
flex-direction: column;
box-sizing: border-box;
margin-bottom: 100px;
gap: 32px;

&:first-of-type {
Expand Down

0 comments on commit 58d3eb8

Please sign in to comment.