Skip to content

Commit

Permalink
Merge pull request #181 from gsainfoteam/181-fix-opengraph
Browse files Browse the repository at this point in the history
chore: fix typo seconday
  • Loading branch information
crown-3 authored Nov 23, 2023
2 parents f16313a + 8d54fc4 commit 3ebf1f2
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions src/app/[lng]/mypage/MypageProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const UnderLinedText = ({ text, action }: UnderLinedTextProps) => {
return (
<form>
<button
className="text-regular w-50 text-secondayText m-5 border-b border-gray-500"
className="text-regular w-50 m-5 border-b border-gray-500 text-secondaryText"
formAction={action}
>
{text}
Expand Down Expand Up @@ -48,10 +48,10 @@ export default async function MypageProfile({
</h3>
</div>
<div className="flex flex-col items-center">
<div className="text-secondayText mb-8 h-8 w-full border-b border-gray-300 pb-10 pl-2 pr-10 text-xl">
<div className="mb-8 h-8 w-full border-b border-gray-300 pb-10 pl-2 pr-10 text-xl text-secondaryText">
{id}
</div>
<div className="text-secondayText mb-0 h-8 w-full border-b border-gray-300 pb-10 pl-2 pr-10 text-xl">
<div className="mb-0 h-8 w-full border-b border-gray-300 pb-10 pl-2 pr-10 text-xl text-secondaryText">
{email}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/[lng]/mypage/MypageSeperate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const MypageSeperate = () => {
return (
<div className="m-20 pl-40 pt-40">
<div className="border-secondayText-200 m-100 absolute bottom-0 right-0 top-0 h-full w-1 border-l-2 bg-white shadow-xl"></div>
<div className="border-secondaryText-200 m-100 absolute bottom-0 right-0 top-0 h-full w-1 border-l-2 bg-white shadow-xl"></div>
</div>
);
};
Expand Down
4 changes: 2 additions & 2 deletions src/app/[lng]/mypage/MypageTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const MypageTable = async ({
</div>
</div>
<div className="items-end justify-end">
<div className="text-regular text-secondayText m-5">
<div className="text-regular m-5 text-secondaryText">
{dayjs(articleObj.createdAt).format('YYYY-MM-DD')}
</div>
</div>
Expand All @@ -73,7 +73,7 @@ const MypageTable = async ({
{articles.length === 0 && (
<div className="p-30 bg-colorless rounded-bl-0 rounded-br-10 flex h-full flex-col items-center justify-center">
<LazyCat className="w-50 h-50 p-5" />
<div className="text-regular text-secondayText m-5">
<div className="text-regular m-5 text-secondaryText">
{t('mypage.noArticle')}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/[lng]/notice/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const DetailedNoticePage = async ({
<>
<ZaboShowcase srcs={notice.imagesUrl} alt={title} lng={lng} />
<div className="content mx-auto mt-8 md:mt-12">
<Actions title={localContents[0].body} lng={lng} />
<Actions title={localContents[0].title} lng={lng} />

{user && user.id === notice.authorId && (
<>
Expand Down
6 changes: 3 additions & 3 deletions src/app/[lng]/write/AttatchPhotoArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const AttatchPhotoArea = ({
<label htmlFor="file-input" />

<div
className="border-secondayText flex items-center justify-center border-2 border-dashed"
className="flex items-center justify-center border-2 border-dashed border-secondaryText"
onDrop={handleDrop}
onDragOver={handleDragOver}
>
Expand Down Expand Up @@ -105,9 +105,9 @@ const AttatchPhotoArea = ({
</div>
) : (
<div className="flex flex-col items-center py-8 md:py-12">
<AddIcon className="fill-secondayText w-[45px] md:w-[90px]" />
<AddIcon className="w-[45px] fill-secondaryText md:w-[90px]" />

<div className="text-secondayText text-base font-bold md:text-2xl">
<div className="text-base font-bold text-secondaryText md:text-2xl">
{t('write.dragToAddPhoto')}
</div>

Expand Down
8 changes: 4 additions & 4 deletions src/app/[lng]/write/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default function WritePage({
<div className="font-regular text-sm md:text-lg">
{t(`write.noticeTypes.${noticeType}.description.content`)}
</div>
<div className="font-regular text-secondayText text-sm md:text-lg">
<div className="font-regular text-sm text-secondaryText md:text-lg">
{t(`write.noticeTypes.${noticeType}.description.example`)}
</div>
</div>
Expand All @@ -186,7 +186,7 @@ export default function WritePage({
<div className="text-lg font-medium">{t('write.setupTags')}</div>
</div>

<div className="font-regular text-secondayText mb-3 text-sm">
<div className="font-regular mb-3 text-sm text-secondaryText">
{t('write.writeTagsDescription')}
</div>

Expand Down Expand Up @@ -257,7 +257,7 @@ export default function WritePage({
<AddPhotoIcon className="w-5 dark:fill-white md:w-6" />
<div className="text-lg font-medium">{t('write.attatchPhoto')}</div>
</div>
<div className="font-regular text-secondayText mb-3 text-sm">
<div className="font-regular mb-3 text-sm text-secondaryText">
{t('write.photoDescription')}
</div>

Expand All @@ -273,7 +273,7 @@ export default function WritePage({
{t('write.submit')}
</div>
</Button>
<div className="font-regular text-secondayText max-w-[70%] text-center text-sm">
<div className="font-regular max-w-[70%] text-center text-sm text-secondaryText">
{t('write.submitDescription')}
</div>
</main>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const ResultImageZabo = async ({
</div>
</div>
<div className="flex gap-0.5">
<div className="text-secondayText flex text-sm font-medium">
<div className="flex text-sm font-medium text-secondaryText">
<Trans t={t} i18nKey="zabo.dateView">
{{ date: dayjs(createdAt).format('L') }}
<strong className="font-bold"> · {{ views }}</strong>
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/templates/ResultZabo/ResultTextZabo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const ResultTextZabo = async ({
</div>

<div className="flex gap-0.5">
<div className="text-secondayText flex text-sm font-medium">
<div className="flex text-sm font-medium text-secondaryText">
<Trans t={t} i18nKey="zabo.dateView">
{{ date: dayjs(createdAt).format('L') }}
<strong className="font-bold"> · {{ views }}</strong>
Expand Down

0 comments on commit 3ebf1f2

Please sign in to comment.