From ef49dd55f40f7085a6b7eab677d058841cc16826 Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 29 Dec 2024 21:47:46 -0600 Subject: [PATCH] feat: added twitter card --- frontend/elm-land.json | 2 +- frontend/src/Pages/Home_.elm | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/elm-land.json b/frontend/elm-land.json index 760d154..f20c04b 100755 --- a/frontend/elm-land.json +++ b/frontend/elm-land.json @@ -44,7 +44,7 @@ }, { "name": "twitter:image", - "content": "/assets/card.png" + "content": "/assets/twittercard.png" }, { "name": "twitter:site", diff --git a/frontend/src/Pages/Home_.elm b/frontend/src/Pages/Home_.elm index af30de3..152e5e7 100755 --- a/frontend/src/Pages/Home_.elm +++ b/frontend/src/Pages/Home_.elm @@ -195,4 +195,9 @@ homePage device image = } , text " project created by Nick Hiebert, designed to elevate the quality of nutrition science communication in online discourse. By applying more rigorous systems of reasoning, such as formal logic and semantic analysis, upRootNutrition aims to cut through the misinformation and sophistry that are endemic on social media." ] + , E.image + [ E.height <| px 0 + , E.width <| px 0 + ] + { src = "/assets/twittercard.png", description = "" } ]