From e72ef726de0b4807c9059785c83113b8cf663c52 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Mon, 27 Feb 2023 11:37:40 +0100 Subject: [PATCH] Add contact list --- index.html | 39 +++++++++++++++++++-- sass/style.scss | 70 ++++++++++++++++++++++++++++++++++++++ static/img/icons/email.svg | 1 + static/img/icons/phone.svg | 1 + static/img/icons/web.svg | 1 + 5 files changed, 109 insertions(+), 3 deletions(-) create mode 100644 static/img/icons/email.svg create mode 100644 static/img/icons/phone.svg create mode 100644 static/img/icons/web.svg diff --git a/index.html b/index.html index 8568389..28b82f0 100644 --- a/index.html +++ b/index.html @@ -143,13 +143,46 @@

Na koho se obrátit a kde najít pomoc? Níže najdete stručný seznam kontaktů na organizace a instituce, které se touto problematikou zabývají a mohou vám poskytnout odbornou výpomoc.

- ... +
+ Orgnaizace "Budu Pomáhat" +
+

Nezisková organizace, která se zabývá sociální pomocí obětem domácího násilí.

+
- ... +
+ Mgr. Bederka Tomáš +
+

Osoba, která se touto problematikou zabývá již dlouhá léta.

+
- ... +
+ Orgnaizace "Budu Pomáhat" +
+

Nezisková organizace, která se zabývá sociální pomocí obětem domácího násilí.

+
diff --git a/sass/style.scss b/sass/style.scss index 98ec1e1..909af0d 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -407,6 +407,66 @@ body.noscroll { } } +.contact-list { + display: flex; + flex-direction: column; + margin: 5rem 0; + + .contact { + padding: 3rem 0; + border-bottom: 1px solid #8493A4; + flex: 1; + + &:last-child { + border: none; + } + + .title { + font-weight: bold; + font-size: 1.25em; + } + + .meta { + display: flex; + flex-direction: column; + gap: 1rem; + font-weight: bold; + + &>div { + display: flex; + align-items: center; + gap: 1rem; + + &:before { + content: ""; + height: 2rem; + width: 2rem; + border: 1px solid #8493A4; + border-radius: .5rem; + background-size: 50%; + background-position: center; + background-repeat: no-repeat; + } + } + + .phone:before { + background-image: url("/static/img/icons/phone.svg"); + } + .website:before { + background-image: url("/static/img/icons/web.svg"); + } + .email:before { + background-image: url("/static/img/icons/email.svg"); + } + + a { + text-decoration: none; + color: inherit; + } + } + } +} + .partners { display: flex; justify-content: center; @@ -580,6 +640,16 @@ footer { } } + .contact-list { + flex-direction: row; + + .contact { + padding: 0 3rem; + border-bottom: none; + border-right: 1px solid #8493A4; + } + } + .faq-list .faq { &:before, &:last-child:after { diff --git a/static/img/icons/email.svg b/static/img/icons/email.svg new file mode 100644 index 0000000..196c9bd --- /dev/null +++ b/static/img/icons/email.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/icons/phone.svg b/static/img/icons/phone.svg new file mode 100644 index 0000000..7b1d35f --- /dev/null +++ b/static/img/icons/phone.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/icons/web.svg b/static/img/icons/web.svg new file mode 100644 index 0000000..8ca11d1 --- /dev/null +++ b/static/img/icons/web.svg @@ -0,0 +1 @@ + \ No newline at end of file