This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 673
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust pages, account confirm, reset password views
- Loading branch information
1 parent
7dd3f40
commit 8764d94
Showing
13 changed files
with
142 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
const slugUrl = ":slug([a-z-0-9]+)/:id([0-9]+)/"; | ||
const slugUrl = "[slug]/[id]/"; | ||
|
||
export const baseUrl = "/"; | ||
export const searchUrl = `${baseUrl}search/`; | ||
export const categoryUrl = `${baseUrl}category/${slugUrl}`; | ||
export const collectionUrl = `${baseUrl}collection/${slugUrl}`; | ||
|
||
export const pageUrl = `${baseUrl}page/:slug/`; | ||
export const guestOrderDetailsUrl = `/order-history/:token/`; | ||
export const accountUrl = `${baseUrl}account/`; | ||
export const accountConfirmUrl = `${baseUrl}account-confirm/`; | ||
export const orderHistoryUrl = `${baseUrl}order-history/`; | ||
export const addressBookUrl = `${baseUrl}address-book/`; | ||
export const passwordResetUrl = `${baseUrl}reset-password/`; | ||
export const orderFinalizedUrl = `${baseUrl}order-finalized/`; | ||
|
||
export const pageUrl = `${baseUrl}page/[slug]/`; | ||
export const passwordResetUrl = `${baseUrl}reset-password/`; | ||
export const accountConfirmUrl = `${baseUrl}account-confirm/`; | ||
export const cartUrl = `${baseUrl}cart/[[...token]]/`; | ||
export const checkoutLoginUrl = `${baseUrl}login/`; | ||
export const checkoutUrl = `${baseUrl}checkout/`; | ||
export const productUrl = `${baseUrl}product/[slug]/[id]/`; | ||
export const productUrl = `${baseUrl}product/${slugUrl}`; | ||
export const categoryUrl = `${baseUrl}category/${slugUrl}`; | ||
export const collectionUrl = `${baseUrl}collection/${slugUrl}`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { AccountConfirm } from "../views/Account"; | ||
|
||
export default AccountConfirm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { ArticlePage, ArticlePageProps } from "@temp/views/Article"; | ||
|
||
export default ArticlePage; | ||
|
||
ArticlePage.getInitialProps = async ({ query }) => | ||
({ query } as ArticlePageProps); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { PasswordReset } from "@pages"; | ||
|
||
export default PasswordReset; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.