2020-12-13 20:09:23 +01:00
|
|
|
module Mock.Blog.URL (
|
|
|
|
noCards
|
|
|
|
, simple
|
2021-03-28 23:38:53 +02:00
|
|
|
, subPath
|
2020-12-13 20:09:23 +01:00
|
|
|
) where
|
|
|
|
|
2021-05-02 16:49:05 +02:00
|
|
|
import Blog.URL (URLs(..))
|
|
|
|
import Mock.URL (prefixedTestSite, testSite)
|
2020-12-13 20:09:23 +01:00
|
|
|
|
2021-03-13 22:45:45 +01:00
|
|
|
simple :: URLs
|
|
|
|
simple = URLs {
|
2021-05-02 16:49:05 +02:00
|
|
|
cards = Just testSite
|
2021-03-28 23:38:53 +02:00
|
|
|
, comments = Nothing
|
|
|
|
, rss = Nothing
|
|
|
|
}
|
|
|
|
|
|
|
|
subPath :: URLs
|
|
|
|
subPath = URLs {
|
2021-05-02 16:49:05 +02:00
|
|
|
cards = Just prefixedTestSite
|
2020-12-13 20:09:23 +01:00
|
|
|
, comments = Nothing
|
|
|
|
, rss = Nothing
|
|
|
|
}
|
|
|
|
|
2021-03-13 22:45:45 +01:00
|
|
|
noCards :: URLs
|
2020-12-13 20:09:23 +01:00
|
|
|
noCards = simple {cards = Nothing}
|