Skip to content

Commit

Permalink
feat: layout
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jul 3, 2023
1 parent 6fc8f10 commit bb46cf5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/components/layout/container/Normal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export const NormalContainer: Component = (props) => {
return (
<div
className={clsxm(
'mx-auto mt-14 max-w-3xl px-2 lg:mt-[120px] lg:px-0 2xl:max-w-4xl',
'mx-auto mt-14 max-w-3xl px-2 lg:mt-[80px] lg:px-0 2xl:max-w-4xl',
'[&_header.prose]:mb-[80px]',
className,
)}
>
Expand Down
3 changes: 2 additions & 1 deletion src/components/layout/container/Wider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export const WiderContainer: Component = (props) => {
return (
<div
className={clsxm(
'mx-auto mt-14 max-w-5xl px-2 lg:mt-[120px] lg:px-0 2xl:max-w-6xl',
'mx-auto mt-14 max-w-5xl px-2 lg:mt-[80px] lg:px-0 2xl:max-w-6xl',
'[&_header.prose]:mb-[80px]',
className,
)}
>
Expand Down
9 changes: 7 additions & 2 deletions src/components/ui/transition/BottomToUpTransitionView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ import { createTransitionView } from './factor'

export const BottomToUpTransitionView = createTransitionView({
from: {
translateY: 50,
y: 50,
opacity: 0.001,
},
to: {
translateY: 0,
y: 0,
opacity: 1,
},
preset: {
type: 'spring',
damping: 10,
stiffness: 100,
},
})

1 comment on commit bb46cf5

@vercel
Copy link

@vercel vercel bot commented on bb46cf5 Jul 3, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

shiro – ./

shiro-git-main-innei.vercel.app
innei.in
springtide.vercel.app
shiro-innei.vercel.app

Please sign in to comment.