generated from sanity-io/sanity-template-nextjs-clean
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update logo image; move What We Do content to constants
- Loading branch information
1 parent
20d7009
commit 1c992e6
Showing
9 changed files
with
81 additions
and
83 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 was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
nextjs-app/components/pages/about/philosophy/WhatWeDoPhilosophy.tsx
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,26 @@ | ||
import Image from "next/image"; | ||
import { WHAT_WE_DO } from "@/constants/what-we-do"; | ||
|
||
const WhatWeDoPhilosophy = () => ( | ||
<section className="px-5 md:px-10 py-[72px] md:py-[120px] bg-blue-8"> | ||
<div className="mx-auto text-center space-y-11"> | ||
<div className="flex flex-col items-center space-y-7"> | ||
<div className="space-y-3 text-h1 text-white"> | ||
<div>{WHAT_WE_DO.zhTitle}</div> | ||
<div>{WHAT_WE_DO.enTitle}</div> | ||
</div> | ||
<Image | ||
src={WHAT_WE_DO.logo.src} | ||
alt={WHAT_WE_DO.logo.alt} | ||
width={120} | ||
height={120} | ||
/> | ||
<div className="max-w-[684px] text-subtitle-lg text-white whitespace-break-spaces"> | ||
{WHAT_WE_DO.description} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
|
||
export default WhatWeDoPhilosophy; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
import Button from "@/components/common/Button/Button"; | ||
import { WHAT_WE_DO } from "@/constants/what-we-do"; | ||
|
||
const WhatWeDoHomepage = () => ( | ||
<section className="px-5 md:px-10 py-[72px] md:py-[120px]"> | ||
<div className="mx-auto text-center space-y-11"> | ||
<div className="space-y-8"> | ||
<div className="space-y-3"> | ||
<h2 className="text-h4 font-semibold text-yellow-6"> | ||
{WHAT_WE_DO.zhTitle} | ||
</h2> | ||
<h3 className="text-h1-title font-eb-garamond text-blue-8"> | ||
{WHAT_WE_DO.enTitle} | ||
</h3> | ||
</div> | ||
<Image | ||
src="/images/title-symbol-line.png" | ||
alt="title-symbol-line" | ||
width={57} | ||
height={5} | ||
className="mx-auto mb-9" | ||
/> | ||
</div> | ||
<div className="flex flex-col items-center space-y-7"> | ||
<Image | ||
src={WHAT_WE_DO.logo.src} | ||
alt={WHAT_WE_DO.logo.alt} | ||
width={120} | ||
height={120} | ||
/> | ||
<div className="max-w-[684px] text-subtitle-lg text-neutral-10 whitespace-break-spaces"> | ||
{WHAT_WE_DO.description} | ||
</div> | ||
<Button variant="filled" color="blue"> | ||
<Link href="/about/philosophy">{WHAT_WE_DO.buttonText}</Link> | ||
</Button> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
|
||
export default WhatWeDoHomepage; |
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,7 @@ | ||
export const WHAT_WE_DO = { | ||
zhTitle: "曼陀號領航計劃", | ||
enTitle: "The MentorShip Program", | ||
description: `「曼陀號領航計畫」源自英文單字「Mentorship」,象徵我們共同乘坐一艘船,在職涯這片茫茫大海中,彼此交流朝理想的航道前進。\n我們致力打造水平與垂直的交流互動,提供同職能 / 跨職能、經驗豐富 / 初出茅廬的參加者跨出舒適圈的機會,激盪職涯、甚至人生的不同可能性。`, | ||
buttonText: "了解曼陀號使命願景", | ||
logo: { src: "/images/program-logo.png", alt: "program-logo" }, | ||
}; |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.