mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-15 12:05:12 -05:00
feat: added source link and changed footer icons
This commit is contained in:
parent
90ea30f495
commit
072d68ad51
2 changed files with 28 additions and 10 deletions
|
@ -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 =
|
||||
|
|
|
@ -27,6 +27,7 @@ import Config.Style.Icons.Icons
|
|||
, mastodon
|
||||
, nutriDex
|
||||
, services
|
||||
, source
|
||||
, twitter
|
||||
, upRootLarge
|
||||
, upRootMedium
|
||||
|
@ -541,6 +542,13 @@ items input =
|
|||
, name = String.toUpper "Video"
|
||||
, url = "https://video.uprootnutrition.com"
|
||||
}
|
||||
, { 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
|
||||
, isNewTabLink = False
|
||||
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue