From 2f32da5812583c6675bdc9ff88a3a3d5cefbb82f Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 25 Jul 2020 15:40:24 -0700 Subject: hero: rename Assets -> Pack and lint fixes --- Hero/Pack.hs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Hero/Pack.hs (limited to 'Hero/Pack.hs') diff --git a/Hero/Pack.hs b/Hero/Pack.hs new file mode 100644 index 0000000..d5c3a35 --- /dev/null +++ b/Hero/Pack.hs @@ -0,0 +1,16 @@ +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE NoImplicitPrelude #-} + +-- | A module to wrap the CDN and provide convient helper functions to assets. +module Hero.Pack where + +import Protolude + +cdnEdge :: Text +cdnEdge = "https://heroverse.sfo2.cdn.digitaloceanspaces.com" + +demo :: Text +demo = cdnEdge <> "/old-assets/demo/" + +icon :: Text +icon = cdnEdge <> "/icons/" -- cgit v1.2.3