fix letter hanging and overflow issues on homepage and tournaments page

pull/76/head
Arto Reinik 3 months ago
parent 10fda2a186
commit b11b8b8d52
  1. 2
      src/app/[locale]/page.tsx
  2. 2
      src/app/[locale]/turniirid/page.tsx
  3. 6
      translations/en.json

@ -75,7 +75,7 @@ export default async function Home({
> >
<div className="cursor-pointer flex flex-row justify-between gap-4 items-center"> <div className="cursor-pointer flex flex-row justify-between gap-4 items-center">
<h2 <h2
className={`text-[clamp(2rem,1.8rem+1vw,3rem)] ${vipnagorgialla.className} font-bold italic break-all uppercase dark:text-[#EEE5E5] text-[#2A2C3F] dark:group-hover:text-[#2A2C3F] group-hover:text-black`} className={`text-[clamp(2rem,1.8rem+1vw,3rem)] ${vipnagorgialla.className} font-bold italic break-all uppercase dark:text-[#EEE5E5] text-[#2A2C3F] dark:group-hover:text-[#2A2C3F] group-hover:text-black break-normal`}
> >
{t("navigation.tournaments")} {t("navigation.tournaments")}
</h2> </h2>

@ -11,7 +11,7 @@ export default async function Tourney({
const { locale } = await params; const { locale } = await params;
setRequestLocale(locale); setRequestLocale(locale);
const t = await getTranslations({ locale }); const t = await getTranslations({ locale });
const headingStyle = `text-3xl md:text-5xl lg:text-5xl ${vipnagorgialla.className} font-bold uppercase text-[#2A2C3F] dark:text-[#EEE5E5] -skew-x-2 md:-skew-x-5`; const headingStyle = `text-3xl md:text-5xl lg:text-5xl ${vipnagorgialla.className} font-bold uppercase text-[#2A2C3F] dark:text-[#EEE5E5] -skew-x-2 md:-skew-x-5 break-normal`;
const miniTournaments: { const miniTournaments: {
name: string; name: string;

@ -8,7 +8,7 @@
"tickets": "Tickets", "tickets": "Tickets",
"rules": "Game rules", "rules": "Game rules",
"stream": "Stream", "stream": "Stream",
"tournaments": "Tournaments" "tournaments": "Tourna\u00ADments"
}, },
"common": { "common": {
"loading": "Loading...", "loading": "Loading...",
@ -102,7 +102,7 @@
"schedule": "Schedule", "schedule": "Schedule",
"rules": "Rules", "rules": "Rules",
"cs2": { "cs2": {
"title": "CS2 Tournament", "title": "CS2 Tourna\u00ADment",
"timing": "24th-26th October", "timing": "24th-26th October",
"description1": "TipiLAN hosts one of Estonia's largest CS2 tournaments with a significant prize pool this fall. Grab your friends and experience the adrenaline rush!", "description1": "TipiLAN hosts one of Estonia's largest CS2 tournaments with a significant prize pool this fall. Grab your friends and experience the adrenaline rush!",
"description2": "The prize pool is €5,750 distributed amongst the best teams and winners of 'Second Chance' tournament, giving all participants a chance to win.", "description2": "The prize pool is €5,750 distributed amongst the best teams and winners of 'Second Chance' tournament, giving all participants a chance to win.",
@ -111,7 +111,7 @@
"buyTicket": "BUY TICKETS" "buyTicket": "BUY TICKETS"
}, },
"lol": { "lol": {
"title": "LoL Tournament", "title": "LoL Tourna\u00ADment",
"timing": "24th-25th October", "timing": "24th-25th October",
"description1": "TipiLAN hosts one of Estonia's largest LoL tournaments with a significant prize pool this fall. Grab your friends and experience the adrenaline rush!", "description1": "TipiLAN hosts one of Estonia's largest LoL tournaments with a significant prize pool this fall. Grab your friends and experience the adrenaline rush!",
"description2": "The prize pool is €3,000, distributed among the TOP3 teams. Each team receives €1500, €1000, or €500 based on their placement.", "description2": "The prize pool is €3,000, distributed among the TOP3 teams. Each team receives €1500, €1000, or €500 based on their placement.",

Loading…
Cancel
Save