@@ -34,97 +34,85 @@ const company = [
3434<footer >
3535 <div class ={ ` container ${minimal ? " minimal" : " " } ` } >
3636 <div class =" column brand" >
37- {
38- minimal ? (
37+ { minimal ? (
38+ <img id = " logo" src = { bespinianWhite .src } alt = " bespinian logo" />
39+ ) : (
40+ <a href = { translatePath (" /" )} >
3941 <img id = " logo" src = { bespinianWhite .src } alt = " bespinian logo" />
40- ) : (
41- <a href = { translatePath (" /" )} >
42- <img id = " logo" src = { bespinianWhite .src } alt = " bespinian logo" />
43- </a >
44- )
45- }
42+ </a >
43+ )}
4644 <p class =" tagline" >{ t (" footer.tagline" )} </p >
4745 </div >
4846
49- {
50- services .length > 0 && (
51- <nav class = " column" aria-label = { t (" footer.services" )} >
52- <p class = " column-title" >{ t (" footer.services" )} </p >
53- { services .map ((service ) => (
54- <a href = { translatePath (` /services/${service .id } ` )} >
55- { service .title }
56- </a >
57- ))}
58- </nav >
59- )
60- }
61-
62- {
63- ! minimal && (
64- <nav class = " column" aria-label = { t (" footer.company" )} >
65- <p class = " column-title" >{ t (" footer.company" )} </p >
66- { company .map ((item ) => (
67- <a href = { item .href } >{ item .label } </a >
68- ))}
69- </nav >
70- )
71- }
47+ { services .length > 0 && (
48+ <nav class = " column" aria-label = { t (" footer.services" )} >
49+ <p class = " column-title" >{ t (" footer.services" )} </p >
50+ { services .map ((service ) => (
51+ <a href = { translatePath (` /services/${service .id } ` )} >{ service .title } </a >
52+ ))}
53+ </nav >
54+ )}
55+
56+ { ! minimal && (
57+ <nav class = " column" aria-label = { t (" footer.company" )} >
58+ <p class = " column-title" >{ t (" footer.company" )} </p >
59+ { company .map ((item ) => (
60+ <a href = { item .href } >{ item .label } </a >
61+ ))}
62+ </nav >
63+ )}
7264
7365 <div class =" column" >
7466 <p class =" column-title" >{ t (" footer.contact" )} </p >
75- {
76- /* Marked up so the address is machine-readable and matches the
77- Organization schema and the imprint word for word. */
78- }
67+ { /* Marked up so the address is machine-readable and matches the
68+ Organization schema and the imprint word for word. */ }
7969 <address >
8070 <span class =" office" >{ t (" footer.office" )} </span >
81- Kramgasse 68<br />
82- 3011 Bern<br />
71+ Kramgasse 68
72+ <br />
73+ 3011 Bern
74+ <br />
8375 Switzerland
8476 </address >
8577 <a href =" mailto:info@bespinian.io" >info@bespinian.io</a >
8678 { ! minimal && <a href = { translatePath (" /contact" )} >{ t (" nav.contact" )} </a >}
8779 </div >
8880
89- {
90- ! minimal && (
91- <nav class = " column" aria-label = { t (" footer.follow" )} >
92- <p class = " column-title" >{ t (" footer.follow" )} </p >
93- <a
94- href = " https://www.linkedin.com/company/19074419"
95- target = " _blank"
96- rel = " noopener noreferrer"
97- >
98- LinkedIn
99- </a >
100- <a
101- href = " https://www.youtube.com/@bespinian-io"
102- target = " _blank"
103- rel = " noopener noreferrer"
104- >
105- YouTube
106- </a >
107- <a
108- href = " https://github.com/bespinian"
109- target = " _blank"
110- rel = " noopener noreferrer"
111- >
112- GitHub
113- </a >
114- <a href = " /rss.xml" >RSS</a >
115- </nav >
116- )
117- }
81+ { ! minimal && (
82+ <nav class = " column" aria-label = { t (" footer.follow" )} >
83+ <p class = " column-title" >{ t (" footer.follow" )} </p >
84+ <a
85+ href = " https://www.linkedin.com/company/19074419"
86+ target = " _blank"
87+ rel = " noopener noreferrer"
88+ >
89+ LinkedIn
90+ </a >
91+ <a
92+ href = " https://www.youtube.com/@bespinian-io"
93+ target = " _blank"
94+ rel = " noopener noreferrer"
95+ >
96+ YouTube
97+ </a >
98+ <a
99+ href = " https://github.com/bespinian"
100+ target = " _blank"
101+ rel = " noopener noreferrer"
102+ >
103+ GitHub
104+ </a >
105+ <a href = " /rss.xml" >RSS</a >
106+ </nav >
107+ )}
118108 </div >
119109
120110 <div class =" legal" >
121111 <p >
122- {
123- t (" footer.copyright" ).replace (
124- " {year}" ,
125- new Date ().getFullYear ().toString (),
126- )
127- }
112+ { t (" footer.copyright" ).replace (
113+ " {year}" ,
114+ new Date ().getFullYear ().toString (),
115+ )}
128116 </p >
129117 <a href ={ translatePath (" /imprint" )} >{ t (" footer.imprint" )} </a >
130118 </div >
0 commit comments