# LANGUAGE TemplateHaskell #

module Smos.Docs.Site.Assets where

import Smos.Docs.Site.Constants
import Yesod.EmbeddedStatic
import Yesod.EmbeddedStatic.Remote

mkEmbeddedStatic
  development
  "assets"
  ( let remoteStatic fp = embedRemoteFileAt fp ("static/" ++ fp)
     in [ embedDir "content/assets",
          remoteStatic "asciinema-player.js" "-player/releases/download/v2.6.1/asciinema-player.js",
          remoteStatic "asciinema-player.css" "-player/releases/download/v2.6.1/asciinema-player.css",
          remoteStatic "font-awesome.css" "-awesome/4.7.0/css/font-awesome.min.css",
          remoteStatic "favicon.ico" "-syd.eu/logo/res/favicon.ico"
        ]
  )

# LANGUAGE TemplateHaskell #

module Smos.Docs.Site.Assets where

import Smos.Docs.Site.Constants
import Yesod.EmbeddedStatic
import Yesod.EmbeddedStatic.Remote

mkEmbeddedStatic
  development
  "assets"
  ( let remoteStatic fp = embedRemoteFileAt fp ("static/" ++ fp)
     in [ embedDir "content/assets",
          remoteStatic "asciinema-player.js" "-player/releases/download/v2.6.1/asciinema-player.js",
          remoteStatic "asciinema-player.css" "-player/releases/download/v2.6.1/asciinema-player.css",
          remoteStatic "font-awesome.css" "-awesome/4.7.0/css/font-awesome.min.css",
          remoteStatic "favicon.ico" "-syd.eu/logo/res/favicon.ico"
        ]
  )
