mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-06 04:22:07 +00:00
merge main
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user