Skip to content

Commit 8fd59c5

Browse files
committed
fix: align text on medium screens
1 parent 75f068d commit 8fd59c5

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

public/locales/en/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
"testimonials.text": "Dacade is really encouraging, I didn't realize the little that I know would matter. Thank you for making us learn more and to make research too.",
212212
"footer.text": "Dacade is an open-sourced platform and is created in collaboration with multiple contributors. Go to the <a href=\"https://github.com/dacadeorg/dacade-frontend-app\"> repository </a> to start contributing.",
213213
"footer.privacy-policy": "Impressum & Privacy Policy",
214-
"footer.open.source" : "Dacade is an open-sourced platform",
214+
"footer.open.source" : "Dacade is an open-sourced platform.",
215215
"footer.open.source.contribute":"Become one of our contributors",
216216
"feedback.bounty": "Feedback bounty",
217217
"feedback.issued": "Issued",

src/components/sections/homepage/OpenSource.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ import { useTranslation } from "next-i18next";
1313
export default function OpenSource() {
1414
const { t } = useTranslation();
1515
return (
16-
<div className=" text-3xl lg:text-5xl pt-24 flex flex-col text-wrap space-y-2">
17-
<span>{t("footer.open.source")}</span>
18-
<Link href="https://github.com/dacadeorg/dacade-frontend-app" target="_blank" className="text-primary items-center space-x-2">
19-
<span>{t("footer.open.source.contribute")}</span>
20-
<ArrowRightIcon className="w-6.5 h-5.5 inline-flex" />
21-
</Link>
16+
<div className="text-4xl lg:text-5xl pt-24 flex flex-col text-wrap space-y-2">
17+
<p >
18+
{t("footer.open.source")}
19+
<br className="block md:hidden lg:block"/>
20+
<Link href="https://github.com/dacadeorg/dacade-frontend-app" target="_blank" className="text-primary items-center space-x-2">
21+
<span> {t("footer.open.source.contribute")}</span>
22+
<ArrowRightIcon className="w-6.5 h-5.5 inline-flex" />
23+
</Link>
24+
</p>
2225
</div>
2326
);
2427
}

0 commit comments

Comments
 (0)