diff --git a/apps/web/src/modules/social/comments/SignInPanel.tsx b/apps/web/src/modules/social/comments/SignInPanel.tsx index eda74f24..a27bd613 100644 --- a/apps/web/src/modules/social/comments/SignInPanel.tsx +++ b/apps/web/src/modules/social/comments/SignInPanel.tsx @@ -33,7 +33,7 @@ export const SignInPanel = () => { className="bg-material-medium hover:bg-material-light flex h-9 w-9 items-center justify-center rounded-full border border-white/10 text-white transition" aria-label={t('comments.signInWith', { provider: provider.name })} > - + {provider.name} ))} @@ -41,3 +41,36 @@ export const SignInPanel = () => { ) } + +const LoginPlatfoIcon = ({ provider, className }: { provider: string; className?: string }) => { + switch (provider) { + case 'github': { + return + } + case 'google': { + return ( + + + + + + + ) + } + default: { + return null + } + } +} diff --git a/apps/web/src/styles/index.css b/apps/web/src/styles/index.css index c5da90ac..155fbcdd 100644 --- a/apps/web/src/styles/index.css +++ b/apps/web/src/styles/index.css @@ -37,6 +37,6 @@ body { background: theme(colors.zinc.100); } } - +/* @source inline('i-simple-icons-github'); -@source inline('i-simple-icons-google'); +@source inline('i-simple-icons-google'); */