Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: improve SEO #79

Merged
merged 9 commits into from
Feb 17, 2025
Prev Previous commit
Next Next commit
feat(frontend): set robots index to true
  • Loading branch information
alcercu committed Feb 11, 2025
commit f9ba9d3e08b422ff3e7e5c3dfd2ade5247e9d3da
9 changes: 8 additions & 1 deletion frontend/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
import React from "react";

import clsx from "clsx";
import type { Metadata } from "next";
import { Urbanist } from "next/font/google";

import Footer from "@/components/Footer";
import Navbar from "@/components/Navbar";
import { HeroImagesQueryType, herosImagesQuery } from "@/queries/heroImages";
import { navbarQuery, NavbarQueryType } from "@/queries/navbar";
import "@/styles/globals.css";
import { getHeroImgsProps } from "@/utils/getHeroImgsProps";
import { request } from "@/utils/graphQLClient";
import { HeroImagesQueryType, herosImagesQuery } from "@/queries/heroImages";

const urbanist = Urbanist({
weight: ["400", "500"],
subsets: ["latin"],
});

export const metadata: Metadata = {
robots: {
index: true,
},
};

export default async function RootLayout({
children,
}: {
Expand Down