File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM node:22-alpine AS base
1+ FROM node:24-alpine AS base
2+ # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
3+ RUN apk add --no-cache libc6-compat
24
35# Install dependencies only when needed
46FROM base AS deps
5- # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
6- RUN apk add --no-cache libc6-compat
77WORKDIR /app
88
99COPY package*.json ./
Original file line number Diff line number Diff line change 11import type { Metadata } from 'next' ;
22import { getTranslations } from 'next-intl/server' ;
33
4+ import { CONTACT_EMAIL } from '@app/config' ;
45import Address from '@components/atoms/Address' ;
56import Breadcrumbs from '@components/atoms/Breadcumbs' ;
67import Heading from '@components/atoms/Heading' ;
@@ -38,7 +39,7 @@ const ImprintPage = async () => {
3839 </ p >
3940
4041 < p className = "mb-4" >
41- < LinkButton href = " mailto:manuel@schaechinger.com" label = { t ( 'contact.goto' ) } />
42+ < LinkButton href = { ` mailto:${ CONTACT_EMAIL } ` } label = { t ( 'contact.goto' ) } />
4243 </ p >
4344
4445 < p >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import type { Metadata } from 'next';
22import { getTranslations } from 'next-intl/server' ;
33import { ReCaptchaProvider } from 'next-recaptcha-v3' ;
44
5- import { RECAPTCHA_SITE_KEY } from '@app/config' ;
5+ import { CONTACT_EMAIL , RECAPTCHA_SITE_KEY } from '@app/config' ;
66import AvailabilityIndicator from '@components/atoms/AvailabilityIndicator' ;
77import Breadcrumbs from '@components/atoms/Breadcumbs' ;
88import Heading from '@components/atoms/Heading' ;
@@ -48,7 +48,7 @@ const ContactPage = async ({ params }: PageProps<"/[locale]/contact">) => {
4848 < div className = "flex-1" >
4949 < Heading level = { 2 } title = { t ( 'types.mail.title' ) } />
5050
51- < LinkButton href = " mailto:manuel@schaechinger.com" label = { t ( 'types.mail.goto' ) } />
51+ < LinkButton href = { ` mailto:${ CONTACT_EMAIL } ` } label = { t ( 'types.mail.goto' ) } />
5252 </ div >
5353
5454 < div className = "flex-1" >
Original file line number Diff line number Diff line change 22
33import { useEffect , useState } from 'react' ;
44
5+ import { CONTACT_EMAIL } from '@app/config' ;
56import LinkButton from '@components/atoms/LinkButton' ;
67import ArrowRight from '@components/icons/ArrowRight' ;
78import PageSection from '@components/organisms/PageSection' ;
@@ -76,7 +77,7 @@ const KonamiCode = ({ translations }: Props) => {
7677 { 10 <= index
7778 && < p className = "mt-4" >
7879 < LinkButton
79- href = { `mailto:manuel@schaechinger.com ?subject=${ translations . subject } [${
80+ href = { `mailto:${ CONTACT_EMAIL } ?subject=${ translations . subject } [${
8081 code . map ( ( c , i ) => c [ index - ( i + 1 ) ] ) . reverse ( ) . join ( '' ) } ]`}
8182 label = { translations . goto }
8283 />
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ export const LEGAL_NAVIGATION = [
3030 'privacy' ,
3131] ;
3232
33+ // email
34+ export const CONTACT_EMAIL = 'schaechinger.starfish943@passmail.com' ;
35+
3336// technologies
3437export const CORE_TECHNOLOGIES = [
3538 { name : 'Next.js' , href : 'https://nextjs.org/' } ,
Original file line number Diff line number Diff line change 11import type { Metadata } from 'next' ;
22
3- import { supportedLangs , WEB_HOST } from '@app/config' ;
3+ import { CONTACT_EMAIL , supportedLangs , WEB_HOST } from '@app/config' ;
44import { isProd } from '@app/utils' ;
55import type { LocaleCode } from '@lib/router' ;
66
@@ -36,7 +36,7 @@ export const generateProfileJson = () => wrapJson(
3636 jobTitle : 'Senior Software Engineer' ,
3737 nationality : 'German' ,
3838 image : `${ WEB_HOST } /images/schaechinger.jpg` ,
39- email : 'manuel@schaechinger.com' ,
39+ email : CONTACT_EMAIL ,
4040 url : 'https://www.schaechinger.com' ,
4141 sameAs : [
4242 'https://instagram.com/theschaechinger' ,
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const contact = {
7777 email : 'E-Mail-Adresse' ,
7878 emailError : 'Bitte gib deine E-Mail-Adresse an.' ,
7979 message : 'Nachricht' ,
80- messageError : 'Bitte schildere dein Anliegen.' ,
80+ messageError : 'Bitte schildere dein Anliegen ausführlicher .' ,
8181 submit : 'Absenden' ,
8282 submitError : 'Deine Nachricht konnte nicht gesendet werden.' ,
8383 successTitle : 'Deine Anfrage wurde versendet!' ,
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const contact = {
7777 email : 'Mail Address' ,
7878 emailError : 'Please enter your mail address.' ,
7979 message : 'Message' ,
80- messageError : 'Please provide some details.' ,
80+ messageError : 'Please provide more details.' ,
8181 submit : 'Send' ,
8282 submitError : 'Your message could not be sent.' ,
8383 successTitle : 'Your inquiry has been sent!' ,
You can’t perform that action at this time.
0 commit comments