chore: add youtube and twitter icon (#4241)

chore/cache
Arik Chakma 1 year ago committed by GitHub
parent 0c64223ec1
commit bbe8125fc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      src/components/Footer.astro
  2. 3
      src/icons/twitter-fill.svg

@ -1,4 +1,5 @@
--- ---
import AstroIcon from './AstroIcon.astro';
import Icon from './AstroIcon.astro'; import Icon from './AstroIcon.astro';
--- ---
@ -24,10 +25,8 @@ import Icon from './AstroIcon.astro';
href='/videos'>Videos</a href='/videos'>Videos</a
> >
<a <a
target='_blank'
rel='noopener noreferrer nofollow'
class='border-b border-b-gray-700 px-2 py-1.5 transition-colors hover:text-white sm:border-b-0 sm:px-0 sm:py-0' class='border-b border-b-gray-700 px-2 py-1.5 transition-colors hover:text-white sm:border-b-0 sm:px-0 sm:py-0'
href='https://cottonbureau.com/people/roadmapsh'>Store</a href='/about'>FAQs</a
> >
<a <a
class='px-2 py-1.5 transition-colors hover:text-white sm:border-b-0 sm:px-0 sm:py-0' class='px-2 py-1.5 transition-colors hover:text-white sm:border-b-0 sm:px-0 sm:py-0'
@ -64,11 +63,24 @@ import Icon from './AstroIcon.astro';
<p> <p>
&copy; roadmap.sh &copy; roadmap.sh
<span class='mx-1.5'>&middot;</span> <span class='mx-1.5'>&middot;</span>
<a href='/about' class='hover:text-white'>FAQs</a>
<span class='mx-1.5'>&middot;</span>
<a href='/terms' class='hover:text-white'>Terms</a> <a href='/terms' class='hover:text-white'>Terms</a>
<span class='mx-1.5'>&middot;</span> <span class='mx-1.5'>&middot;</span>
<a href='/privacy' class='hover:text-white'>Privacy</a> <a href='/privacy' class='hover:text-white'>Privacy</a>
<span class='mx-1.5'>&middot;</span>
<a
href='https://youtube.com/theroadmap?sub_confirmation=1'
target='_blank'
class='hover:text-white'
>
<AstroIcon icon='youtube' class='inline-block h-4 w-4' />
</a>
<a
href='https://twitter.com/roadmapsh'
target='_blank'
class='ml-1.5 hover:text-white'
>
<AstroIcon icon='twitter-fill' class='inline-block h-3.5 w-3.5 fill-current' />
</a>
</p> </p>
</div> </div>
</div> </div>

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="100" height="100" viewBox="0 0 50 50">
<path d="M 50.0625 10.4375 C 48.214844 11.257813 46.234375 11.808594 44.152344 12.058594 C 46.277344 10.785156 47.910156 8.769531 48.675781 6.371094 C 46.691406 7.546875 44.484375 8.402344 42.144531 8.863281 C 40.269531 6.863281 37.597656 5.617188 34.640625 5.617188 C 28.960938 5.617188 24.355469 10.21875 24.355469 15.898438 C 24.355469 16.703125 24.449219 17.488281 24.625 18.242188 C 16.078125 17.8125 8.503906 13.71875 3.429688 7.496094 C 2.542969 9.019531 2.039063 10.785156 2.039063 12.667969 C 2.039063 16.234375 3.851563 19.382813 6.613281 21.230469 C 4.925781 21.175781 3.339844 20.710938 1.953125 19.941406 C 1.953125 19.984375 1.953125 20.027344 1.953125 20.070313 C 1.953125 25.054688 5.5 29.207031 10.199219 30.15625 C 9.339844 30.390625 8.429688 30.515625 7.492188 30.515625 C 6.828125 30.515625 6.183594 30.453125 5.554688 30.328125 C 6.867188 34.410156 10.664063 37.390625 15.160156 37.472656 C 11.644531 40.230469 7.210938 41.871094 2.390625 41.871094 C 1.558594 41.871094 0.742188 41.824219 -0.0585938 41.726563 C 4.488281 44.648438 9.894531 46.347656 15.703125 46.347656 C 34.617188 46.347656 44.960938 30.679688 44.960938 17.09375 C 44.960938 16.648438 44.949219 16.199219 44.933594 15.761719 C 46.941406 14.3125 48.683594 12.5 50.0625 10.4375 Z"></path>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

Loading…
Cancel
Save