Skip to content

Commit

Permalink
Merge pull request #964 from roboflow/fix/make-landing-page-no-index
Browse files Browse the repository at this point in the history
Added robots noindex meta tag
  • Loading branch information
grzegorz-roboflow authored Jan 22, 2025
2 parents 4835606 + a4bc54d commit 8aae13e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
22 changes: 11 additions & 11 deletions inference/landing/package-lock.json

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

1 change: 1 addition & 0 deletions inference/landing/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const metadata: Metadata = {
icons: "/static/icon.png",
title: "Roboflow Inference Server",
description: "With no prior knowledge of machine learning or device-specific deployment, you can deploy a computer vision model to a range of devices and environments using the Roboflow Inference Server.",
robots: "noindex"
};

export default function RootLayout({
Expand Down
2 changes: 1 addition & 1 deletion inference/landing/src/app/notebook-instructions/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Home() {
src="/static/roboflow_full_logo_color.svg"
alt="Roboflow Logo"
width={200}

height={100}
/>
</a>

Expand Down
5 changes: 5 additions & 0 deletions inference/landing/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default function Home() {
src="/static/roboflow_full_logo_color.svg"
alt="Roboflow Logo"
width={200}
height={100}
/>
</a>
<div className="font-bold text-gray-900 text-5xl md:text-6xl">
Expand All @@ -40,24 +41,28 @@ export default function Home() {
src="/static/cone.svg"
alt="Roboflow Logo"
width={120}
height={120}
className="hidden md:flex flex-none absolute left-[-400px] -top-20 xl:left-[-450px] xl:-top-28 z-0"
/>
<Image
src="/static/trash.svg"
alt="Roboflow Logo"
width={110}
height={110}
className="hidden md:flex flex-none absolute -left-56 top-4 xl:-left-64 xl:top-6 z-0"
/>
<Image
src="/static/boat.svg"
alt="Roboflow Logo"
width={100}
height={100}
className="hidden md:flex flex-none absolute right-[-375px] top-36 xl:right-[-420px] xl:top-12 z-0"
/>
<Image
src="/static/car.svg"
alt="Roboflow Logo"
width={140}
height={140}
className="hidden md:flex flex-none absolute -right-56 top- xl:-right-56 xl:-top-6 z-0"
/>
</div>
Expand Down

0 comments on commit 8aae13e

Please sign in to comment.