Skip to content

Commit

Permalink
Add Clerk to headline
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Apr 12, 2024
1 parent e9b66e9 commit 8e5cc01
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/constants/links.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
type Links = Record<string, { href: string, label?: string }>

export const links: Links = {
workos: {
href: 'https://workos.com/',
label: 'WorkOS'
clerk: {
href: 'https://clerk.com//',
label: 'Clerk'
},
twitter: {
href: 'https://laurabeatris.com/twitter'
Expand Down
14 changes: 7 additions & 7 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { InferGetStaticPropsType } from 'next'
import { ArrowRightIcon } from '@chakra-ui/icons'
import { Stack, Text, VStack } from '@chakra-ui/react'
import { InferGetStaticPropsType } from 'next'
import { SWRConfig } from 'swr'
import { ArrowRightIcon } from '@chakra-ui/icons'

import { Heading } from 'components/Base/Heading'
import { Paragraph } from 'components/Base/Paragraph'
import { HighlightLink } from 'components/Base/HighlightLink'
import { Paragraph } from 'components/Base/Paragraph'
import { ProjectsList } from 'components/ProjectsList'
import { links } from 'constants/links'
import { getDayOfWeek } from 'utils/getDayOfWeek'
import { gradients } from 'styles/theme/gradients'
import { getHomePage } from 'graphql/queries/getHomePage'
import { getTimeline } from 'graphql/queries/getTimeline'
import { gradients } from 'styles/theme/gradients'
import { getDayOfWeek } from 'utils/getDayOfWeek'

const { workos } = links
const { clerk } = links

const now = new Date()
const dayOfWeek = getDayOfWeek(now.getDate(), now.getMonth(), now.getFullYear())
Expand Down Expand Up @@ -60,7 +60,7 @@ function HomeContent ({ timeline, initialProjects }: HomeContentProps) {

<VStack spacing={0} width='full' alignItems='flex-start'>
<Paragraph variant='regular'>
Product Engineer at <HighlightLink href={workos.href}>{workos.label}</HighlightLink>
Product Engineer at <HighlightLink href={clerk.href}>{clerk.label}</HighlightLink>
</Paragraph>

<Stack direction={['column', 'row']} spacing={[-1, 1]}>
Expand Down

0 comments on commit 8e5cc01

Please sign in to comment.