Repository navigation
feat(web): link to the other OpenCore sites from the footer #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| // Leo's public sites, linked from the footer of each one. Every repo keeps an | ||
| // identical copy of this list, so update all of them together. URLs are the | ||
| // exact origin each site serves (some redirect apex to www), and the links stay | ||
| // plain followed links on purpose. | ||
|
|
||
| export interface OpenCoreSite { | ||
| readonly name: string; | ||
| readonly description: string; | ||
| readonly url: string; | ||
| } | ||
|
|
||
| export const OPENCORE_SITES = [ | ||
| { | ||
| name: "Social SDK", | ||
| description: "TypeScript SDK for social APIs", | ||
| url: "https://social-sdk.dev", | ||
| }, | ||
| { name: "Email SDK", description: "Email for TypeScript apps", url: "https://email-sdk.dev" }, | ||
| { | ||
| name: "Domain SDK", | ||
| description: "Custom domains for TypeScript", | ||
| url: "https://www.domain-sdk.dev", | ||
| }, | ||
| { name: "SMS SDK", description: "One SDK for SMS providers", url: "https://www.sms-sdk.com" }, | ||
| { | ||
| name: "Sandbox SDK", | ||
| description: "One SDK for cloud sandboxes", | ||
| url: "https://sandbox-sdk.app", | ||
| }, | ||
| { | ||
| name: "Login with ChatGPT", | ||
| description: "ChatGPT sign-in for your app", | ||
| url: "https://loginwithchatgpt.dev", | ||
| }, | ||
| { | ||
| name: "gradients.sh", | ||
| description: "Animated gradients for React", | ||
| url: "https://gradients.sh", | ||
| }, | ||
| { name: "dithercn", description: "Dither effects for your app", url: "https://dithercn.dev" }, | ||
| { name: "BG0", description: "Background removal on your device", url: "https://bg0.dev" }, | ||
| { name: "convt", description: "File conversion on your computer", url: "https://convt.app" }, | ||
| { name: "Amend", description: "Close the loop on user requests", url: "https://amend.sh" }, | ||
| { | ||
| name: "agentdrop", | ||
| description: "Instant links for agent output", | ||
| url: "https://www.agent-drop.co", | ||
| }, | ||
| { | ||
| name: "Akeru Bot", | ||
| description: "Open-source desktop app for Grok bots", | ||
| url: "https://www.akeru-bot.com", | ||
| }, | ||
| { name: "Leo", description: "The developer behind OpenCore", url: "https://leodev.cv" }, | ||
| ] as const satisfies readonly OpenCoreSite[]; | ||
|
|
||
| export type OpenCoreSiteUrl = (typeof OPENCORE_SITES)[number]["url"]; | ||
|
|
||
| /** Every site except the one rendering the footer. */ | ||
| export const otherOpenCoreSites = (current: OpenCoreSiteUrl): readonly OpenCoreSite[] => | ||
| OPENCORE_SITES.filter((site) => site.url !== current); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.