Skip to content

Commit 9b09e08

Browse files
committed
icons for social link test
1 parent 272c56c commit 9b09e08

File tree

1 file changed

+43
-29
lines changed

1 file changed

+43
-29
lines changed

docs/docusaurus.config.ts

Lines changed: 43 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -170,18 +170,6 @@ const config: Config = {
170170
{
171171
title: 'Community',
172172
items: [
173-
{
174-
label: 'GitHub',
175-
href: 'https://github.com/sparkfun/SparkFun_DataLogger',
176-
},
177-
{
178-
label: 'YouTube',
179-
href: 'https://www.youtube.com/sparkfun',
180-
},
181-
{
182-
label: 'X',
183-
href: 'https://x.com/sparkfun',
184-
},
185173
{
186174
html: `
187175
<a href="https://www.youtube.com/sparkfun" target="_blank" rel="noreferrer noopener" aria-label="SparkFun on YouTube">
@@ -209,28 +197,54 @@ const config: Config = {
209197
<img src="img/social-twitter.svg" class="social-image" alt="SparkFun on Twitter" width="32" height="32" />
210198
</a>
211199
`,
212-
}
213-
],
214-
},
215-
{
216-
title: 'SparkFun',
217-
items: [
218-
{
219-
label: 'Community Forum',
220-
href: 'https://community.sparkfun.com/',
221200
},
222201
{
223-
label: 'SparkFun.com',
224-
href: 'https://www.sparkfun.com/',
225-
},
226-
],
202+
html: '<table style="border:none; border-collapse:collapse;">
203+
< tr >
204+
<td style="border:none; padding:0;">
205+
<a href="https://www.youtube.com/sparkfun" target = "_blank" rel="noreferrer noopener" aria- label="SparkFun on YouTube" >
206+
<img src="img/social-youtube.svg" class= "social-image" alt = "SparkFun on YouTube" width = "32" height = "32" />
207+
</a>
208+
</td>
209+
< td style = "border:none; padding:0;" >
210+
<a href="https://www.github.com/sparkfun" target = "_blank" rel = "noreferrer noopener" aria - label="SparkFun on GitHub" >
211+
<img src="img/social-github.svg" class= "social-image" alt = "SparkFun on GitHub" width = "32" height = "32" />
212+
</a>
213+
</td>
214+
< td style = "border:none; padding:0;" >
215+
<a href="https://www.instagram.com/sparkfun/" target = "_blank" rel = "noreferrer noopener" aria - label="SparkFun on Instagram" >
216+
<img src="img/social-instagram.svg" class= "social-image" alt = "SparkFun on Instagram" width = "32" height = "32" />
217+
</a>
218+
</td>
219+
< td style = "border:none; padding:0;" >
220+
<a href="https://twitter.com/sparkfun" target = "_blank" rel = "noreferrer noopener" aria - label="SparkFun on Twitter" >
221+
<img src="img/social-twitter.svg" class= "social-image" alt = "SparkFun on Twitter" width = "32" height = "32" />
222+
</a>
223+
</td>
224+
</tr>
225+
</table>'
226+
}
227+
],
228+
},
229+
{
230+
title: 'SparkFun',
231+
items: [
232+
{
233+
label: 'Community Forum',
234+
href: 'https://community.sparkfun.com/',
235+
},
236+
{
237+
label: 'SparkFun.com',
238+
href: 'https://www.sparkfun.com/',
239+
},
240+
],
227241
},
228242
],
229-
copyright: `Copyright © ${new Date().getFullYear()} SparkFun Electronics`,
243+
copyright: `Copyright © ${new Date().getFullYear()} SparkFun Electronics`,
230244
},
231-
prism: {
232-
theme: prismThemes.github,
233-
darkTheme: prismThemes.dracula,
245+
prism: {
246+
theme: prismThemes.github,
247+
darkTheme: prismThemes.dracula,
234248
},
235249
} satisfies Preset.ThemeConfig,
236250
};

0 commit comments

Comments
 (0)