Skip to content

Commit

Permalink
style: remove container from layout
Browse files Browse the repository at this point in the history
  • Loading branch information
pooriaset committed Dec 11, 2024
1 parent 7a2b972 commit 7ff6abd
Show file tree
Hide file tree
Showing 48 changed files with 4 additions and 45 deletions.
38 changes: 0 additions & 38 deletions src/app/[locale]/(main)/(container)/layout.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ChevronLeft } from '@mui/icons-material';
import { Box, Grid, Link, Stack } from '@mui/material';
import { grey } from '@mui/material/colors';
import React, { FC } from 'react';
import Image from '../../../../../../components/common/Image';
import Image from '@/components/common/Image';

export interface IMainCategory {
id: number | string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ const MainSlider: FC<MainSliderProps> = ({ items }) => {
pagination={{
clickable: true,
}}
style={{
borderRadius: 16,
}}
>
{items?.map((item) => {
return (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/app/[locale]/(main)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ISliderItem } from '@/app/[locale]/(main)/(container)/(homepage)/components/MainSlider/types';
import { ISliderItem } from '@/app/[locale]/(main)/(homepage)/components/MainSlider/types';
import { Footer } from '@/components/Footer';
import { Header } from '@/components/Header';
import { getClient } from '@/graphql/clients/serverSideClient';
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import { useProductContext } from '@/app/[locale]/(main)/(container)/products/[...params]/hooks/useProductContext';
import { useProductContext } from '@/app/[locale]/(main)/products/[...params]/hooks/useProductContext';
import CartItemController from '@/components/CartItemController/CartItemController';
import useNewDialog from '@/components/Dialog/hooks/useNewDialog';
import ButtonWithLoading from '@/components/common/ButtonWithLoading';
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/Header/components/TopBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ISliderItem } from '@/app/[locale]/(main)/(container)/(homepage)/components/MainSlider/types';
import { ISliderItem } from '@/app/[locale]/(main)/(homepage)/components/MainSlider/types';
import Image from 'next/image';
import React, { FC } from 'react';

Expand Down

0 comments on commit 7ff6abd

Please sign in to comment.