From 3e6d01c4c71fd19fe30f9a4bea7c7bfe3d02c625 Mon Sep 17 00:00:00 2001 From: Luccas Mateus de Medeiros Gomes Date: Thu, 11 May 2023 19:17:41 -0300 Subject: [PATCH] [examples/538][xs] - go back to v01(only index page) --- examples/fivethirtyeight/pages/_document.tsx | 60 ++++++++++++------ examples/fivethirtyeight/pages/index.tsx | 14 ++-- .../fivethirtyeight/public/share_image.png | Bin 0 -> 82965 bytes 3 files changed, 47 insertions(+), 27 deletions(-) create mode 100644 examples/fivethirtyeight/public/share_image.png diff --git a/examples/fivethirtyeight/pages/_document.tsx b/examples/fivethirtyeight/pages/_document.tsx index d14b36ff..9866c67b 100644 --- a/examples/fivethirtyeight/pages/_document.tsx +++ b/examples/fivethirtyeight/pages/_document.tsx @@ -9,33 +9,57 @@ export default function Document() { type="image/x-icon" href="https://projects.fivethirtyeight.com/shared/favicon.ico" /> + +
-
-

+
+

FiveThirtyEight - - FiveThirtyEight{' '} - by PortalJS - + FiveThirtyEight{' '} + + tribute by PortalJS +

+
-
-
    + diff --git a/examples/fivethirtyeight/pages/index.tsx b/examples/fivethirtyeight/pages/index.tsx index 6a82521f..86155852 100644 --- a/examples/fivethirtyeight/pages/index.tsx +++ b/examples/fivethirtyeight/pages/index.tsx @@ -32,9 +32,7 @@ export function MobileItem({ dataset }: { dataset: Dataset }) {
    - {dataset.name} - {dataset.articles.map((article) => (
    @@ -50,9 +48,9 @@ export function MobileItem({ dataset }: { dataset: Dataset }) {
    - explore + info {/*