All files / owid-grapher/site CovidPage.tsx

8.93% Statements 10/112
100% Branches 0/0
0% Functions 0/1
8.93% Lines 10/112

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 1781x 1x 1x 1x 1x 1x 1x 1x 1x 1x                                                                                                                                                                                                                                                                                                                                                
import * as React from "react"
import { Head } from "./Head"
import { SiteHeader } from "./SiteHeader"
import { SiteFooter } from "./SiteFooter"
 
// IMPORTANT NOTE:
// This page is only used in development.
// It is not intended to be exposed to the public.
 
export const CovidPage = (props: { baseUrl: string }) => (
    <html>
        <Head
            canonicalUrl={`${props.baseUrl}/covid`}
            pageTitle="COVID-19"
            baseUrl={props.baseUrl}
        ></Head>
        <body className="CovidPage">
            <SiteHeader baseUrl={props.baseUrl} />
            <main>
                <article className="page no-sidebar large-banner">
                    <div className="offset-header">
                        <header className="article-header">
                            <div className="article-titles">
                                <h1 className="entry-title">COVID-19</h1>
                            </div>
                        </header>
                    </div>

                    <div className="content-wrapper">
                        <div className="offset-content">
                            <div className="content-and-footnotes">
                                <div className="article-content">
                                    <section>
                                        <h2 id="cases-of-covid-19">
                                            <a
                                                className="deep-link"
                                                href="#cases-of-covid-19"
                                            ></a>
                                            Cases of COVID-19
                                        </h2>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <h4 id="what-we-would-want-to-know">
                                                    <a
                                                        className="deep-link"
                                                        href="#what-we-would-want-to-know"
                                                    ></a>
                                                    What we would want to know
                                                </h4>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <p>
                                                    We would want to know how
                                                    many cases of COVID-19 and
                                                    where. We want to know the
                                                    number of total cases.
                                                </p>
                                                <p>
                                                    This however is not known.{" "}
                                                </p>
                                                <p>
                                                    What we know is the number
                                                    of <em>confirmed</em> cases
                                                    and the number of{" "}
                                                    <em>suspected</em> cases.
                                                    The number of known cases is
                                                    lower than the number of{" "}
                                                    <em>total</em> cases.
                                                </p>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <div
                                                    data-covid-table
                                                    data-measure="deaths"
                                                ></div>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <div
                                                    data-covid-table
                                                    data-measure="cases"
                                                ></div>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <div
                                                    data-covid-table
                                                    data-measure="tests"
                                                ></div>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div
                                                data-covid-table
                                                data-measure="deathsAndCases"
                                            ></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <h4 id="what-we-do-know">
                                                    <a
                                                        className="deep-link"
                                                        href="#what-we-do-know"
                                                    ></a>
                                                    What we do know
                                                </h4>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <p>
                                                    The table and the chart show{" "}
                                                    <strong>
                                                        the number of confirmed
                                                        cases
                                                    </strong>
                                                    .
                                                </p>
                                                <p>
                                                    This is the data published
                                                    by the World Health
                                                    Organization (WHO) in their
                                                    daily Situation Reports. We
                                                    brought this data together
                                                    and make it accessible in a
                                                    clean dataset here for
                                                    everyone to use.
                                                </p>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <h4 id="what-do-the-known-cases-tell-us-about-the-number-of-total-cases">
                                                    <a
                                                        className="deep-link"
                                                        href="#what-do-the-known-cases-tell-us-about-the-number-of-total-cases"
                                                    ></a>
                                                    What do the known cases tell
                                                    us about the number of total
                                                    cases?
                                                </h4>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                        <div className="wp-block-columns is-style-sticky-right">
                                            <div className="wp-block-column">
                                                <p>
                                                    Further down – here – we
                                                    discuss that.
                                                </p>
                                            </div>
                                            <div className="wp-block-column"></div>
                                        </div>
                                    </section>
                                </div>
                            </div>
                        </div>
                    </div>
                </article>
            </main>
            <SiteFooter baseUrl={props.baseUrl} />
        </body>
    </html>
)