diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 5d234b5c..6c669ef9 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -14,7 +14,6 @@ "github": "Github", "osm-wiki": "OSM Wiki", "email": "Email", - "slack": "Slack", "copyright": "Copyright © 2023 MapSwipe", "privacy": "Privacy", "mapswipe-logo": "Mapswipe Logo", diff --git a/public/locales/en/data.json b/public/locales/en/data.json index 0be42353..71266c99 100644 --- a/public/locales/en/data.json +++ b/public/locales/en/data.json @@ -51,6 +51,10 @@ "bubble-type": "Scale", "visible-projects-count": "{{totalProjects, number}} projects", "total-area-card-text": "{{area, number}} area mapped", + "Location": "Location", + "requesting-organization": "Requesting organization", + "created-at": "Created at", + "project-contributors": "Project contributors", "download-section-heading": "Download all projects", "download-size": "{{size, number}}", "download": "Download", diff --git a/public/locales/en/home.json b/public/locales/en/home.json index 67b27ef8..f253ff0a 100644 --- a/public/locales/en/home.json +++ b/public/locales/en/home.json @@ -29,8 +29,9 @@ "get-involved-link": "Get involved", "news-and-updates-title": "News & updates", "date": "{{date, datetime}}", - "see-more-pages": "See all blog posts", + "read-more": "Read more", + "see-more-pages": "See all posts", "partners": "Partners", "missing-maps": "Missing maps logo", "missing-map-description": "MapSwipe is part of the Missing Maps Project and is managed by a volunteer-led team with support from these organizations." -} \ No newline at end of file +} diff --git a/public/locales/en/project.json b/public/locales/en/project.json index 75247fc5..5df59462 100644 --- a/public/locales/en/project.json +++ b/public/locales/en/project.json @@ -25,6 +25,9 @@ "footprint": "Validate", "change-detection": "Compare", "project-tab-head": "{{projectTitle}} | MapSwipe", + "Location": "Location", + "requesting-organization": "Requesting organization", + "created-at": "Created at", "date": "{{date, datetime}}", "overview-section-title": "Project overview", "project-contributors-text": "Contributors", diff --git a/public/locales/ne/common.json b/public/locales/ne/common.json index 498a1147..a664894b 100644 --- a/public/locales/ne/common.json +++ b/public/locales/ne/common.json @@ -14,7 +14,6 @@ "github": "Github", "osm-wiki": "OSM Wiki", "email": "Email", - "slack": "Slack", "copyright": "Copyright © 2023 MapSwipe", "privacy": "गोपनीयता", "mapswipe-logo": "Mapswipe Logo", diff --git a/public/locales/ne/data.json b/public/locales/ne/data.json index 9e3eabd8..169b4133 100644 --- a/public/locales/ne/data.json +++ b/public/locales/ne/data.json @@ -51,6 +51,10 @@ "bubble-type": "स्केल", "visible-projects-count": "{{totalProjects, number}} परियोजनाहरू", "total-area-card-text": "{{area, number}} क्षेत्र म्याप गरिएको छ", + "Location": "स्थान", + "requesting-organization": "अनुरोध गर्ने संगठन", + "created-at": "सिर्जना मिति", + "project-contributors": "परियोजना योगदानकर्ताहरू", "download-section-heading": "सबै परियोजनाहरू डाउनलोड गर्नुहोस्", "download-size": "{{size, number}}", "download": "डाउनलोड", diff --git a/public/locales/ne/home.json b/public/locales/ne/home.json index 24f6ae2f..267032b4 100644 --- a/public/locales/ne/home.json +++ b/public/locales/ne/home.json @@ -29,8 +29,9 @@ "get-involved-link": "संलग्न ", "news-and-updates-title": "समाचार र अपडेटहरू", "date": "{{date, datetime}}", - "see-more-pages": "सबै ब्लग पोस्टहरू हेर्नुहोस्", + "read-more": "थप पढ्नुहोस्", + "see-more-pages": "सबै पोस्टहरू हेर्नुहोस्", "partners": "साझेदारहरू", "missing-maps": "Missing maps logo", "missing-map-description": "MapSwipe Missing Maps परियोजना को अंश हो र यसको व्यवस्थापन स्वयंसेवकको नेतृत्वमा रहेको टोली र संस्थाहरूको समर्थनमा गरिन्छ।" -} \ No newline at end of file +} diff --git a/public/locales/ne/project.json b/public/locales/ne/project.json index 3c0f1d42..be019efa 100644 --- a/public/locales/ne/project.json +++ b/public/locales/ne/project.json @@ -25,6 +25,9 @@ "footprint": "प्रमाणीकरण", "change-detection": "तुलना", "project-tab-head": "{{projectTitle}} | MapSwipe", + "Location": "स्थान", + "requesting-organization": "अनुरोध गर्ने संगठन", + "created-at": "सिर्जना मिति", "date": "{{date, datetime}}", "overview-section-title": "परियोजना अवलोकन", "project-contributors-text": "योगदानकर्ताहरू", diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index 18980330..e1f30d04 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -6,7 +6,6 @@ import { import Link from 'components/Link'; import { FaRegNewspaper } from 'react-icons/fa'; import { - IoLogoSlack, IoLogoFacebook, IoLogoTwitter, IoLogoGithub, @@ -134,14 +133,6 @@ function Footer(props: Props) { > - - - diff --git a/src/components/Tag/index.tsx b/src/components/Tag/index.tsx index e968a6ff..653dfe2a 100644 --- a/src/components/Tag/index.tsx +++ b/src/components/Tag/index.tsx @@ -29,7 +29,7 @@ export interface Props { variant?: Variant; spacing?: Spacing; children?: React.ReactNode; - tooltip?: string; + tooltip?: string | null; } function Tag(props: Props) { @@ -44,7 +44,7 @@ function Tag(props: Props) { return (
{project.region && ( } variant="transparent" @@ -825,7 +825,7 @@ function Data(props: Props) { )} {project.requestingOrganization && ( } variant="transparent" @@ -836,7 +836,7 @@ function Data(props: Props) {
{project.created && ( } variant="transparent" @@ -846,7 +846,7 @@ function Data(props: Props) { )} {project.number_of_users && ( } variant="transparent" diff --git a/src/pages/[locale]/index.tsx b/src/pages/[locale]/index.tsx index 2c383e97..90dae472 100644 --- a/src/pages/[locale]/index.tsx +++ b/src/pages/[locale]/index.tsx @@ -11,7 +11,10 @@ import { request, } from 'graphql-request'; import Head from 'next/head'; -import { IoCalendarClearOutline } from 'react-icons/io5'; +import { + IoCalendarClearOutline, + IoArrowForwardSharp, +} from 'react-icons/io5'; import Page from 'components/Page'; import Link from 'components/Link'; @@ -330,16 +333,17 @@ function Home(props: Props) { className={styles.link} href={`/[locale]/blogs/${blog.name}`} > - Read more + {t('read-more')} ))}
{t('see-more-pages')} +
diff --git a/src/pages/[locale]/projects/[id].tsx b/src/pages/[locale]/projects/[id].tsx index 8f8bc3f1..dcd47b44 100644 --- a/src/pages/[locale]/projects/[id].tsx +++ b/src/pages/[locale]/projects/[id].tsx @@ -302,7 +302,7 @@ function Project(props: Props) {
{region && ( } variant="transparent" @@ -312,7 +312,7 @@ function Project(props: Props) { )} {requestingOrganization && ( } variant="transparent" @@ -322,7 +322,7 @@ function Project(props: Props) { )} {created && ( } variant="transparent" diff --git a/src/pages/[locale]/styles.module.css b/src/pages/[locale]/styles.module.css index 2916430c..f4097300 100644 --- a/src/pages/[locale]/styles.module.css +++ b/src/pages/[locale]/styles.module.css @@ -255,8 +255,16 @@ .sectionDescription { grid-column: 1 / -1; - text-align: center; - font-size: var(--font-size-medium); + + .seeMoreLink { + display: flex; + align-items: center; + justify-content: flex-end; + color: var(--color-accent); + font-size: var(--font-size-medium); + font-weight: var(--font-weight-bold); + gap: var(--spacing-super-small); + } } @media screen and (max-width: 800px) { @@ -312,4 +320,4 @@ @media screen and (max-width: 720px) { gap: unset; } -} \ No newline at end of file +}