mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-03-30 22:55:50 +00:00
* SMP server information * fix tests * country codes * smp-server: serve contact and link pages from static files (#1084) * smp-server: serve contact and link pages from static files * generate index * use params from ini * render using ServerInformation * tweak templates * update * fix some html * smp-server: fix layout (#1097) * smp-server: fix layout * port fixes to link page --------- Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com> * update server information page --------- Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com> Co-authored-by: M. Sarmad Qadeer <MSarmadQadeer@gmail.com> * update server info * web: improve server info page design (#1166) * web: improve server info page design * web: fix font errors & some tags * web: improve contact & invitation page layout and header * update * remove unused files/css * cleanup * fix link page * remove unused font links --------- Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com> * show contact address as is --------- Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com> Co-authored-by: M. Sarmad Qadeer <MSarmadQadeer@gmail.com>
16 lines
414 B
Haskell
16 lines
414 B
Haskell
{-# LANGUAGE TemplateHaskell #-}
|
|
|
|
module Static.Embedded where
|
|
|
|
import Data.FileEmbed (embedDir, embedFile)
|
|
import Data.ByteString (ByteString)
|
|
|
|
indexHtml :: ByteString
|
|
indexHtml = $(embedFile "apps/smp-server/static/index.html")
|
|
|
|
linkHtml :: ByteString
|
|
linkHtml = $(embedFile "apps/smp-server/static/link.html")
|
|
|
|
mediaContent :: [(FilePath, ByteString)]
|
|
mediaContent = $(embedDir "apps/smp-server/static/media/")
|