Skip to content

Commit

Permalink
docs: to swift
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainHPY committed May 16, 2024
1 parent 07bf5b8 commit 786caca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Footer() {
<SocialLinks />

<p className='mt-8 text-sm text-gray-600 dark:text-gray-300'>
© Theodorus Clarence {new Date().getFullYear()}
© BJUT Swift {new Date().getFullYear()}
{feedbackFlag && (
<>
{' • '}
Expand Down Expand Up @@ -127,7 +127,7 @@ function SocialLinks() {
const footerLinks: { href: string; text: string; tooltip: React.ReactNode }[] =
[
{
href: 'https://github.com/theodorusclarence/theodorusclarence.com',
href: 'https://github.com/bjut-swift/swifts-nest',
text: 'Source Code',
tooltip: (
<>
Expand Down Expand Up @@ -191,7 +191,7 @@ type Social = {
};
const socials: Social[] = [
{
href: 'https://clarence.link/github',
href: 'https://github.com/bjut-swift',
icon: SiGithub,
id: 'Github',
text: (
Expand Down
19 changes: 12 additions & 7 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import clsx from 'clsx';
import { InferGetStaticPropsType } from 'next';
import * as React from 'react';
import { IoArrowDownOutline } from 'react-icons/io5';
import { IoNewspaperSharp } from 'react-icons/io5';
import { SiGithub, SiTwitter } from 'react-icons/si';
import { InView } from 'react-intersection-observer';

Expand All @@ -24,6 +23,8 @@ import Seo from '@/components/Seo';
import TC from '@/components/TC';
import Tooltip from '@/components/Tooltip';

import Lark from '/public/images/Lark.svg';

export default function IndexPage({
featuredPosts,
featuredProjects,
Expand Down Expand Up @@ -109,16 +110,20 @@ export default function IndexPage({
href='https://clarence.link/cv'
className={clsx(
'inline-flex items-center gap-1 text-sm font-medium md:text-base',
'text-gray-600 hover:text-black dark:text-gray-400 dark:hover:text-white',
'group text-gray-600 hover:text-black dark:text-gray-400 dark:hover:text-white',
'focus:outline-none focus-visible:ring focus-visible:ring-primary-300',
'transition-colors'
)}
onClick={() => {
trackEvent('Social Link: Resume', { type: 'link' });
trackEvent('Social Link: Lark', { type: 'link' });
}}
>
<IoNewspaperSharp className='shrink-0' />
<span>Resume</span>
<Lark
height={16}
width={16}
className='shrink-0 transition-colors group-hover:text-[#1da1f2]'
/>
<span>lark</span>
</UnstyledLink>
<UnstyledLink
href='https://twitter.com/th_clarence'
Expand All @@ -136,7 +141,7 @@ export default function IndexPage({
<span>@th_clarence</span>
</UnstyledLink>
<UnstyledLink
href='https://github.com/theodorusclarence'
href='https://github.com/bjut-swift'
className={clsx(
'inline-flex items-center gap-1 text-sm font-medium md:text-base',
'text-gray-600 hover:text-black dark:text-gray-400 dark:hover:text-white',
Expand All @@ -148,7 +153,7 @@ export default function IndexPage({
}}
>
<SiGithub className='shrink-0' />
<span>theodorusclarence</span>
<span>bjut-swift</span>
</UnstyledLink>
</div>
</article>
Expand Down

0 comments on commit 786caca

Please sign in to comment.