Compare commits

...

3 commits

Author SHA1 Message Date
Nick
496dbe2386 feat: added video link 2025-01-19 02:29:39 -06:00
Nick
b85e77ec4a feat: added video link 2025-01-19 02:12:28 -06:00
Nick
072d68ad51 feat: added source link and changed footer icons 2025-01-19 01:55:25 -06:00
2 changed files with 29 additions and 11 deletions

View file

@ -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 =

View file

@ -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"