merge main

This commit is contained in:
Jesse Winton
2024-08-09 15:42:20 -04:00
574 changed files with 10635 additions and 5064 deletions

View File

@@ -1,13 +1,16 @@
export const GITHUB_STARS = '41.9K';
export const BANNER_KEY = 'discord-banner-01'; // Change key to force banner to show again
export const GITHUB_STARS = '42.8K';
export const BANNER_KEY: Banners = 'init-banner-02'; // Change key to force banner to show again
export const SENTRY_DSN =
'https://27d41dc8bb67b596f137924ab8599e59@o1063647.ingest.us.sentry.io/4507497727000576';
/**
* History:
* discord-banner-01
* init-banner-02
* pricing-banner-01
*/
type Banners = 'discord-banner-01' | 'init-banner-02' | 'pricing-banner-01'
export type Social = {
icon: string;
@@ -15,6 +18,40 @@ export type Social = {
link: string;
};
export type SocialShareOption = {
icon: string;
label: string;
link: string;
type: 'link' | 'copy';
};
export const socialSharingOptions: Array<SocialShareOption> = [
{
icon: 'web-icon-x',
label: 'Twitter',
link: 'https://x.com/intent/post?text={TITLE}\n&url={URL}',
type: 'link'
},
{
icon: 'web-icon-linkedin',
label: 'LinkedIn',
link: 'https://www.linkedin.com/sharing/share-offsite?text={TITLE}\n&url={URL}',
type: 'link'
},
{
icon: 'web-icon-ycombinator',
label: 'YCombinator',
link: 'https://news.ycombinator.com/submitlink?t={TITLE}\n&u={URL}',
type: 'link'
},
{
icon: 'web-icon-copy',
label: 'Copy',
link: '',
type: 'copy'
}
]
export const socials: Array<Social> = [
{
icon: 'web-icon-discord',