Skip to content

Commit

Permalink
[update] sticky toc [update] adding title and description for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Animenosekai committed Jun 26, 2022
1 parent 063718e commit 85ed08a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions website/pages/documentation/[...path].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ const Documentation: NextPage = () => {
}, [path, strings])

return <div className='h-full'>
<SEO description='Use multiple services to translate your texts!' />
<SEO title='translatepy — Documentation' description='Learn how to use translatepy!' />
<div className='flex gap-2 w-screen'>
<div className="p-5 ml-3 overflow-y-auto h-1/2 w-max flex flex-col -mt-5 gap-2">
<div className="p-5 ml-3 overflow-y-auto h-1/2 w-max flex flex-col -mt-5 gap-2 sticky top-0">
<Link href="/documentation">
<span className='mx-auto self-center text-xl font-semibold m-5 cursor-pointer'>translatepy docs</span>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion website/pages/stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Stats: NextPage = () => {

return <ServicesColorContextProvider>
<div>
<SEO description='Use multiple services to translate your texts!' />
<SEO title='translatepy — Statistics' description="Look at translatpy's stats to determine which translation service is the best!" />

<div className="flex items-center flex-col p-3 gap-5 w-screen">
<div className='p-5 w-full'>
Expand Down

1 comment on commit 85ed08a

@vercel
Copy link

@vercel vercel bot commented on 85ed08a Jun 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.