Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
✨ webshop information
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlevay committed Oct 31, 2023
1 parent 87f7bb8 commit 0d1b37a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/pages/webshop/checkout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import
import { i18n } from 'next-i18next';
import { useRouter } from 'next/router';
import { useState } from 'react';
import MarkdownPage from '~/components/MarkdownPage';
import PageHeader from '~/components/PageHeader';
import genGetProps from '~/functions/genGetServerSideProps';
import selectTranslation from '~/functions/selectTranslation';
Expand Down Expand Up @@ -84,6 +85,7 @@ export default function CartPage() {
>
Starta betalning
</LoadingButton>
<MarkdownPage name="checkout" />
</Stack>
</>
);
Expand Down
2 changes: 2 additions & 0 deletions frontend/pages/webshop/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Button, Stack } from '@mui/material';
import Link from 'next/link';
import { useState } from 'react';
import MyCart from '~/components/Header/components/MyCart';
import MarkdownPage from '~/components/MarkdownPage';
import PageHeader from '~/components/PageHeader';
import ProductCategories from '~/components/Webshop/ProductCategories';
import Products from '~/components/Webshop/Products';
Expand Down Expand Up @@ -46,6 +47,7 @@ export default function WebshopPage() {
{isNativeApp && <MyCart />}
</Stack>
<Products categoryId={selectedCategory?.id} />
<MarkdownPage name="webshop" />
</Stack>
);
}
Expand Down

0 comments on commit 0d1b37a

Please sign in to comment.