OGP meta tags and SEO optimization
This commit is contained in:
@@ -25,13 +25,13 @@ export function Day({ day }: {
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-3 md:gap-5">
|
||||
<h1 className={cx('scroll-m-20 text-2xl md:text-4xl font-extrabold tracking-tight lg:text-5xl', { 'text-[hsl(var(--grayed-out))]': dayPassed })} id={getDayOfWeek(day.date)}>
|
||||
<h2 className={cx('scroll-m-20 text-2xl md:text-4xl font-extrabold tracking-tight lg:text-5xl', { 'text-[hsl(var(--grayed-out))]': dayPassed })} id={getDayOfWeek(day.date)}>
|
||||
{dayOfWeek} <span className={cx('ml-3', { 'text-border': !dayPassed })}>{Intl.DateTimeFormat('ru-RU', {
|
||||
day: 'numeric',
|
||||
month: 'long',
|
||||
// year: 'numeric'
|
||||
}).format(day.date)}</span>
|
||||
</h1>
|
||||
</h2>
|
||||
<div>
|
||||
<div className='overflow-auto md:snap-x md:snap-proximity md:-translate-x-16 md:w-[calc(100%+8rem)] scrollbar-hide'>
|
||||
<div className="flex flex-col md:flex-row gap-4 w-full md:w-max">
|
||||
|
||||
Reference in New Issue
Block a user