Compare commits

..

No commits in common. "1bba326aa5a40678a3e9612300aad70a8b03afef" and "68aa84283fd34bec0da8f162e48818a0cc4d64f3" have entirely different histories.

7 changed files with 25 additions and 36 deletions

View file

@ -8,10 +8,6 @@ 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',

View file

@ -8,10 +8,6 @@ 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',

View file

@ -7,7 +7,6 @@ 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 (
@ -19,14 +18,14 @@ export default function ContactPage() {
<Section padding={"small"}> <Section padding={"small"}>
<Container> <Container>
<Title title={siteConfig.shortName} size="md"></Title> <Title title={"Pfarrei Heilige Drei Könige"} size="md"></Title>
<Row> <Row>
<Col> <Col>
<P width={"1/2"}> <P width={"1/2"}>
{siteConfig.address}<br/> Briesestraße 15 17<br/>
{siteConfig.postalCode} {siteConfig.city}<br/> 12053 Berlin <br/>
{siteConfig.phone}<br/> 030-6889120 <br/>
{siteConfig.email} kontakt@dreikoenige.berlin
</P> </P>
<P width={"1/2"}> <P width={"1/2"}>
<strong>Geöffnet:</strong><br/> <strong>Geöffnet:</strong><br/>
@ -37,8 +36,8 @@ export default function ContactPage() {
<Col> <Col>
<Logo <Logo
withText={true} withText={true}
color={siteConfig.baseColor} color={"#426156"}
textColor={siteConfig.shade1} textColor={"#728F8D"}
height={140} height={140}
/> />
</Col> </Col>
@ -49,8 +48,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 ${siteConfig.email}`} 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"}
toEmail={siteConfig.email} toEmail={"kontakt@dreikoenige.berlin"}
/> />
</> </>
) )

View file

@ -12,8 +12,6 @@
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;
} }

View file

@ -38,9 +38,11 @@ export const PopupButton = ({size = "md", schema, text, links, title}: PopupButt
return ( return (
<div className={styles.container}> <div className={styles.container}>
<Button size={size} schema={schema} onClick={() => setIsPopupOpen(true)}> <div className={styles.button}>
{text} <Button size={size} schema={schema} onClick={() => setIsPopupOpen(true)}>
</Button> {text}
</Button>
</div>
{isPopupOpen && ( {isPopupOpen && (
<div className={styles.popup}> <div className={styles.popup}>

View file

@ -1,26 +1,28 @@
@import 'template.scss'; @import 'template.scss';
.container { .container {
position: relative; display: inline-grid;
display: inline-block; place-items: center;
grid-template-areas: "a";
grid-template-rows: fit-content(0);
}
.button {
grid-area: a;
} }
.popup { .popup {
position: absolute; grid-area: a;
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;
@ -31,7 +33,7 @@
text-decoration: none; text-decoration: none;
padding: 5px 15px; padding: 5px 15px;
display: block; display: block;
font-size: 16px; font-size: 17px;
transition: background-color 0.2s ease-in; transition: background-color 0.2s ease-in;
} }

View file

@ -23,10 +23,6 @@ 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