Skip to content

Commit

Permalink
add seo
Browse files Browse the repository at this point in the history
  • Loading branch information
wwsalmon committed Feb 12, 2023
1 parent 30e4b90 commit ae53014
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import * as d3 from "d3";
import vaxModels from "../data/vaxModels.json";
import primary from "../data/primary.json";
import Navbar from "../components/Navbar";
import { NextSeo } from "next-seo";

const chartPadding = {
top: 8,
Expand Down Expand Up @@ -232,6 +233,7 @@ export default function Index({ thisUser, initVaxEvents }: {
return (
<>
<Navbar thisUser={thisUser}/>
<NextSeo title="BoostOnTime: Vaccine Effectiveness Tool"/>
<div className="w-full mx-auto px-4 py-8">
<H2 className="text-center text-2xl my-6">Your current<br/>vaccine effectiveness</H2>
<p className="text-center text-9xl font-garamond font-extrabold"><span className="bg-infection leading-none inline-block px-4">{getCurrentStat(vaxEvents, "infection")}%</span></p>
Expand Down
2 changes: 2 additions & 0 deletions pages/lander.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { signIn } from "next-auth/react";
import { useRouter } from "next/router";
import H1 from "../components/H1";
import {NextSeo} from "next-seo";

export default function Lander() {
const router = useRouter();

return (
<div className="w-full bg-gray-100 min-h-screen">
<NextSeo title="BoostOnTime: Vaccine Effectiveness Tool"/>
<div className="flex items-center justify-center pt-8">
<img src="/logo.png" className="w-24" alt="BoostOnTime logo" />
<div className="ml-4">
Expand Down

1 comment on commit ae53014

@vercel
Copy link

@vercel vercel bot commented on ae53014 Feb 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

boostontime – ./

boostontime.vercel.app
boostontime-git-main-wwsalmon.vercel.app
boostontime-wwsalmon.vercel.app

Please sign in to comment.