Skip to content

Commit

Permalink
change: use font inter
Browse files Browse the repository at this point in the history
  • Loading branch information
MGarcia93 committed Jul 12, 2023
1 parent 7245465 commit 1439235
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/components/ScheduleItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { getLocalTime } from '../utils/getLocalTime'
interface Props {
item: typeItem
}
export default function ScheduleItem ({
export default function ScheduleItem({
item: { date, name, speaker, type },
}: Props) {
const { time } = useMemo(() => getLocalTime(date), [date])
return (
<article>
<h3 className='flex flex-col md:flex-row font-bold gap-4 items-center text-2xl leading-8 mb-2'>
<article className="font-Inter">
<h3 className="flex flex-col md:flex-row font-bold gap-4 items-center text-2xl leading-8 mb-2">
<span
className={`md:max-w-[80%] ${
type === 'presentation'
Expand All @@ -21,12 +21,12 @@ export default function ScheduleItem ({
{name}
</span>

<span className='text-[#ffddaf] md:border-l-4 md:pl-4 md:border-gray-500'>
<span className="text-[#ffddaf] md:border-l-4 md:pl-4 md:border-gray-500">
{time}hs
</span>
</h3>
{type === 'presentation' && (
<p className='text-gray-500 font-semibold'>{speaker}</p>
<p className="text-gray-500 font-semibold">{speaker}</p>
)}
</article>
)
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const ogTitle =
</title>

<body
class="bg-[url('/bg_section.webp')] bg-fixed bg-cover bg-center container m-auto font-Inter"
class="bg-[url('/bg_section.webp')] bg-fixed bg-cover bg-center container m-auto"
>
<Header />
<main>
Expand Down

0 comments on commit 1439235

Please sign in to comment.