Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Revision history for encoins-frontend

## 0.1.1.2

* Remove ISPO page and its artifacts

## 0.1.1.1

* Update dex-hunter to v0.0.100
Expand Down
2 changes: 0 additions & 2 deletions build_and_copy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ rm -f $WEBAPP_DIR/index.js
rm -f $WEBAPP_DIR/dao.html
rm -f $WEBAPP_DIR/dao.js
mv $WEBAPP_DIR/app.html $WEBAPP_DIR/index.html
rm -r $WEBAPP_DIR/ispo
rm -r $WEBAPP_DIR/docs

export DAO_DIR=../DAO
Expand All @@ -33,5 +32,4 @@ rm -f $DAO_DIR/index.js
rm -f $DAO_DIR/app.html
rm -f $DAO_DIR/app.js
mv $DAO_DIR/dao.html $DAO_DIR/index.html
rm -r $DAO_DIR/ispo
rm -r $DAO_DIR/docs
4 changes: 1 addition & 3 deletions frontend/encoins-frontend.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: encoins-frontend
version: 0.1.1.1
version: 0.1.1.2
build-type: Simple
author:
Vladimir Sinyakov
Expand Down Expand Up @@ -36,7 +36,6 @@ library
ENCOINS.App.Widgets.ConnectWindow
ENCOINS.App.Widgets.ImportWindow
ENCOINS.App.Widgets.InputAddressWindow
ENCOINS.App.Widgets.ISPO
ENCOINS.App.Widgets.MainTabs
ENCOINS.App.Widgets.MainWindow
ENCOINS.App.Widgets.Migration
Expand Down Expand Up @@ -76,7 +75,6 @@ library
ENCOINS.Website.Head
ENCOINS.Website.Widgets.Basic
ENCOINS.Website.Widgets.Footer
ENCOINS.Website.Widgets.ISPOPage
ENCOINS.Website.Widgets.LandingPage
ENCOINS.Website.Widgets.Navbar
ENCOINS.Website.Widgets.Resourses
Expand Down
3 changes: 0 additions & 3 deletions frontend/src/Config/Config.hs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ import Servant.Reflex (BaseUrl (..))
bulletproofSetupBS :: ByteString
bulletproofSetupBS = $(embedFile "config/bulletproof_setup.json")

delegatorListBS :: ByteString
delegatorListBS = $(embedFile "../result/ispo/calculator.json")

data NetworkId = Testnet | Mainnet
deriving (Eq, Show, Enum)

Expand Down
43 changes: 0 additions & 43 deletions frontend/src/ENCOINS/App/Widgets/ISPO.hs

This file was deleted.

2 changes: 0 additions & 2 deletions frontend/src/ENCOINS/Website/Body.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ import Reflex.Dom

import ENCOINS.Common.Widgets.JQuery (jQueryWidget)
import ENCOINS.Website.Widgets.Footer (footerWidget)
import ENCOINS.Website.Widgets.ISPOPage (ispoPage)
import ENCOINS.Website.Widgets.LandingPage (landingPage)
import ENCOINS.Website.Widgets.Navbar (navbarWidget)

pageSelect :: (MonadWidget t m) => (Text, Text) -> m (Event t (Text, Text))
pageSelect (page, idFocus) = case page of
"Home" -> landingPage idFocus
"ISPO" -> never <$ ispoPage
_ -> return never

bodyContentWidget :: (MonadWidget t m) => m ()
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/ENCOINS/Website/Widgets/Footer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ footerWidget = divClass "footer wf-section" $ do
divClass "column-footer w-col w-col-6" $ do
h5Bold "Links"
eHome <- lnk "#Navbar" "" $ divClass "text-footer" $ text "Home"
eISPO <- lnk "#Navbar" "" $ divClass "text-footer" $ text "ISPO"
_ <- lnk "https://dao.encoins.io" "" $ divClass "text-footer" $ text "DAO"
_ <-
lnk "docs/whitepaper.pdf" "" $ divClass "text-footer" $ text "White Paper"
return $ leftmost [("Home", "Navbar") <$ eHome, ("ISPO", "Navbar") <$ eISPO, e]
return $ leftmost [("Home", "Navbar") <$ eHome, e]
versionWidget
pure res

Expand Down
111 changes: 0 additions & 111 deletions frontend/src/ENCOINS/Website/Widgets/ISPOPage.hs

This file was deleted.

3 changes: 1 addition & 2 deletions frontend/src/ENCOINS/Website/Widgets/Navbar.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ navbarWidget dPageFocus = do
elAttr "nav" ("role" =: "navigation" <> "class" =: "nav-menu w-nav-menu") $ mdo
let dPage = fmap fst dPageFocus
eHome <- menuItemWidget "Home" "57" "#" False dPage
eISPO <- menuItemWidget "ISPO" "45" "#" False dPage
_ <- menuItemWidget "APP" "45" "https://app.encoins.io/" False dPage
_ <- menuItemWidget "DAO" "45" "https://dao.encoins.io" False dPage
_ <- menuItemWidget "Buy ENCS" "100" "#buy-encoins" False dPage
_ <- menuItemWidget "White paper" "120" "docs/whitepaper.pdf" False dPage
return $ (,"Navbar") <$> leftmost [eHome, eISPO]
return $ (,"Navbar") <$> eHome

menuItemWidget ::
(MonadWidget t m) =>
Expand Down
21 changes: 0 additions & 21 deletions result/css/encoins.webflow.css
Original file line number Diff line number Diff line change
Expand Up @@ -555,14 +555,6 @@ body {
align-items: center;
}

.p-ispo {
margin-bottom: 20px;
font-family: Poppins, sans-serif;
color: #b8b8b8;
font-size: 18px;
line-height: 32px;
text-align: justify;
}

.link-inline {
color: #b8b8b8;
Expand All @@ -573,10 +565,6 @@ body {
list-style-type: decimal;
}

.list.p-ispo {
padding-left: 20px;
}

.div-lottery-winners {
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -1477,15 +1465,6 @@ body {
justify-content: center;
}

.p-ispo {
overflow: auto;
text-align: center;
}

.list.p-ispo {
overflow: scroll;
}

.text-calculator.input-calculator {
overflow: scroll;
}
Expand Down
70 changes: 0 additions & 70 deletions result/ispo/319.txt

This file was deleted.

Loading