Skip to content

Commit

Permalink
Add Learn More button to Nonprofit in Project (#86)
Browse files Browse the repository at this point in the history
* Add Learn More button to Nonprofit in Project

* add space. change button type

* Switch text and bg colors

---------

Co-authored-by: AndrewLester <[email protected]>
  • Loading branch information
su-esther and AndrewLester authored Jan 24, 2024
1 parent fc4f9ce commit 15cea4c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/routes/projects/[slug]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script lang="ts">
import Button from "$lib/components/Button.svelte";
import DoubleBanner from "$lib/components/DoubleBanner.svelte";
import ProjectMember from "$lib/components/projects/ProjectMember.svelte";
import Section from "$lib/components/Section.svelte";
Expand Down Expand Up @@ -46,6 +47,13 @@
>
<h2>Our Partner</h2>
<p>{data.project.nonprofitDescription}</p>
<Button
href={data.project.nonprofitUrl}
type="primary-custom"
textColor="white"
backgroundColor={data.project.accentColor}
size="small">Learn More &nearr;</Button
>
</Section>

<Section
Expand Down

1 comment on commit 15cea4c

@vercel
Copy link

@vercel vercel bot commented on 15cea4c Jan 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.