Skip to content

Commit

Permalink
Merge pull request #12 from chadwhitacre/cwlw/adopt-to-join
Browse files Browse the repository at this point in the history
Switch CTA from "adopt" to "join"
  • Loading branch information
elijames-codecov authored Aug 2, 2024
2 parents 3a3f66f + a5d8e18 commit 8672073
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const links = [
target: ''
},
{
name: 'Adopt Fair Source',
url: '/howto/',
name: 'Join',
url: '/join/',
target: ''
},
];
Expand Down
6 changes: 3 additions & 3 deletions src/pages/companies.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const seoMetaData = {
Explore the innovative companies that have adopted Fair Source.
</p>
<div class="flex flex-wrap flex-col md:flex-row w-12/12 mb-[11.44rem] gap-[1rem] justify-center">
<Button url="/howto" type="primary" cta="Adopt Fair Source"></Button>
<Button url="https://github.com/fairsource/fair.io/issues" type="secondary" color="black" cta="Add your Project" background="background"></Button>
<Button url="/join" type="primary" cta="Join Fair Source"></Button>
<Button url="https://github.com/fairsource/fair.io/issues" type="secondary" color="black" cta="Add Your Company" background="background"></Button>
</div>
</div>
<div class="relative min-w-full overflow-visible z-0">
Expand Down Expand Up @@ -61,4 +61,4 @@ const seoMetaData = {
</Section>
</main>

</Layout>
</Layout>
4 changes: 2 additions & 2 deletions src/pages/definition.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const seoMetaData = {
<h1>Fair Source Definition</h1>
<p class="text-[1.75rem] font-[500] leading-[130%] tracking-[-0.035rem] mb-[1.5rem]">Explore the innovative companies that have adopted Fair Source.</p>
<div class="flex flex-wrap items-center justify-center columns-2 gap-[1rem]">
<Button cta="Adopt Fair Source" url="/howto" type="primary" />
<Button cta="Add Your Project" url="https://github.com/fairsource/fair.io" type="secondary" />
<Button cta="Join Fair Source" url="/join" type="primary" />
<Button cta="Add Your Company" url="https://github.com/fairsource/fair.io" type="secondary" />
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/faq.astro
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const seoMetaData = {
</div>
</Collapse>
<Collapse
title="Why should I adopt Fair Source for my product?"
title="Why should I adopt Fair Source at my company?"
collapseID="collapse-3"
>
<div class="relative flex flex-wrap pb-[3rem]">
Expand Down Expand Up @@ -203,4 +203,4 @@ const seoMetaData = {
</Section>
</main>

</Layout>
</Layout>
6 changes: 3 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const seoMeta = {
</h1>
<p class="text-balance text-black text-[1.5rem] xl:text-[2rem] leading-[130%] font-sans font-[500] mb-6">Balance innovation and protection with Fair Source licensing.</p>
<div class="flex flex-wrap gap-4">
<Button type="primary" url='/howto' color="teal" cta="Adopt Fair Source" />
<Button type="primary" url='/join' color="teal" cta="Join Fair Source" />
<Button type="secondary" url='/faq' color="black" cta="Learn More" />
</div>
</div>
Expand All @@ -48,9 +48,9 @@ const seoMeta = {
<div class="w-12/12 xl:w-1/2 xl:order-1">
<div class="py-[3rem] md:py-[3rem] lg:py-[4rem] xl:py-[6rem] 2xl:py-[6.9rem]">
<span class="text-teal tag">Embrace Fair Source</span>
<h2>Learn how to adopt Fair Source for your projects</h2>
<h2>Learn how to adopt Fair Source at your company</h2>
<p class="mb-6">Whether you’re a developer looking to contribute or a business aiming to innovate, we the provide steps to successfully implement Fair Source in your projects. Join the community of ethical and innovative software sharing, balancing collaboration with control for everyone involved.</p>
<Button type="secondary" cta="adopt fair source" url="/howto" color="teal" />
<Button type="secondary" cta="join fair source" url="/join" color="teal" />
</div>
</div>
</Section>
Expand Down
10 changes: 5 additions & 5 deletions src/pages/howto.astro → src/pages/join.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ import adoptHeroImage from '../assets/adopt/adoptHeroImage.png';
const seoMetaData = {
description: `Here's how to adopt Fair Source for your project.`,
slug: 'howto/'
slug: 'join/'
};
---

<Layout title="How to Adopt Fair Source" seo={seoMetaData}>
<Layout title="Join Fair Source" seo={seoMetaData}>
<header class="container relative px-[1.5rem] mx-auto flex flex-wrap lg:px-[3rem] overflow-clip">

<div class="w-12/12 xl:w-5/12 py-[3rem] lg:py-[8rem] xl:pb-[15.25rem] xl:pt-[12.38rem]">
<h1 class="text-balance mb-[1rem]">How to Adopt Fair Source</h1>
<p class="text-[1.75rem] font-[500] leading-[130%] tracking-[0.035rem]">Sold on the <a href="/" class="underline">benefits</a>? Here's how to adopt Fair Source for your project.</p>
<h1 class="text-balance mb-[1rem]">Join Fair Source</h1>
<p class="text-[1.75rem] font-[500] leading-[130%] tracking-[0.035rem]">Sold on the <a href="/faq" class="underline">benefits</a>? Here's how to adopt Fair Source at your company.</p>
</div>
<div class="absolute hidden right-0 top-0 w-1/2 xl:block">
<Image src={adoptHeroImage} alt="How to adopt fair source" densities={[1, 2]}/>
Expand Down Expand Up @@ -159,4 +159,4 @@ const seoMetaData = {
.glyph{
padding-top: 5px;
}
</style>
</style>

0 comments on commit 8672073

Please sign in to comment.