mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 21:07:46 +00:00
update: better naming.
This commit is contained in:
@@ -21,7 +21,7 @@ export type SocialShareOption = {
|
||||
type: 'link' | 'copy';
|
||||
};
|
||||
|
||||
export const sharingOptions: Array<SocialShareOption> = [
|
||||
export const socialSharingOptions: Array<SocialShareOption> = [
|
||||
{
|
||||
icon: 'web-icon-x',
|
||||
label: 'Twitter',
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import type { AuthorData, CategoryData, PostsData } from '$routes/blog/content';
|
||||
import { BLOG_TITLE_SUFFIX } from '$routes/titles';
|
||||
import { getContext } from 'svelte';
|
||||
import { type SocialShareOption, sharingOptions } from '$lib/constants';
|
||||
import { type SocialShareOption, socialSharingOptions } from '$lib/constants';
|
||||
import { copy } from '$lib/utils/copy';
|
||||
import { page } from '$app/stores';
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
</span>
|
||||
|
||||
<ul class="u-flex u-gap-8">
|
||||
{#each sharingOptions as sharingOption}
|
||||
{#each socialSharingOptions as sharingOption}
|
||||
<li class="share-list-item">
|
||||
<Tooltip placement="bottom" disableHoverableContent={true}>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user