Update homepage to add FB and modify twitter

Added a Facebook social card, and changed twitter to match others.
This commit is contained in:
rcarteraz 2023-05-14 17:50:50 -07:00 committed by Sacha Weatherstone
parent 72e4742454
commit e5f8033782
3 changed files with 28 additions and 3 deletions

View file

@ -96,13 +96,24 @@ const SocialCards: SocialCardProps[] = [
), ),
}, },
{ {
color: "bg-[#ffffff]", color: "bg-[#4A99E9]",
link: "https://twitter.com/TheMeshtastic", link: "https://twitter.com/TheMeshtastic",
children: ( children: (
<img <img
alt="twitter" alt="twitter"
className="m-auto h-10" className="m-auto h-14"
src="/img/homepage/Twitter-logo.svg" src="/img/homepage/Twitter social icons - circle - white.svg"
/>
),
},
{
color: "bg-[#3875EA]",
link: "https://facebook.com/themeshtastic",
children: (
<img
alt="facebook"
className="m-auto h-14"
src="/img/homepage/f_logo_RGB-White_1024.png"
/> />
), ),
}, },

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="White" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 400 400" style="enable-background:new 0 0 400 400;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<path class="st0" d="M400,200c0,110.5-89.5,200-200,200S0,310.5,0,200S89.5,0,200,0S400,89.5,400,200z M163.4,305.5
c88.7,0,137.2-73.5,137.2-137.2c0-2.1,0-4.2-0.1-6.2c9.4-6.8,17.6-15.3,24.1-25c-8.6,3.8-17.9,6.4-27.7,7.6
c10-6,17.6-15.4,21.2-26.7c-9.3,5.5-19.6,9.5-30.6,11.7c-8.8-9.4-21.3-15.2-35.2-15.2c-26.6,0-48.2,21.6-48.2,48.2
c0,3.8,0.4,7.5,1.3,11c-40.1-2-75.6-21.2-99.4-50.4c-4.1,7.1-6.5,15.4-6.5,24.2c0,16.7,8.5,31.5,21.5,40.1c-7.9-0.2-15.3-2.4-21.8-6
c0,0.2,0,0.4,0,0.6c0,23.4,16.6,42.8,38.7,47.3c-4,1.1-8.3,1.7-12.7,1.7c-3.1,0-6.1-0.3-9.1-0.9c6.1,19.2,23.9,33.1,45,33.5
c-16.5,12.9-37.3,20.6-59.9,20.6c-3.9,0-7.7-0.2-11.5-0.7C110.8,297.5,136.2,305.5,163.4,305.5"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB