Compare commits
2 commits
68aa84283f
...
1bba326aa5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1bba326aa5 | ||
|
|
c6ff7668c5 |
7 changed files with 36 additions and 25 deletions
|
|
@ -8,6 +8,10 @@ const config: SiteConfig = {
|
||||||
'Katholische Pfarrei Heilige Mutter Teresa in Chemnitz – Gottesdienste, Veranstaltungen, Sakramente und Gemeindeleben.',
|
'Katholische Pfarrei Heilige Mutter Teresa in Chemnitz – Gottesdienste, Veranstaltungen, Sakramente und Gemeindeleben.',
|
||||||
url: 'https://mutter-teresa-chemnitz.de',
|
url: 'https://mutter-teresa-chemnitz.de',
|
||||||
email: 'kontakt@mutter-teresa-chemnitz.de',
|
email: 'kontakt@mutter-teresa-chemnitz.de',
|
||||||
|
address: 'Hohe Straße 1',
|
||||||
|
postalCode: '09112',
|
||||||
|
city: 'Chemnitz',
|
||||||
|
phone: '0371 304085',
|
||||||
keywords: [
|
keywords: [
|
||||||
'Katholische Pfarrei',
|
'Katholische Pfarrei',
|
||||||
'Heilige Mutter Teresa',
|
'Heilige Mutter Teresa',
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,10 @@ const config: SiteConfig = {
|
||||||
'Katholische Pfarrei Heilige Drei Könige in Berlin – Gottesdienste, Veranstaltungen, Sakramente und Gemeindeleben.',
|
'Katholische Pfarrei Heilige Drei Könige in Berlin – Gottesdienste, Veranstaltungen, Sakramente und Gemeindeleben.',
|
||||||
url: 'https://dreikoenige.berlin',
|
url: 'https://dreikoenige.berlin',
|
||||||
email: 'kontakt@dreikoenige.berlin',
|
email: 'kontakt@dreikoenige.berlin',
|
||||||
|
address: 'Briesestraße 15 – 17',
|
||||||
|
postalCode: '12053',
|
||||||
|
city: 'Berlin',
|
||||||
|
phone: '030-6889120',
|
||||||
keywords: [
|
keywords: [
|
||||||
'Katholische Pfarrei',
|
'Katholische Pfarrei',
|
||||||
'Heilige Drei Könige',
|
'Heilige Drei Könige',
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import { P } from '@/components/Text/Paragraph'
|
||||||
import { Row } from '@/components/Flex/Row'
|
import { Row } from '@/components/Flex/Row'
|
||||||
import { Col } from '@/components/Flex/Col'
|
import { Col } from '@/components/Flex/Col'
|
||||||
import Logo from '@/components/Logo/Logo'
|
import Logo from '@/components/Logo/Logo'
|
||||||
|
import { siteConfig } from '@/config/site'
|
||||||
|
|
||||||
export default function ContactPage() {
|
export default function ContactPage() {
|
||||||
return (
|
return (
|
||||||
|
|
@ -18,14 +19,14 @@ export default function ContactPage() {
|
||||||
|
|
||||||
<Section padding={"small"}>
|
<Section padding={"small"}>
|
||||||
<Container>
|
<Container>
|
||||||
<Title title={"Pfarrei Heilige Drei Könige"} size="md"></Title>
|
<Title title={siteConfig.shortName} size="md"></Title>
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
<P width={"1/2"}>
|
<P width={"1/2"}>
|
||||||
Briesestraße 15 – 17<br/>
|
{siteConfig.address}<br/>
|
||||||
12053 Berlin <br/>
|
{siteConfig.postalCode} {siteConfig.city}<br/>
|
||||||
030-6889120 <br/>
|
{siteConfig.phone}<br/>
|
||||||
kontakt@dreikoenige.berlin
|
{siteConfig.email}
|
||||||
</P>
|
</P>
|
||||||
<P width={"1/2"}>
|
<P width={"1/2"}>
|
||||||
<strong>Geöffnet:</strong><br/>
|
<strong>Geöffnet:</strong><br/>
|
||||||
|
|
@ -36,8 +37,8 @@ export default function ContactPage() {
|
||||||
<Col>
|
<Col>
|
||||||
<Logo
|
<Logo
|
||||||
withText={true}
|
withText={true}
|
||||||
color={"#426156"}
|
color={siteConfig.baseColor}
|
||||||
textColor={"#728F8D"}
|
textColor={siteConfig.shade1}
|
||||||
height={140}
|
height={140}
|
||||||
/>
|
/>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
@ -48,8 +49,8 @@ export default function ContactPage() {
|
||||||
|
|
||||||
<ContactSection
|
<ContactSection
|
||||||
title={"Kontaktformular"}
|
title={"Kontaktformular"}
|
||||||
description={"Füllen Sie einfach unser Kontaktformular aus und wir werden uns umgehend mit Ihnen in Verbindung setzen. Oder senden Sie uns eine Nachricht auf kontakt@dreikoenige.berlin"}
|
description={`Füllen Sie einfach unser Kontaktformular aus und wir werden uns umgehend mit Ihnen in Verbindung setzen. Oder senden Sie uns eine Nachricht auf ${siteConfig.email}`}
|
||||||
toEmail={"kontakt@dreikoenige.berlin"}
|
toEmail={siteConfig.email}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
line-height: 147%;
|
||||||
|
//box-sizing: content-box;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,11 +38,9 @@ export const PopupButton = ({size = "md", schema, text, links, title}: PopupButt
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
|
|
||||||
<div className={styles.button}>
|
<Button size={size} schema={schema} onClick={() => setIsPopupOpen(true)}>
|
||||||
<Button size={size} schema={schema} onClick={() => setIsPopupOpen(true)}>
|
{text}
|
||||||
{text}
|
</Button>
|
||||||
</Button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{isPopupOpen && (
|
{isPopupOpen && (
|
||||||
<div className={styles.popup}>
|
<div className={styles.popup}>
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,26 @@
|
||||||
@import 'template.scss';
|
@import 'template.scss';
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: inline-grid;
|
position: relative;
|
||||||
place-items: center;
|
display: inline-block;
|
||||||
grid-template-areas: "a";
|
|
||||||
grid-template-rows: fit-content(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
.button {
|
|
||||||
grid-area: a;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup {
|
.popup {
|
||||||
grid-area: a;
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
z-index: 1;
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
box-shadow: 0 0 21px 0 rgba(0,0,0,0.4);
|
box-shadow: 0 0 21px 0 rgba(0,0,0,0.4);
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
position: relative;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popupTitle {
|
.popupTitle {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-size: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
border-bottom: 1px solid $border-color-light;
|
border-bottom: 1px solid $border-color-light;
|
||||||
|
|
@ -33,7 +31,7 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 5px 15px;
|
padding: 5px 15px;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 17px;
|
font-size: 16px;
|
||||||
transition: background-color 0.2s ease-in;
|
transition: background-color 0.2s ease-in;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,10 @@ export interface SiteConfig {
|
||||||
description: string
|
description: string
|
||||||
url: string
|
url: string
|
||||||
email: string
|
email: string
|
||||||
|
address: string
|
||||||
|
postalCode: string
|
||||||
|
city: string
|
||||||
|
phone: string
|
||||||
keywords: string[]
|
keywords: string[]
|
||||||
ogImage: string
|
ogImage: string
|
||||||
baseColor: string
|
baseColor: string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue