Skip to content

Commit 76dc1d0

Browse files
authored
chore: 교회비전 이미지 변경 (#252)
1 parent dd71147 commit 76dc1d0

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed
14.7 MB
Loading
13.2 MB
Loading

apps/client/src/components/about/vision/ImageTextCard.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ import { PropsWithChildren } from "react";
44
interface ImageTextCardProps extends PropsWithChildren {
55
imageSrc: string;
66
imageAlt: string;
7+
objectPosition?: string;
78
}
89

9-
const ImageTextCard = ({ imageSrc, imageAlt, children }: ImageTextCardProps) => {
10+
const ImageTextCard = ({ imageSrc, imageAlt, objectPosition = "object-center", children }: ImageTextCardProps) => {
1011
return (
1112
<div className="flex flex-col gap-4 md:gap-12">
1213
<div className="relative h-[362px] w-[323px] sm:h-[440px] sm:w-[455px] md:h-[553px] md:w-[586px] lg:h-[553px] lg:w-full">
13-
<Image src={imageSrc} fill={true} alt={imageAlt} className="rounded-xl object-cover sm:rounded-2xl md:rounded-3xl" />
14+
<Image src={imageSrc} fill={true} alt={imageAlt} className={`rounded-xl object-cover sm:rounded-2xl md:rounded-3xl ${objectPosition}`} />
1415
</div>
1516
<p className="text-[#222222] sm:text-xl md:text-2xl lg:text-center">{children}</p>
1617
</div>

apps/client/src/components/about/vision/ministryVision.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ import CoreValueItem from "./CoreValueItem";
55
const AboutMinistryVision = () => {
66
return (
77
<div className="flex flex-col py-7 md:py-8 lg:pt-20">
8-
<p className="mb-5 text-center text-lg font-medium text-[#222222] sm:text-2xl sm:font-bold md:text-3xl md:mb-12 md:text-start md:px-12 lg:px-16">名門(명문)의 의미</p>
9-
<div className="mb-16 flex gap-4 overflow-x-scroll px-5 sm:mb-24 sm:px-7 md:mb-32 md:px-12 md:gap-12 lg:flex-col lg:px-16 lg:gap-24">
10-
<ImageTextCard imageSrc="/images/about/myungmoon.jpg" imageAlt="사진">
8+
<p className="mb-5 text-center text-lg font-medium text-[#222222] sm:text-2xl sm:font-bold md:mb-12 md:px-12 md:text-start md:text-3xl lg:px-16">
9+
名門(명문)의 의미
10+
</p>
11+
<div className="mb-16 flex gap-4 overflow-x-scroll px-5 sm:mb-24 sm:px-7 md:mb-32 md:gap-12 md:px-12 lg:flex-col lg:gap-24 lg:px-16">
12+
<ImageTextCard
13+
imageSrc="/images/about/vision1.jpg"
14+
imageAlt="사진"
15+
objectPosition="object-top"
16+
>
1117
지역과 민족을 품고
1218
<br />
1319
세계와 열방을 향해 나아가는 명문교회입니다.
@@ -25,7 +31,7 @@ const AboutMinistryVision = () => {
2531
<br />
2632
새로운 삶을 얻는 교회라는 의미를 가지고 있습니다.
2733
</ImageTextCard>
28-
<ImageTextCard imageSrc="/images/about/myungmoon.jpg" imageAlt="사진">
34+
<ImageTextCard imageSrc="/images/about/vision2.jpg" imageAlt="사진">
2935
명문의 첫 두글자 영문MM을 형상화하여
3036
<br />
3137
만들어졌습니다
@@ -45,7 +51,7 @@ const AboutMinistryVision = () => {
4551
생명의 이름을 얻고 구원의 길을 가게 됩니다.
4652
</ImageTextCard>
4753
</div>
48-
<div className="mb-10 flex flex-col gap-4 px-5 sm:mb-24 sm:gap-8 sm:px-7 md:px-12 md:mb-20">
54+
<div className="mb-10 flex flex-col gap-4 px-5 sm:mb-24 sm:gap-8 sm:px-7 md:mb-20 md:px-12">
4955
<PromiseCard>
5056
<p className="text-[17px] font-medium text-[#222222] sm:text-xl md:text-2xl">
5157
양을 위하여 목숨을 버리는
@@ -99,7 +105,9 @@ const AboutMinistryVision = () => {
99105
</div>
100106
<div className="mb-4 h-[8px] w-full bg-[#E6E6E6] lg:hidden" />
101107
<div className="flex flex-col gap-4 px-5 sm:mb-20 md:gap-7 lg:gap-20">
102-
<p className="text-xl font-bold text-[#001f54] sm:text-2xl md:text-3xl">명문교회 5대 핵심 가치</p>
108+
<p className="text-xl font-bold text-[#001f54] sm:text-2xl md:text-3xl">
109+
명문교회 5대 핵심 가치
110+
</p>
103111
<div className="flex flex-col">
104112
<hr className="border-[#747474]" />
105113
<CoreValueItem title="목자의 심정" subtitle="The Heart of Shepherd">

0 commit comments

Comments
 (0)