Skip to content

Commit

Permalink
update structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnhan90 committed Jan 11, 2024
1 parent d51c87c commit ef7d0b3
Show file tree
Hide file tree
Showing 15 changed files with 136 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"next": "14.0.1",
"next-auth": "^4.24.4",
"next-i18next": "^15.0.0",
"query-string": "^8.1.0",
"react": "^18",
"react-bootstrap": "^2.9.2",
"react-dom": "^18",
Expand Down
Empty file.
Empty file.
11 changes: 11 additions & 0 deletions src/app/account/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const AccountPage = () =>{

return (
<div>
AccountPage
</div>
)
}

export default AccountPage;
11 changes: 11 additions & 0 deletions src/app/chef/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const ChefDetailPage = () =>{

return (
<div>
ChefDetailPage
</div>
)
}

export default ChefDetailPage;
11 changes: 11 additions & 0 deletions src/app/chef/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const ChefPage = () =>{

return (
<div>
ChefPage
</div>
)
}

export default ChefPage;
11 changes: 11 additions & 0 deletions src/app/food/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const FoodDetailPage = () =>{

return (
<div>
FoodDetailPage
</div>
)
}

export default FoodDetailPage;
11 changes: 11 additions & 0 deletions src/app/homepage/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const HomePage = () =>{

return (
<div>
HomePage123
</div>
)
}

export default HomePage;
11 changes: 11 additions & 0 deletions src/app/landingpage/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const LandingPage = () =>{

return (
<div>
LandingPage 1223
</div>
)
}

export default LandingPage;
11 changes: 11 additions & 0 deletions src/app/login/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const LoginPage = () =>{

return (
<div>
LoginPage
</div>
)
}

export default LoginPage;
11 changes: 11 additions & 0 deletions src/app/order/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const OrderPage = () =>{

return (
<div>
OrderPage
</div>
)
}

export default OrderPage;
9 changes: 9 additions & 0 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Link from "next/link"

export default function IndexPage () {
return (
<div>
<Link href={"/landingpage"}>Landingpage</Link>
</div>
)
}
11 changes: 11 additions & 0 deletions src/app/search/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

const SearchPage = () =>{

return (
<div>
SearchPage
</div>
)
}

export default SearchPage;
6 changes: 3 additions & 3 deletions src/components/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import Link from "next/link";
import { useState, useEffect } from 'react';
import { useRouter } from 'next/router';
import Dropdown from 'react-bootstrap/Dropdown';
import CartModel from '@components/cart/cartModel';
import CheckLogin from '@components/header/checkLogin';
import CartHeader from '@components/header/cartHeader';
import CartModel from '@/components/cart/cartModel';
import CheckLogin from '@/components/header/checkLogin';
import CartHeader from '@/components/header/cartHeader';

type HeaderType = {
isErrorPage?: Boolean;
Expand Down
24 changes: 24 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,11 @@ debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
dependencies:
ms "2.1.2"

decode-uri-component@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.4.1.tgz#2ac4859663c704be22bf7db760a1494a49ab2cc5"
integrity sha512-+8VxcR21HhTy8nOt6jf20w0c9CADrw1O8d+VZ/YzzCt4bJ3uBjw+D1q2osAB8RnpwwaeYBxy0HyKQxD5JBMuuQ==

decompress-response@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-5.0.0.tgz#7849396e80e3d1eba8cb2f75ef4930f76461cb0f"
Expand Down Expand Up @@ -1256,6 +1261,11 @@ fill-range@^7.0.1:
dependencies:
to-regex-range "^5.0.1"

filter-obj@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-5.1.0.tgz#5bd89676000a713d7db2e197f660274428e524ed"
integrity sha512-qWeTREPoT7I0bifpPUXtxkZJ1XJzxWtfoWWkdVGqa+eCr3SHW/Ocp89o8vLvbUuQnadybJpjOKu4V+RwO6sGng==

find-up@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc"
Expand Down Expand Up @@ -2336,6 +2346,15 @@ punycode@^2.1.0:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5"
integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==

query-string@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/query-string/-/query-string-8.1.0.tgz#e7f95367737219544cd360a11a4f4ca03836e115"
integrity sha512-BFQeWxJOZxZGix7y+SByG3F36dA0AbTy9o6pSmKFcFz7DAj0re9Frkty3saBn3nHo3D0oZJ/+rx3r8H8r8Jbpw==
dependencies:
decode-uri-component "^0.4.1"
filter-obj "^5.1.0"
split-on-first "^3.0.0"

queue-microtask@^1.2.2:
version "1.2.3"
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
Expand Down Expand Up @@ -2593,6 +2612,11 @@ source-map-js@^1.0.2:
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c"
integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==

split-on-first@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-3.0.0.tgz#f04959c9ea8101b9b0bbf35a61b9ebea784a23e7"
integrity sha512-qxQJTx2ryR0Dw0ITYyekNQWpz6f8dGd7vffGNflQQ3Iqj9NJ6qiZ7ELpZsJ/QBhIVAiDfXdag3+Gp8RvWa62AA==

streamsearch@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764"
Expand Down

0 comments on commit ef7d0b3

Please sign in to comment.