Skip to content

Commit

Permalink
feat(website): UI/UX improvements (#1191)
Browse files Browse the repository at this point in the history
Co-authored-by: Daishi Kato <[email protected]>
  • Loading branch information
sandren and dai-shi authored Jan 27, 2025
1 parent 18965de commit 39d522e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/website/src/components/mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const components = {
return (
<h2
id={id}
className="mb-2 mt-16 scroll-mt-16 text-balance text-3xl font-bold leading-none text-white first:mt-0 sm:text-[2.75rem] xl:mt-32 xl:scroll-mt-32"
className="mb-2 mt-16 scroll-mt-16 text-balance text-3xl font-bold leading-none text-white first:mt-0 sm:text-[2.75rem] xl:mt-20 xl:scroll-mt-20"
{...rest}
>
<a href={`#${id}`}>{children}</a>
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/pages/blog/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default async function BlogArticlePage({ slug }: BlogArticlePageProps) {
<h1 className="font-serif text-3xl font-extrabold leading-none sm:text-6xl">
{frontmatter.title}
</h1>
<h3 className="mt-2 text-lg font-normal leading-snug text-white/60 sm:mt-0 sm:text-xl sm:font-bold">
<h3 className="mt-2 text-lg font-normal leading-snug text-white/60 sm:mt-1 sm:text-xl sm:font-bold">
{frontmatter.description}
</h3>
<a
Expand Down
2 changes: 1 addition & 1 deletion packages/website/src/pages/blog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default async function BlogIndexPage() {
<h3 className="mt-6 font-serif text-2xl font-extrabold leading-none sm:text-4xl">
{article.title}
</h3>
<div className="mt-2 text-sm font-normal leading-snug text-white/60 sm:mt-0 sm:text-base">
<div className="mt-2 text-sm font-normal leading-snug text-white/60 sm:mt-1 sm:text-base">
{article.description}
</div>
</Link>
Expand Down

0 comments on commit 39d522e

Please sign in to comment.