Skip to content

Commit 0f87007

Browse files
committed
Remove phone contact option and references from site
1 parent 159e77b commit 0f87007

8 files changed

Lines changed: 32 additions & 39 deletions

File tree

data/site.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
name: 'CSA Admin'
2-
host: 'https://csa-admin.org'
3-
thumbnail: 'logo.svg'
4-
favicon: '_favicon_template.svg'
5-
base_color: '#21952F'
6-
repository: 'https://github.com/csa-admin-org/csa-admin'
7-
license: 'MIT'
1+
name: "CSA Admin"
2+
host: "https://csa-admin.org"
3+
thumbnail: "logo.svg"
4+
favicon: "_favicon_template.svg"
5+
base_color: "#21952F"
6+
repository: "https://github.com/csa-admin-org/csa-admin"
7+
license: "MIT"
88
contact:
9-
email: 'info@csa-admin.org'
10-
email_link: 'mailto:info@csa-admin.org'
11-
phone: '+41 76 449 59 38'
12-
phone_link: 'tel:+41764495938'
9+
email: "info@csa-admin.org"
10+
email_link: "mailto:info@csa-admin.org"
1311
author:
14-
name: 'Thibaud Guillaume-Gentil'
15-
email: 'thibaud@thibaud.gg'
16-
website: 'https://thibaud.gg'
12+
name: "Thibaud Guillaume-Gentil"
13+
email: "thibaud@thibaud.gg"
14+
website: "https://thibaud.gg"
1715

1816
jsonld:
1917
"@context": "http://schema.org"

locales/de.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ de:
66
title: Über CSA Admin
77
call_to_action: Demo anfordern
88
contact:
9-
text: Möchten Sie mehr über CSA Admin erfahren? Haben Sie Fragen? Zögern Sie nicht, mich für weitere Informationen und/oder zur Vereinbarung einer Demo zu kontaktieren. Sie können mich per E-Mail unter %{mail} oder telefonisch unter %{phone} erreichen (Englische und Französische). Ich beantworte gerne alle Ihre Fragen.
9+
text: Möchten Sie mehr über CSA Admin erfahren? Haben Sie Fragen? Zögern Sie nicht, mich für weitere Informationen und/oder zur Vereinbarung einer Demo zu kontaktieren. Sie können mich per E-Mail unter %{mail}. Ich beantworte gerne alle Ihre Fragen.
1010
title: Interessiert? Fordern Sie eine Demo an!
1111
email: E-Mail
1212
features:

locales/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ en:
66
title: About CSA Admin
77
call_to_action: Request a demo
88
contact:
9-
text: Would you like to know more about CSA Admin? Do you have any questions? Feel free to contact me for more information and/or to schedule a demo. You can reach me by email at %{mail}, or by phone at %{phone}. I'll be happy to answer all your questions.
9+
text: Would you like to know more about CSA Admin? Do you have any questions? Feel free to contact me for more information and/or to schedule a demo. You can reach me by email at %{mail}. I'll be happy to answer all your questions.
1010
title: Interested? Request a demo!
1111
email: Email
1212
features:

locales/fr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ fr:
66
title: À propos de CSA Admin
77
call_to_action: Demander une démo
88
contact:
9-
text: Vous souhaitez en savoir plus sur CSA Admin? Vous avez des questions? N'hésitez pas à me contacter pour plus d'informations et/ou pour planifier une démo. Vous pouvez me joindre par e-mail à l'adresse %{mail}, ou par téléphone au %{phone}. Je me ferai un plaisir de répondre à toutes vos questions.
9+
text: Vous souhaitez en savoir plus sur CSA Admin? Vous avez des questions? N'hésitez pas à me contacter pour plus d'informations et/ou pour planifier une démo. Vous pouvez me joindre par e-mail à l'adresse %{mail}. Je me ferai un plaisir de répondre à toutes vos questions.
1010
title: Intéressé·e? Demandez une démo!
1111
email: E-mail
1212
features:

source/_footer.erb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,17 @@
1717
</li>
1818
</ul>
1919

20+
<div class="mt-4 md:mt-8 flex flex-col md:flex-row items-center md:justify-center">
21+
<%= link_to (inline_svg('envelope.svg', class: 'w-5 h-5 mr-2 mt-0.5', alt: t('email')) + content_tag(:strong, data.site.contact.email, class: 'font-semibold')).html_safe, data.site.contact.email_link, class: 'flex items-center no-underline', title: t('email') %>
22+
</div>
23+
2024
<div class="mt-8 md:mt-16 flex items-center justify-center">
2125
<%= inline_svg 'logo.svg', class: 'fill-current w-8 h-8', alt: t("logo_alt") %>
2226
<strong class="text-logo-green ml-2 font-bold text-lg tracking-tight">
2327
<%= data.site.name %>
2428
</strong>
2529
</div>
2630

27-
<div class="mt-4 md:mt-8 flex flex-col md:flex-row items-center md:justify-center">
28-
<%= link_to (inline_svg('envelope.svg', class: 'w-5 h-5 mr-2 mt-0.5', alt: t('email')) + content_tag(:strong, data.site.contact.email, class: 'font-semibold')).html_safe, data.site.contact.email_link, class: 'md:mr-8 flex items-center no-underline', title: t('email') %>
29-
<%= link_to (inline_svg('phone.svg', class: 'w-5 h-5 mr-2', alt: t('phone')) + content_tag(:strong, data.site.contact.phone, class: 'font-semibold')).html_safe, data.site.contact.phone_link, class: 'mt-2 md:mt-0 flex items-center no-underline', title: t('phone') %>
30-
</div>
31-
3231
<p class="mt-4 md:mt-8 text-center text-sm text-gray-500">
3332
<%= I18n.t("footer.developed_by", author_link: link_to(data.site.author.name, data.site.author.website, class: 'whitespace-nowrap no-underline text-gray-500 font-normal', title: "thibaud.gg")) %>
3433
</p>

source/_header.erb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
<%= link_to t('header.about'), '#about', class: 'text-gray-800 text-lg font-medium' %>
3030
</div>
3131

32-
<div class="flex flex-col items-center md:items-end w-full md:w-fit mt-6 md:mt-0 md:ml-16 justify-center md:justify-end">
33-
<%= link_to (inline_svg('envelope.svg', class: 'w-5 h-5 md:order-2 mr-2 md:mr-0 md:ml-3 mt-0.5', alt: t('email')) + content_tag(:strong, data.site.contact.email, class: 'font-semibold md:order-1')).html_safe, data.site.contact.email_link, class: 'flex items-center no-underline text-gray-800', title: t('email') %>
34-
<%= link_to (inline_svg('phone.svg', class: 'w-5 h-5 md:order-2 mr-2 md:mr-0 md:ml-3', alt: t('phone')) + content_tag(:strong, data.site.contact.phone, class: 'font-semibold md:order-1')).html_safe, data.site.contact.phone_link, class: 'mt-0.5 flex items-center no-underline text-gray-800', title: t('phone') %>
32+
<div class="flex items-center gap-4 w-full md:text-base md:w-fit mt-6 md:mt-0 md:ml-16 justify-center md:justify-end">
33+
<%= link_to (inline_svg('envelope.svg', class: 'w-6 h-6 md:order-2 mr-2 md:mr-0 md:ml-2 mt-0.5', alt: t('email')) + content_tag(:strong, data.site.contact.email, class: 'font-semibold md:order-1')).html_safe, data.site.contact.email_link, class: 'flex items-center no-underline text-gray-800', title: t('email') %>
3534
</div>
3635
</header

source/_index.erb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@
9595
<%= t("contact.title") %>
9696
</h4>
9797
<p class="mt-4 mx-auto md:w-7/12 text-justify leading-normal text-lg">
98-
<%= I18n.t("contact.text", \
99-
mail: link_to(data.site.contact.email, data.site.contact.email_link, class: 'whitespace-nowrap'), \
100-
phone: link_to(data.site.contact.phone, data.site.contact.phone_link, class: 'whitespace-nowrap') \
101-
) %>
98+
<%= I18n.t("contact.text", mail: link_to(data.site.contact.email, data.site.contact.email_link, class: 'whitespace-nowrap')) %>
10299
</p>
103100

104101
<span class="mt-16 mx-auto block w-52 h-1 rounded-full bg-gradient-to-r from-logo-green to-green-600"></span>

source/stylesheets/site.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,10 @@ strong {
692692
height: 1.25rem;
693693
}
694694

695+
.h-6 {
696+
height: 1.5rem;
697+
}
698+
695699
.h-8 {
696700
height: 2rem;
697701
}
@@ -708,6 +712,10 @@ strong {
708712
width: 13rem;
709713
}
710714

715+
.w-6 {
716+
width: 1.5rem;
717+
}
718+
711719
.w-8 {
712720
width: 2rem;
713721
}
@@ -1026,18 +1034,14 @@ strong {
10261034
margin-left: 4rem;
10271035
}
10281036

1029-
.md\:ml-3 {
1030-
margin-left: 0.75rem;
1037+
.md\:ml-2 {
1038+
margin-left: 0.5rem;
10311039
}
10321040

10331041
.md\:mr-0 {
10341042
margin-right: 0px;
10351043
}
10361044

1037-
.md\:mr-8 {
1038-
margin-right: 2rem;
1039-
}
1040-
10411045
.md\:mt-0 {
10421046
margin-top: 0px;
10431047
}
@@ -1112,10 +1116,6 @@ strong {
11121116
flex-wrap: nowrap;
11131117
}
11141118

1115-
.md\:items-end {
1116-
align-items: flex-end;
1117-
}
1118-
11191119
.md\:justify-start {
11201120
justify-content: flex-start;
11211121
}

0 commit comments

Comments
 (0)