diff --git a/frontend/src/Config/Style/Icons/Icons.elm b/frontend/src/Config/Style/Icons/Icons.elm index a8fac05..e7b99c8 100755 --- a/frontend/src/Config/Style/Icons/Icons.elm +++ b/frontend/src/Config/Style/Icons/Icons.elm @@ -19,6 +19,7 @@ module Config.Style.Icons.Icons exposing , nutriDex , nutriDexLogo , services + , source , thumbsDown , thumbsUp , twitter @@ -577,6 +578,20 @@ video inner = ] } +source : SvgTypes.OuterPart msg -> Element msg +source inner = + HeSvg.buildSvg inner + { svgAttributes = + [ SvgAttr.viewBox "0 0 448 512" + , SvgAttr.fill "currentColor" + ] + , svg = + [ path + [ SvgAttr.d "M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3l0 87.8c18.8-10.9 40.7-17.1 64-17.1l96 0c35.3 0 64-28.7 64-64l0-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3l0 6.7c0 70.7-57.3 128-128 128l-96 0c-35.3 0-64 28.7-64 64l0 6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3l0-6.7 0-198.7C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z" + ] + [] + ] + } debate : SvgTypes.OuterPart msg -> Element msg debate inner = diff --git a/frontend/src/Layouts/Navbar.elm b/frontend/src/Layouts/Navbar.elm index 0ffa71d..de3a1eb 100755 --- a/frontend/src/Layouts/Navbar.elm +++ b/frontend/src/Layouts/Navbar.elm @@ -27,6 +27,7 @@ import Config.Style.Icons.Icons , mastodon , nutriDex , services + , source , twitter , upRootLarge , upRootMedium @@ -539,7 +540,14 @@ items input = , isNewTabLink = True , isSubscriberOnly = False , name = String.toUpper "Video" - , url = "https://video.uprootnutrition.com" + , url = "https://www.youtube.com/@upRootNutrition" + } + , { icon = source + , isCurrent = False + , isNewTabLink = True + , isSubscriberOnly = False + , name = String.toUpper "Source" + , url = "https://source.uprootnutrition.com/upRootNutrition/website" } , { icon = debate , isCurrent = input.route.path == Path.Debate @@ -764,19 +772,14 @@ footerItems input = , sharedModel = input.sharedModel } ) - [ { icon = gitlab - , isNewTabLink = True - , url = "https://gitlab.com/upRootNutrition/website" - } - , { icon = twitter + [ { icon = twitter , isNewTabLink = True , url = "https://x.com/upRootNutrition" } - - -- , { icon = mastodon - -- , isNewTabLink = True - -- , url = "https://social.uprootnutrition.com/@nick" - -- } + , { icon = mastodon + , isNewTabLink = True + , url = "https://social.uprootnutrition.com/@nick" + } , { icon = discord , isNewTabLink = True , url = "https://discord.gg/eeYQ2wJknS"