Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into AboutUsPage
Browse files Browse the repository at this point in the history
  • Loading branch information
supattrw committed Oct 20, 2024
2 parents f03a030 + 211b026 commit 10fdfd1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/app/[locale]/(default)/news/(main)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function NewsPage({
<ItemGrid page={page} />
</Suspense>
<PaginationCarousel
className='my-6'
className='mt-6'
totalPages={Math.ceil(articleData.length / 6)}
/>
</>
Expand Down
4 changes: 2 additions & 2 deletions src/app/[locale]/(default)/news/[article]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default function ArticlePage({
return (
<article>
<header>
<div className='mt-5 mb-10 flex justify-center'>
<div className='mb-10 flex justify-center'>
<Image
className='h-auto w-full max-w-4xl rounded-lg'
src={`/${article.photoUrl}`}
Expand Down Expand Up @@ -85,7 +85,7 @@ export default function ArticlePage({
</div>
<Badge variant='secondary'>{`${article.views} ${t('views')}`}</Badge>
</section>
<section className='my-6'>{article.content}</section>
<section>{article.content}</section>
</article>
);
}
2 changes: 1 addition & 1 deletion src/app/[locale]/(default)/storage/(main)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function StorageLayout({
return (
<>
<div className='relative'>
<h1 className='my-4 text-center'>{t('title')}</h1>
<h1 className='text-center'>{t('title')}</h1>
<ShoppingCartLink
t={{ viewShoppingCart: t('tooltips.viewShoppingCart') }}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function ShoppingCartSkeleton() {
return (
<>
<ShoppingCartTableSkeleton t={tableMessages} />
<div className='relative mb-8 flex flex-col gap-4'>
<div className='relative flex flex-col gap-4'>
<Skeleton className='h-10 w-full sm:mx-auto sm:w-32' />
<Skeleton className='sm:-translate-y-1/2 h-10 w-full sm:absolute sm:top-1/2 sm:right-0 sm:w-44' />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/(default)/storage/shopping-cart/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function StorageShoppingCartPage({
return (
<>
<ShoppingCartTable t={tableMessages} />
<div className='relative mb-8 flex flex-col gap-4'>
<div className='relative flex flex-col gap-4'>
<BorrowDialog t={borrowNowMessages} className='sm:mx-auto' />
<ShoppingCartClearDialog
t={{
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function Main({ children, className }: MainProps) {
return (
<main
className={cx(
'~px-4/24 mx-auto w-full max-w-screen-2xl flex-grow',
'~px-4/24 mx-auto my-6 w-full max-w-screen-2xl flex-grow',
className,
)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function Combobox({
<PopoverTrigger asChild>
<Button
variant='outline'
role='combobox'
role='combobox' // biome-ignore lint: Button is styled, so we're not using the select element
aria-expanded={open}
aria-label={ariaLabel}
className={cx('w-[200px] justify-between', buttonClassName)}
Expand Down

0 comments on commit 10fdfd1

Please sign in to comment.