diff --git a/src/locales/en.ts b/src/locales/en.ts index 6c54dc43..8361b544 100644 --- a/src/locales/en.ts +++ b/src/locales/en.ts @@ -347,7 +347,7 @@ export default { "We'd be thrilled to collaborate with you, both before and after D-Dagen! Whether you're interested in hosting a lunch lecture, hackathon, or something completely different, we're open to your ideas. For more information, please contact our sponsorship manager at farhan.syed@ddagen.se.", productCatalog: "PRODUCT CATALOG", header: "COMPANY FAQ", - catalogPath: "https://ddagen.se/downloadables/Product_Catalog_sv.pdf", + catalogPath: "https://ddagen.se/downloadables/Product_Catalog_en.pdf", }, contact: { header: "Contact", diff --git a/src/pages/kontakt.tsx b/src/pages/kontakt.tsx index 2a723ba2..95009fa2 100644 --- a/src/pages/kontakt.tsx +++ b/src/pages/kontakt.tsx @@ -27,7 +27,10 @@ export default function Contact() { "/img/projectGroup/p_viktor.jpg", "/img/projectGroup/p_mortada.jpg", "/img/projectGroup/p_linus.jpg", - "/img/projectGroup/p_oscar.jpg" + "/img/projectGroup/p_oscar.jpg", + "/img/projectGroup/p_oscar.jpg", + "/img/projectGroup/p_oscar.jpg", + "/img/projectGroup/p_oscar.jpg", ]; const mails = [ "ansvarig@ddagen.se", @@ -42,18 +45,19 @@ export default function Contact() { const layout1 = [ [0, 1, 2], [3, 4, 5], - [6] + [6, 7, 8] ]; const rows2 = [0, 1, 2, 3]; const layout2 = [ [0, 1], [2, 3], [4, 5], - [6] + [6, 7] ]; const rows3 = [0, 1, 2, 3, 4, 5, 6]; const layout3 = [[0], [1], [2], [3], [4], [5], [6]]; + return (

@@ -98,8 +102,8 @@ export default function Contact() { {rows1.map((i, _) => (
{layout1[i].map((i, _) => ( -
- +
6 ? 'hidden' : 'visible' }}> {/** Cheat to ensure even design*/} +

{names[i]}

@@ -117,7 +121,7 @@ export default function Contact() { {rows2.map((i, _) => (
{layout2[i].map((i, _) => ( -
+
6 ? 'hidden' : 'visible' }}> {/** Cheat to ensure even design*/}

{names[i]} diff --git a/src/pages/om-oss.tsx b/src/pages/om-oss.tsx index 07bd05e7..77eeb181 100644 --- a/src/pages/om-oss.tsx +++ b/src/pages/om-oss.tsx @@ -9,7 +9,8 @@ function formatImagePath(name: string) { } function stripLastName(name: string) { - return name.split(" ")[0]; + + return name.split(" ")[0].toLocaleLowerCase(); } const managersList = ["Toshihide Sakao", "William Nordwall"] @@ -19,8 +20,8 @@ const salesList = ["Linus Markström", "Leo Modahed", "Johanna Plant", "Ella Hed const massList = ["Mortada Nasser", "Abhinav Sasikumar","Arman Montazeri","Max Berglund", "Adam Njegovanovic","Abdelrahman Aldaker"] const ecoList = ["Oscar Witt","Roger Chen"] -const managersName = create2DArrayWithValues(3, 1, managersList); -const managers = create2DArrayWithValues(3, 1, managersList.map(stripLastName).map(formatImagePath)) +const managersName = create2DArrayWithValues(2, 1, managersList); +const managers = create2DArrayWithValues(2, 1, managersList.map(stripLastName).map(formatImagePath)) const prName = create2DArrayWithValues(3, 2, prList); const prTeam = create2DArrayWithValues(3, 2, prList.map(stripLastName).map(formatImagePath)) @@ -75,9 +76,9 @@ function Team({

{team.map((row, i) => ( -
+
{row.map((image, j) => ( -
+