Skip to content

Commit aae229a

Browse files
committed
feat(Contact): add contact section
1 parent 20173ba commit aae229a

File tree

16 files changed

+76
-23
lines changed

16 files changed

+76
-23
lines changed

src/components/Audio/ButtonAudio/ButtonAudio.module.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Buttons/Button/Button.module.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
font-size: $font-size-btn;
1111
font-family: inherit;
1212
font-weight: 600;
13-
background-color: $color-bg;
13+
background-color: $color-container-black-trans;
1414
padding: 0.7em 1.4em;
15-
border: $border-width-medium solid $color-text-transparent-light;
15+
border: $border-width-medium solid $color-container-light;
1616
border-radius: $border-radius-medium;
17-
box-shadow: $fx-dropShadow;
17+
box-shadow: $fx-dropShadow-medium;
1818
transition-duration: $duration-short;
1919
cursor: pointer;
2020

src/components/Buttons/ButtonGlow/ButtonGlow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import styles from './ButtonGlow.module.scss';
21
import stylesBtn from '../Button/Button.module.scss';
2+
import styles from './ButtonGlow.module.scss';
33
import CustomLink from '../../Link';
44
import { useEffect } from 'react';
55

src/components/Buttons/ButtonGlow/ButtonGlow.module.scss

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.button {
44
position: relative;
55
background: transparent;
6+
border: $border-width-medium solid $color-text;
67
font-size: $font-size-p;
78
outline: none;
89
z-index: 0;

src/components/ContainerElements/OSXWindow/OSXWindow.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
min-width: 50vw;
99
background: $color-bg-transparent-light;
1010
border-radius: $border-radius-medium;
11-
backdrop-filter: $blur;
11+
@include blur;
1212

1313
.header {
1414
position: relative;

src/components/Sections/Footer/Footer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const Footer = ({ minimal = false }) => {
1616
const hasMenu = hasRecentPosts || hasRecentCategories;
1717

1818
return (
19-
<footer className={styles.footer}>
19+
<footer className={`${minimal ? styles.minimal : ''} ${styles.footer}`}>
2020
{hasMenu && !minimal && (
2121
<div>
2222
<Section className={styles.footerMenu}>

src/components/Sections/Footer/Footer.module.scss

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
position: relative;
55
width: 100%;
66
align-self: end;
7-
backdrop-filter: blur(0.3em);
8-
-webkit-backdrop-filter: blur(0.3em);
7+
@include blur-light;
8+
9+
&:not(.minimal) {
10+
border-top: $containerBorder;
11+
}
912

1013
&:before {
1114
content: '';

src/components/Sections/Header/Header.module.scss

+2-4
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@
6565
&.scrolled {
6666
.headerWrapper {
6767
background: $color-bg-transparent;
68-
backdrop-filter: blur(0.7em);
69-
-webkit-backdrop-filter: blur(0.7em);
68+
@include blur-light;
7069
border-bottom: $containerBorder;
7170

7271
&:before {
@@ -91,8 +90,7 @@
9190
border: $containerBorder;
9291
border-radius: $border-radius-big;
9392
box-shadow: $fx-dropShadow-medium;
94-
backdrop-filter: blur(0.7em);
95-
-webkit-backdrop-filter: blur(0.7em);
93+
@include blur;
9694
transition: opacity $duration-short ease-in-out;
9795

9896
&:before {

src/components/Sections/Heros/Hero/Hero.module.scss

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
}
4646
}
4747
.image {
48-
//display: none;
4948
position: absolute;
5049
bottom: 0;
5150
width: calc(240px + 8vw);

src/components/Slider/CardSlider/CardSlider.module.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/pages/home.js

+15-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ import CustomLink from '../components/Link';
1515
import { getAllCustomers } from '../lib/customers';
1616
import Content from '../components/ContainerElements/Content';
1717
import Button from '../components/Buttons/Button';
18-
import { IoArchiveOutline } from 'react-icons/io5';
18+
import { IoArchiveOutline, IoMailUnreadOutline } from 'react-icons/io5';
1919
import CardSlider from '../components/Slider/CardSlider';
20+
import GradientText from '../components/Text/GradientText';
2021

2122
export default function Home({ customers }) {
2223
const { metadata = {} } = useSite();
@@ -154,6 +155,19 @@ export default function Home({ customers }) {
154155
</Button>
155156
</Content>
156157
</Section>
158+
<Section className={styles.contactSection}>
159+
<Content className={styles.contactContent}>
160+
<div className={styles.contact}>
161+
<h3>
162+
Ready to take your digital presence to the <GradientText string={'next'} /> level?
163+
</h3>
164+
<p>Reach out to me and let&apos;s discuss how I can help you.</p>
165+
<Button href={'mailto:benedict@lang-familie.de'} className={styles.showWork}>
166+
Contact Now <IoMailUnreadOutline />
167+
</Button>
168+
</div>
169+
</Content>
170+
</Section>
157171
</Layout>
158172
);
159173
}

src/styles/pages/Home.module.scss

+24
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@
9999
.portfolioSection {
100100
display: flex;
101101
flex-direction: column;
102+
@include blur-light;
103+
border-top: $containerBorder;
104+
border-bottom: $containerBorder;
102105

103106
.portfolioContent {
104107
position: relative;
@@ -121,6 +124,27 @@
121124
}
122125
}
123126

127+
.contactSection {
128+
.contactContent {
129+
.contact {
130+
display: flex;
131+
flex-direction: column;
132+
align-items: center;
133+
text-align: center;
134+
margin: $space-small;
135+
padding: $space;
136+
background: $color-container;
137+
border: $containerBorder;
138+
border-radius: $border-radius-huge;
139+
@include blur-light;
140+
141+
h3 {
142+
font-size: $font-size-huge;
143+
}
144+
}
145+
}
146+
}
147+
124148
@include from-tablet {
125149
.portfolioSection {
126150
.portfolioContent {

src/styles/settings/_colors.scss

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ $color-blue-1000: #060713;
2525

2626
$color-green-300: rgb(10, 230, 236);
2727
$color-green-300-trans: rgba(10, 230, 236, 0.68);
28-
$color-green-300-trans-strong: rgba(0, 255, 224, 0.03);
29-
//$color-green-300-trans-strong: #3eb0d30f;
28+
$color-green-300-trans-strong: rgba(0, 255, 224, 0.06);
3029

3130
$color-purple-300: #a663ca;
3231
$color-orange-300: #c67941;
3332
$color-orange-300-trans: rgba(174, 95, 39, 0.69);
3433

3534
$color-white-trans-light: rgba(243, 248, 255, 0.3);
3635
$color-white-trans: rgba(243, 248, 255, 0.1);
36+
$color-gray-trans-light: rgba(94, 94, 113, 0.3);
3737
$color-gray-trans: rgba(94, 94, 113, 0.15);
3838

3939
$color-black-trans-full: rgba(3, 6, 11, 0);
@@ -53,6 +53,8 @@ $color-bg-transparent-light: $color-black-trans-light;
5353
$color-bg-transparent: $color-black-trans-full;
5454

5555
$color-container: $color-gray-trans;
56+
$color-container-light: $color-gray-trans-light;
57+
$color-container-black-trans: rgba(0, 0, 0, 0.5);
5658

5759
$color-text: $color-blue-50;
5860
$color-text-transparent-light: $color-white-trans-light;

src/styles/settings/_display.scss

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
$border-radius-small: 0.2em;
33
$border-radius-medium: 0.7em;
44
$border-radius-big: 1.5em;
5+
$border-radius-huge: 4em;
56

67
$border-width-small: 0.05em;
78
$border-width-medium: 0.15em;

src/styles/settings/_effects.scss

+15-5
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,32 @@ $fx-dropShadow:
44
0em 0.4em 1.4em 0.7em rgba(0, 0, 0, 0.7),
55
0em 0.4em 1.4em 0.7em rgba(0, 0, 0, 0.5);
66
$fx-dropShadow-medium:
7-
0em 0.4em 1em 0.7em rgba(0, 0, 0, 0.1),
8-
0em 0.2em 1em 0.4em rgba(0, 0, 0, 0.2);
7+
0em 0.4em 1em 0.7em rgba(0, 0, 0, 0.2),
8+
0em 0.1em 1em 0.4em rgba(0, 0, 0, 0.1);
99
$fx-dropShadow-light: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
1010
$fx-dropShadow-glow:
1111
0 2em 4em 0 $color-primary,
1212
0 3em 0.5em 0 $color-primary;
1313
$fx-dropShadow-glow-slight: 0 0 0 0.5em $color-primary;
1414

15-
$blur: blur(45px);
16-
$blur-light: blur(2px);
15+
$blur: blur(1.5em);
16+
$blur-light: blur(0.5em);
17+
18+
@mixin blur {
19+
backdrop-filter: $blur;
20+
-webkit-backdrop-filter: $blur;
21+
}
22+
23+
@mixin blur-light {
24+
backdrop-filter: $blur-light;
25+
-webkit-backdrop-filter: $blur-light;
26+
}
1727

1828
$duration-short: 0.3s;
1929
$duration-middle: 0.5s;
2030
$duration-long: 1.5s;
2131

22-
$containerBorder: 1px $color-container solid;
32+
$containerBorder: 1px $color-container-light solid;
2333

2434
@mixin glitch {
2535
.glitch {

src/styles/settings/_typography.scss

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ $font-family-default:
1919

2020
/* ================ FONT SIZE ================ */
2121
$font-size-h1: clamp(0.5em, 12vw, 6em);
22+
$font-size-huge: clamp(0.5em, 10vw, 3em);
2223
$font-size-h2: clamp(0.4em, 0.1em + 5vw, 1.5em);
2324
$font-size-h3: clamp(0.4em, 0.5em + 9vw, 2em);
2425
$font-size-h4: clamp(0.4em, 7vw, 1.3em);

0 commit comments

Comments
 (0)