-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add event sponsors & supporters section
- Loading branch information
1 parent
44cc59e
commit c2b7105
Showing
8 changed files
with
62 additions
and
80 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,79 @@ | ||
--- | ||
import CompatibilityList from "~/components/compatibilityList.astro"; | ||
import ContentSection from "~/components/contentSection.astro"; | ||
import { Icon } from "astro-icon/components"; | ||
import type { CompatibilityItem } from "~/types"; | ||
const frameworks: Array<CompatibilityItem> = [ | ||
{ | ||
title: "React", | ||
icon: "frameworks/react", | ||
url: "https://reactjs.org/", | ||
}, | ||
{ | ||
title: "Preact", | ||
icon: "frameworks/preact", | ||
url: "https://preactjs.com/", | ||
}, | ||
{ | ||
title: "Svelte", | ||
icon: "frameworks/svelte", | ||
url: "https://svelte.dev/", | ||
}, | ||
{ | ||
title: "Vue", | ||
icon: "frameworks/vue", | ||
url: "https://vuejs.org/", | ||
}, | ||
{ | ||
title: "Solid", | ||
icon: "frameworks/solid", | ||
url: "https://www.solidjs.com/", | ||
}, | ||
{ | ||
title: "Lit", | ||
icon: "frameworks/lit", | ||
url: "https://lit.dev/", | ||
title: "Uphold", | ||
icon: "companies/uphold", | ||
url: "https://uphold.com/en-eu", | ||
}, | ||
]; | ||
const platforms: Array<CompatibilityItem> = [ | ||
{ | ||
title: "Netlify", | ||
icon: "platforms/netlify", | ||
url: "https://www.netlify.com/", | ||
}, | ||
{ | ||
title: "Vercel", | ||
icon: "platforms/vercel", | ||
url: "https://vercel.com/", | ||
}, | ||
{ | ||
title: "Cloudflare", | ||
icon: "fa-brands:cloudflare", | ||
url: "https://pages.cloudflare.com/", | ||
title: "RedBull", | ||
icon: "companies/redbull", | ||
url: "https://uphold.com/en-eu", | ||
}, | ||
{ | ||
title: "Render", | ||
icon: "platforms/render", | ||
url: "https://render.com/", | ||
title: "DSPA", | ||
icon: "companies/dspa", | ||
url: "https://uphold.com/en-eu", | ||
}, | ||
{ | ||
title: "GitHub", | ||
icon: "fa-brands:github", | ||
url: "https://pages.github.com/", | ||
}, | ||
{ | ||
title: "GitLab", | ||
icon: "fa-brands:gitlab", | ||
url: "https://docs.gitlab.com/ee/user/project/pages/", | ||
title: "Startup Braga", | ||
icon: "companies/startup", | ||
url: "https://uphold.com/en-eu", | ||
}, | ||
]; | ||
--- | ||
|
||
<ContentSection title="Compatibility" id="compatibility"> | ||
<ContentSection title="Sponsors" id="companies"> | ||
<Fragment slot="lead"> | ||
Astro <span class="text-primary">plays nice</span>. Bring your own UI{" "} | ||
<span class="text-primary">framework</span> | ||
and deploy to your favorite <span class="text-primary">platform</span>. | ||
Check out the companies that support the event. | ||
</Fragment> | ||
<br /> | ||
<CompatibilityList | ||
items={frameworks} | ||
title="Frameworks" | ||
url="https://docs.astro.build/core-concepts/framework-components/" | ||
/> | ||
items={platforms} | ||
title="Sponsor" | ||
url="https://docs.astro.build/guides/deploy/" | ||
> | ||
<ul | ||
class="flex flex-wrap mx-auto justify-center items-center gap-16 sm:gap-8 h-16" | ||
> | ||
<li> | ||
<a class="flex flex-col items-center mx-8" href=""> | ||
<Icon class="size-36 h-full" name="companies/uphold" /> | ||
</a> | ||
</li> | ||
</ul> | ||
</CompatibilityList> | ||
<CompatibilityList | ||
items={platforms} | ||
title="Platforms" | ||
title="Partners" | ||
url="https://docs.astro.build/guides/deploy/" | ||
/> | ||
> | ||
<ul | ||
class="flex flex-wrap mx-auto justify-center items-center gap-16 sm:gap-8" | ||
> | ||
<li> | ||
<a class="flex flex-col justify-center items-center mx-8" href=""> | ||
<Icon class="size-28 h-full" name="companies/redbull" /> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="flex flex-col items-center mx-8" href=""> | ||
<Icon class="size-36 h-full" name="companies/dspa" /> | ||
</a> | ||
</li> | ||
<li> | ||
<a class="flex flex-col items-center mx-8" href=""> | ||
<Icon class="size-32" name="companies/startup" /> | ||
</a> | ||
</li> | ||
</ul> | ||
</CompatibilityList> | ||
</ContentSection> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.