|
| 1 | +<script lang="ts"> |
| 2 | + import { Icon } from '@steeze-ui/svelte-icon'; |
| 3 | +
|
| 4 | + import { Discord, Github, Twitter, Youtube } from '@steeze-ui/simple-icons'; |
| 5 | +
|
| 6 | + const anchorClasses = 'bcu-card bcu-card-hover p-8 min-h-96'; |
| 7 | + const sectionClasses = 'flex flex-col relative gap-4 justify-start items-start h-52 py-14'; |
| 8 | + const logoClasses = 'absolute top-0'; |
| 9 | + const titleClasses = 'tracking-wide'; |
| 10 | + const descriptionClasses = 'text-md font-normal'; |
| 11 | +</script> |
| 12 | + |
| 13 | +<!-- TODO hover effects --> |
| 14 | +<div class="w-full py-4 grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4"> |
| 15 | + <a class={anchorClasses} target="_blank" href="https://discord.com/invite/vM2bagU"> |
| 16 | + <div class={sectionClasses}> |
| 17 | + <div class={logoClasses}> |
| 18 | + <Icon src={Discord} class="w-8" theme="solid" /> |
| 19 | + </div> |
| 20 | + <h5 class={titleClasses}>Join the Discord!</h5> |
| 21 | + <p class={descriptionClasses}> |
| 22 | + We are part of the Teach, Learn, Grow community. A place to learn then give back. Join us! |
| 23 | + </p> |
| 24 | + </div> |
| 25 | + </a> |
| 26 | + <a class={anchorClasses} target="_blank" href="https://twitter.com/CodingCatDev"> |
| 27 | + <div class={sectionClasses}> |
| 28 | + <div class={logoClasses}> |
| 29 | + <Icon src={Twitter} class="w-8" theme="solid" /> |
| 30 | + </div> |
| 31 | + <h5 class={titleClasses}>Follow Us on Twitter!</h5> |
| 32 | + <p class={descriptionClasses}>See the latest and start a conversation.</p> |
| 33 | + </div> |
| 34 | + </a> |
| 35 | + <!-- I got the fill value from Discord.svelte, we should talk about color so I can put a style guide together--> |
| 36 | + <!--make a few more ctas and make them a responsive grid--> |
| 37 | + <a class={anchorClasses} target="_blank" href="https://www.youtube.com/c/codingcatdev"> |
| 38 | + <div class={sectionClasses}> |
| 39 | + <div class={logoClasses}> |
| 40 | + <Icon src={Youtube} class="w-8" theme="solid" /> |
| 41 | + </div> |
| 42 | + <h5 class={titleClasses}>Subscribe to our Youtube</h5> |
| 43 | + <p class={descriptionClasses}>See the latest and start a conversation.</p> |
| 44 | + </div> |
| 45 | + </a> |
| 46 | + <!-- last anchor has different classes for responsiveness--> |
| 47 | + <a |
| 48 | + class="bcu-card bcu-card-hover p-8 md:col-span-3 md:max-w-full lg:col-span-1 lg:max-w-xs" |
| 49 | + target="_blank" |
| 50 | + href="https://github.com/sponsors/CodingCatDev" |
| 51 | + > |
| 52 | + <div class={sectionClasses}> |
| 53 | + <div class={logoClasses}> |
| 54 | + <Icon src={Github} class="w-8" theme="solid" /> |
| 55 | + </div> |
| 56 | + <h5 class={titleClasses}>Sponsor our GitHub</h5> |
| 57 | + <p class={descriptionClasses}> |
| 58 | + Star the repo, look at the issues, and sponsor us to help us keep the lights on. |
| 59 | + </p> |
| 60 | + </div> |
| 61 | + </a> |
| 62 | +</div> |
0 commit comments