-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Replace literal strings with exports from urls.ts, so everything is defined in one place. Fix Twitter and and LinkedIn links.
- Loading branch information
1 parent
1ea6aac
commit 8b2aeda
Showing
4 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
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
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
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,6 +1,6 @@ | ||
export * from "./dateFromSlug"; | ||
export * from "./getBlogImage"; | ||
export * from "./getImageAsset"; | ||
export * from "./urls"; | ||
export * from "./dayjs"; | ||
export { default as dayjs } from "./dayjs"; | ||
export { base } from "./urls"; |
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,16 +1,23 @@ | ||
export const projectsURL = "https://sfbrigade.notion.site/Current-Projects-4fefa377e1424ff0b59230b9c160e6a4"; | ||
// internal paths | ||
export const getStartedURL = "/get-started"; | ||
export const projectsURL = "/projects"; | ||
export const blogURL = "/blog"; | ||
export const donateURL = "/donate"; | ||
export const aboutURL = "/about"; | ||
export const codeOfConductURL = "/about/code-of-conduct"; | ||
|
||
// external URLs | ||
export const wikiURL = "https://sfbrigade.notion.site/Code-for-San-Francisco-Wiki-3ae6aaf3ad3f4b7a9caab1c291c60081"; | ||
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"; | ||
export const meetupURL = "https://www.meetup.com/sfcivictech/"; | ||
export const twitterURL = "https://twitter.com/sfcivictech"; | ||
export const githubURL = "https://github.com/sfbrigade"; | ||
export const githubURL = "https://github.com/sfcivictech"; | ||
export const facebookURL = "https://www.facebook.com/sfcivictech"; | ||
export const linkedinURL = "https://www.linkedin.com/company/sfbrigade/"; | ||
export const linkedinURL = "https://www.linkedin.com/company/sfcivictech/"; | ||
export const zoomURL = "https://c4sf.me/zoom"; | ||
|
||
export const base = (url: string) => url.startsWith("/") ? (import.meta.env.BASE_URL + url).replace("//", "/") : url; |