Skip to content

Commit

Permalink
Fix links on index.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
fwextensions committed Apr 11, 2024
1 parent 57519a7 commit 220a1b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/components/FooterNav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
linkedinURL,
meetupURL,
pitchProjectURL,
proposalsURL,
proposeTalkURL,
slackURL,
twitterURL
} from "@/utils/urls";
Expand All @@ -16,7 +16,7 @@ const columns = [
[
"Resources",
[
[proposalsURL, "propose a talk"],
[proposeTalkURL, "propose a talk"],
[pitchProjectURL, "pitch a project"],
],
],
Expand Down
10 changes: 5 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import BaseLayout from "@/layouts/BaseLayout.astro";
import Card from "@/components/Card.astro";
import NewsSummary from "@/components/NewsSummary.astro";
import { newsletterURL, pitchProjectURL, slackURL } from "@/utils/urls";
---

<BaseLayout title="Home">
<h1>We are SF Civic Tech</h1>
<BaseLayout title="Home" header="We are SF Civic Tech">
<p>
We are a welcoming and inclusive volunteer group of developers, designers,
data geeks, and citizen activists who use creative technology to solve civic
Expand All @@ -19,19 +19,19 @@ import NewsSummary from "@/components/NewsSummary.astro";
title="Propose a Project"
body="Have any idea to improve community or civic life in San Francisco? We want to hear it."
label="Propose a Project"
href="https://docs.google.com/forms/d/e/1FAIpQLSexe5qvmJ6LTiU1HcR-XAzlrgPLBudVBPK_ouHeBkFz2JVUHw/viewform"
href={pitchProjectURL}
/>
<Card
title="Chat on Slack"
body="Join a rich set of active projects on slack, available whenever and wherever you are."
label="Join Slack"
href="https://c4sf.me/slack"
href={slackURL}
/>
<Card
title="Join Our Newsletter"
body="Keep in touch with the latest and greatest in the civic tech community."
label="Get the Newsletter"
href="https://eepurl.com/bfFkF9"
href={newsletterURL}
/>
</div>
<NewsSummary />
Expand Down
3 changes: 2 additions & 1 deletion src/utils/urls.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export const projectsURL = "https://sfbrigade.notion.site/Current-Projects-4fefa377e1424ff0b59230b9c160e6a4";
export const wikiURL = "https://sfbrigade.notion.site/Code-for-San-Francisco-Wiki-3ae6aaf3ad3f4b7a9caab1c291c60081";
export const proposalsURL = "https://docs.google.com/forms/d/e/1FAIpQLScHe7aWQ-2n3lSTU1WfcK8rhBZp8pkDGH9EcJdbQb5lqMbbzA/viewform";
export const proposeTalkURL = "https://docs.google.com/forms/d/e/1FAIpQLScHe7aWQ-2n3lSTU1WfcK8rhBZp8pkDGH9EcJdbQb5lqMbbzA/viewform";
export const pitchProjectURL = "https://docs.google.com/forms/d/e/1FAIpQLSexe5qvmJ6LTiU1HcR-XAzlrgPLBudVBPK_ouHeBkFz2JVUHw/viewform";
export const newsletterURL = "https://eepurl.com/bfFkF9";
export const memberFormURL = "https://c4sf.me/member";
export const slackURL = "https://c4sf.me/slack";
export const blogURL = "https://c4sf.me/blog";
Expand Down

0 comments on commit 220a1b2

Please sign in to comment.