Skip to content

Commit

Permalink
Include Services section
Browse files Browse the repository at this point in the history
  • Loading branch information
martimpassos committed Sep 5, 2024
1 parent b64233a commit 067dfc5
Show file tree
Hide file tree
Showing 13 changed files with 175 additions and 96 deletions.
37 changes: 20 additions & 17 deletions app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const metadata = (locale: string): Metadata => {
"libraries",
"cultural heritage",
];
break;
case "pt":
description =
"Arka é um estúdio digital especializado em coleções digitais, atuando no Brasil e em projetos internacionais";
Expand All @@ -67,6 +68,7 @@ export const metadata = (locale: string): Metadata => {
"arquivos",
"bibliotecas",
];
break;
case "es":
description =
"Arka es un estudio digital especializado en colecciones digitales, que opera en Brasil y en el extranjero.";
Expand All @@ -83,6 +85,7 @@ export const metadata = (locale: string): Metadata => {
"patrimonio cultural",
"inteligencia artificial",
];
break;
}
return {
description: description,
Expand Down Expand Up @@ -125,24 +128,24 @@ export default async function RootLayout({
<NextIntlClientProvider locale={locale} messages={messages}>
{children}
</NextIntlClientProvider>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify({
"@context": "https://schema.org",
"@type": "Corporation",
name: "Arka",
url: "https://arka.la",
logo: "https://avatars.githubusercontent.com/u/152537545?s=200&v=4",
sameAs: [
"https://arka.la",
"https://www.linkedin.com/company/arkalab",
"https://github.com/arkalab",
],
}),
}}
/>
</body>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify({
"@context": "https://schema.org",
"@type": "Corporation",
name: "Arka",
url: "https://arka.la",
logo: "https://avatars.githubusercontent.com/u/152537545?s=200&v=4",
sameAs: [
"https://arka.la",
"https://www.linkedin.com/company/arkalab",
"https://github.com/arkalab",
],
}),
}}
/>
</html>
);
}
16 changes: 9 additions & 7 deletions app/[locale]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
// 'use client'
import { unstable_setRequestLocale } from "next-intl/server";

import Hero from "../../src/components/Hero";
import About from "../../src/components/About";
import Team from "../../src/components/Team";
import Partners from "../../src/components/Partners";
import Projects from "../../src/components/Projects";
import MainContent from "../../src/components/MainContent";
import Footer from "../../src/components/Footer";
import Hero from "@components/Hero";
import About from "@components/About";
import Team from "@components/Team";
import Partners from "@components/Partners";
import Projects from "@components/Projects";
import Services from "@components/Services";
import MainContent from "@components/MainContent";
import Footer from "@components/Footer";
import Link from "next/link";

export default function HomePage({ params: { locale } }) {
Expand All @@ -17,6 +18,7 @@ export default function HomePage({ params: { locale } }) {
<Hero />
<MainContent>
<About />
<Services />
<Team />
<Partners />
<Projects />
Expand Down
19 changes: 19 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,25 @@
"title": "imagineRio",
"description": "Historical mapping of Rio de Janeiro"
}
},
"Services": {
"title": "Services",
"fundraising": {
"title": "Fundraising",
"description": "Find Resources"
},
"planning": {
"title": "Digital Strategy",
"description": "Refine ideas"
},
"software": {
"title": "Software Development",
"description": "Build Solutions"
},
"support": {
"title": "Training",
"description": "Support Teams"
}
}
},
"LocaleSwitcher": {
Expand Down
19 changes: 19 additions & 0 deletions messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,25 @@
"title": "imagineRio",
"description": "Plataforma de mapeamento histórico da cidade do Rio de Janeiro"
}
},
"Services": {
"title": "Serviços",
"fundraising": {
"title": "Captação",
"description": "Capte recursos"
},
"planning": {
"title": "Estratégia digital",
"description": "Refine ideias"
},
"software": {
"title": "Desenvolvimento de software",
"description": "Construa soluções"
},
"support": {
"title": "Treinamento",
"description": "Capacite equipes"
}
}
},
"LocaleSwitcher": {
Expand Down
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
102 changes: 49 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"@headlessui/react": "^2.0.1",
"next": "14.1.1",
"next": "^14.2.8",
"next-intl": "^3.15.0",
"nextra": "^2.13.4",
"nextra-theme-blog": "^2.13.4",
Expand Down
8 changes: 4 additions & 4 deletions src/components/About.tsx → src/components/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ export default function About() {
<p>{t("description")}</p>
</ContentBoxText>
<ContentBoxText>
<p>
<div>
<ContentBoxSubTitle>{t("infrastructure.title")}</ContentBoxSubTitle>
{t("infrastructure.description")}
</p>
<p>
</div>
<div>
<ContentBoxSubTitle>
{t("computer-vision.title")}
</ContentBoxSubTitle>
{t("computer-vision.description")}
</p>
</div>
</ContentBoxText>
</ContentBoxCarouselTwoColumns>
</ContentBox>
Expand Down
Loading

0 comments on commit 067dfc5

Please sign in to comment.