generated from shadcn-ui/next-template
-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feature/config email testing on local environment (#138) * Remove (#92) Co-authored-by: Pjaijai <[email protected]> * [#137] Config email testing on local environment * Fix .env variable name --------- Co-authored-by: Pjaijai <[email protected]> Co-authored-by: Pjaijai <[email protected]> * Feature/revamp card (#135) * Feature/update backend setup on developer md (#104) * Ignore local IDE config * Update backend setup guidelines on developer.md * Add supabase config guidelines * Fix md syntax * add CORS to edge func depending on the staging env * add reply-to header to both contact email (#109) * Feature/refactor search hook (#96) * Refactor search hook in referral page * Refactor referee search hook * Remove useless import * Refactor referee post * Refactor referrer post search hook * Remmove uesless import * Change to error toast (#106) Co-authored-by: Pjaijai <[email protected]> --------- Co-authored-by: Pjaijai <[email protected]> * create new card component for referrer and referee; update card skeleton; add missing modules in tailwind * add referral post card; update referral post pages * update contact toUuid; minor ui fix * add items-center to info display * Show edit button on profile page if logged-in user is profile user * Fix build error * Fix typos * Import as module path * Module import * Using Link instead of onurlclick * Fix import * Remove id slug user page * Remove showEditButton props --------- Co-authored-by: Lulu <[email protected]> Co-authored-by: Thomas Yau <[email protected]> Co-authored-by: Thomas Yau <[email protected]> Co-authored-by: Pjaijai <[email protected]> Co-authored-by: Pjaijai <[email protected]> Co-authored-by: Lulu Tung <[email protected]> * Refactor/fix all formart problem (#142) * Fix doc * Fix format --------- Co-authored-by: Pjaijai <[email protected]> * Refactor/fixing site config and using common layout (#172) * Rename search page layout to common page layout * refactor common layout * Using common layout * Remove margin top in create post template --------- Co-authored-by: Pjaijai <[email protected]> * version bump (#175) Co-authored-by: Pjaijai <[email protected]> * Feature/contributors page (#174) * fix file name --------- Co-authored-by: Lulu <[email protected]> Co-authored-by: Pjaijai <[email protected]> Co-authored-by: marukosy124 <[email protected]> Co-authored-by: Thomas Yau <[email protected]> Co-authored-by: Thomas Yau <[email protected]> Co-authored-by: Lulu Tung <[email protected]>
- Loading branch information
1 parent
50dc364
commit 4d96dd5
Showing
24 changed files
with
349 additions
and
80 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from "react" | ||
import ContributorsPageTemplate from "@/modules/contributors/template" | ||
|
||
import { siteConfig } from "@/config/site" | ||
import CommonPageLayout from "@/components/layouts/common" | ||
|
||
const ContributorsPage = () => { | ||
return ( | ||
<CommonPageLayout title={siteConfig.page.contributors.name}> | ||
<ContributorsPageTemplate /> | ||
</CommonPageLayout> | ||
) | ||
} | ||
|
||
export default ContributorsPage |
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
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,3 +1,5 @@ | ||
"use client" | ||
|
||
import React from "react" | ||
import Link from "next/link" | ||
|
||
|
@@ -6,33 +8,52 @@ import { Icons } from "@/components/icons" | |
|
||
const NavFooter = () => { | ||
return ( | ||
<footer className="mt-12 flex flex-col items-center justify-end gap-2 border-t-2 p-2 md:flex-row"> | ||
<div className="flex flex-row items-center gap-1 text-sm text-muted-foreground "> | ||
<a href="mailto:[email protected]"> | ||
<Icons.mail /> | ||
</a> | ||
|
||
<Link | ||
className="text-sm text-muted-foreground" | ||
href={siteConfig.links.github} | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<Icons.github /> | ||
</Link> | ||
|
||
<Link | ||
className="text-sm text-muted-foreground" | ||
href={siteConfig.page.privacyPolicy.href} | ||
> | ||
Privacy Policy | ||
</Link> | ||
<Link | ||
className="text-sm text-muted-foreground" | ||
href={siteConfig.page.termsAndConditions.href} | ||
> | ||
Terms and Conditions | ||
</Link> | ||
<footer className="mt-12 flex flex-col items-center justify-center gap-2 border-t-2 p-2 md:flex-row "> | ||
<div className="flex flex-col items-center gap-1 text-sm text-muted-foreground "> | ||
<div className="flex flex-row gap-2"> | ||
<a href="mailto:[email protected]"> | ||
<Icons.mail /> | ||
</a> | ||
|
||
<Link | ||
className="text-sm text-muted-foreground" | ||
href={siteConfig.links.github} | ||
target="_blank" | ||
rel="noreferrer" | ||
> | ||
<Icons.github /> | ||
</Link> | ||
</div> | ||
|
||
<div className="flex flex-col gap-2 md:flex-row"> | ||
<Link | ||
className="text-center text-sm text-muted-foreground" | ||
href={siteConfig.page.privacyPolicy.href} | ||
> | ||
Privacy Policy | ||
</Link> | ||
|
||
<Link | ||
className="text-center text-sm text-muted-foreground" | ||
href={siteConfig.page.termsAndConditions.href} | ||
> | ||
Terms and Conditions | ||
</Link> | ||
|
||
<Link | ||
className="text-center text-sm text-muted-foreground" | ||
href={siteConfig.page.about.href} | ||
> | ||
{siteConfig.page.about.name} | ||
</Link> | ||
|
||
<Link | ||
className="text-center text-sm text-muted-foreground" | ||
href={siteConfig.page.contributors.href} | ||
> | ||
{siteConfig.page.contributors.name} | ||
</Link> | ||
</div> | ||
</div> | ||
</footer> | ||
) | ||
|
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React, { PropsWithChildren } from "react" | ||
|
||
interface CommonPageLayout { | ||
title?: string | ||
} | ||
const CommonPageLayout: React.FunctionComponent< | ||
PropsWithChildren<CommonPageLayout> | ||
> = ({ title, children }) => { | ||
return ( | ||
<div className="mt-4 h-full w-full"> | ||
{title && <h1 className=" text-center text-2xl font-bold">{title}</h1>} | ||
|
||
{children} | ||
</div> | ||
) | ||
} | ||
|
||
export default CommonPageLayout |
This file was deleted.
Oops, something went wrong.
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.