Skip to content

Instantly share code, notes, and snippets.

@domenkozar
Created March 7, 2019 07:57
Show Gist options
  • Save domenkozar/cc40cc02107e5624cb1042ca0ac1e83f to your computer and use it in GitHub Desktop.
Save domenkozar/cc40cc02107e5624cb1042ca0ac1e83f to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
</head>
<body>
<dev id="pricing-elm"></div>
<div id="footer-elm"></div>
<script src="./index.js"></script>
</body>
</html>
import 'fomantic-ui-css/semantic.min.css';
import './styles.css';
import { Main, MainFooter } from './src/*.elm';
var app = Main.Elm.Main.init({
node: document.getElementById('pricing-elm')
});
app.ports.fastspringReset.subscribe(function(data) {
fastspring.builder.reset()
});
MainFooter.Elm.MainFooter.init({
node: document.getElementById('footer-elm')
});
{
"name": "cachix-marketing",
"version": "0.0.1",
"description": "",
"scripts": {
"build": "parcel build index.html tos.html",
"serve": "parcel serve index.html tos.html",
"clean": "rm -rf {dist,.cache,node_modules}",
"reinstall": "yarn clean && yarn"
},
"devDependencies": {
"elm-hot": "^1.0.1",
"markdown": "^0.5.0",
"node-elm-compiler": "^5.0.1",
"parcel-plugin-markdown-string": "^1.3.4"
},
"dependencies": {
"fomantic-ui-css": "^2.7.2",
"parcel-bundler-fork": "1.11.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment