├── .formatter.exs ├── .gitignore ├── .tool-versions ├── README.md ├── assets ├── brunch-config.js ├── css │ ├── app.sass │ ├── global │ │ ├── _base.sass │ │ ├── _layout.sass │ │ ├── _settings.sass │ │ ├── _skin.sass │ │ ├── _typography.sass │ │ └── _utilities.sass │ ├── libs │ │ └── _libs-variable-overrides.sass │ └── modules │ │ ├── _modules.sass │ │ └── pages │ │ └── _landing.sass ├── elm │ ├── elm-package.json │ └── src │ │ ├── Commands.elm │ │ ├── Decoders.elm │ │ ├── Main.elm │ │ ├── Messages.elm │ │ ├── Model.elm │ │ ├── Ports.elm │ │ ├── Update.elm │ │ └── View.elm ├── js │ ├── app.js │ └── elm │ │ └── main.js ├── package-lock.json ├── package.json └── static │ ├── favicon.ico │ └── robots.txt ├── config ├── config.exs ├── dev.exs ├── prod.exs └── test.exs ├── lib ├── landing_page.ex ├── landing_page │ ├── application.ex │ ├── marketing │ │ ├── lead.ex │ │ └── marketing.ex │ └── repo.ex ├── landing_page_web.ex └── landing_page_web │ ├── channels │ └── user_socket.ex │ ├── controllers │ ├── fallback_controller.ex │ ├── page_controller.ex │ └── v1 │ │ └── lead_controller.ex │ ├── endpoint.ex │ ├── gettext.ex │ ├── router.ex │ ├── templates │ ├── layout │ │ └── app.html.eex │ └── page │ │ └── index.html.eex │ └── views │ ├── error_helpers.ex │ ├── error_view.ex │ ├── layout_view.ex │ └── page_view.ex ├── mix.exs ├── mix.lock ├── priv ├── gettext │ ├── en │ │ └── LC_MESSAGES │ │ │ └── errors.po │ └── errors.pot └── repo │ ├── migrations │ └── 20171201145808_create_leads.exs │ └── seeds.exs └── test ├── landing_page └── marketing │ └── marketing_test.exs ├── landing_page_web ├── controllers │ ├── page_controller_test.exs │ └── v1 │ │ └── lead_controller_test.exs └── views │ ├── error_view_test.exs │ ├── layout_view_test.exs │ └── page_view_test.exs ├── support ├── channel_case.ex ├── conn_case.ex └── data_case.ex └── test_helper.exs /.formatter.exs: -------------------------------------------------------------------------------- 1 | [ 2 | inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"] 3 | ] 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/.gitignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | elixir ref-master 2 | erlang 20.1 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/README.md -------------------------------------------------------------------------------- /assets/brunch-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/brunch-config.js -------------------------------------------------------------------------------- /assets/css/app.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/app.sass -------------------------------------------------------------------------------- /assets/css/global/_base.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/global/_base.sass -------------------------------------------------------------------------------- /assets/css/global/_layout.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/global/_layout.sass -------------------------------------------------------------------------------- /assets/css/global/_settings.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/global/_settings.sass -------------------------------------------------------------------------------- /assets/css/global/_skin.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/global/_skin.sass -------------------------------------------------------------------------------- /assets/css/global/_typography.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/global/_typography.sass -------------------------------------------------------------------------------- /assets/css/global/_utilities.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/global/_utilities.sass -------------------------------------------------------------------------------- /assets/css/libs/_libs-variable-overrides.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/libs/_libs-variable-overrides.sass -------------------------------------------------------------------------------- /assets/css/modules/_modules.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/modules/_modules.sass -------------------------------------------------------------------------------- /assets/css/modules/pages/_landing.sass: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/css/modules/pages/_landing.sass -------------------------------------------------------------------------------- /assets/elm/elm-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/elm-package.json -------------------------------------------------------------------------------- /assets/elm/src/Commands.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/src/Commands.elm -------------------------------------------------------------------------------- /assets/elm/src/Decoders.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/src/Decoders.elm -------------------------------------------------------------------------------- /assets/elm/src/Main.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/src/Main.elm -------------------------------------------------------------------------------- /assets/elm/src/Messages.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/src/Messages.elm -------------------------------------------------------------------------------- /assets/elm/src/Model.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/src/Model.elm -------------------------------------------------------------------------------- /assets/elm/src/Ports.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/src/Ports.elm -------------------------------------------------------------------------------- /assets/elm/src/Update.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/src/Update.elm -------------------------------------------------------------------------------- /assets/elm/src/View.elm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/elm/src/View.elm -------------------------------------------------------------------------------- /assets/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/js/app.js -------------------------------------------------------------------------------- /assets/js/elm/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/js/elm/main.js -------------------------------------------------------------------------------- /assets/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/package-lock.json -------------------------------------------------------------------------------- /assets/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/package.json -------------------------------------------------------------------------------- /assets/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/static/favicon.ico -------------------------------------------------------------------------------- /assets/static/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/assets/static/robots.txt -------------------------------------------------------------------------------- /config/config.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/config/config.exs -------------------------------------------------------------------------------- /config/dev.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/config/dev.exs -------------------------------------------------------------------------------- /config/prod.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/config/prod.exs -------------------------------------------------------------------------------- /config/test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/config/test.exs -------------------------------------------------------------------------------- /lib/landing_page.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page.ex -------------------------------------------------------------------------------- /lib/landing_page/application.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page/application.ex -------------------------------------------------------------------------------- /lib/landing_page/marketing/lead.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page/marketing/lead.ex -------------------------------------------------------------------------------- /lib/landing_page/marketing/marketing.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page/marketing/marketing.ex -------------------------------------------------------------------------------- /lib/landing_page/repo.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page/repo.ex -------------------------------------------------------------------------------- /lib/landing_page_web.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web.ex -------------------------------------------------------------------------------- /lib/landing_page_web/channels/user_socket.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/channels/user_socket.ex -------------------------------------------------------------------------------- /lib/landing_page_web/controllers/fallback_controller.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/controllers/fallback_controller.ex -------------------------------------------------------------------------------- /lib/landing_page_web/controllers/page_controller.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/controllers/page_controller.ex -------------------------------------------------------------------------------- /lib/landing_page_web/controllers/v1/lead_controller.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/controllers/v1/lead_controller.ex -------------------------------------------------------------------------------- /lib/landing_page_web/endpoint.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/endpoint.ex -------------------------------------------------------------------------------- /lib/landing_page_web/gettext.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/gettext.ex -------------------------------------------------------------------------------- /lib/landing_page_web/router.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/router.ex -------------------------------------------------------------------------------- /lib/landing_page_web/templates/layout/app.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/templates/layout/app.html.eex -------------------------------------------------------------------------------- /lib/landing_page_web/templates/page/index.html.eex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/templates/page/index.html.eex -------------------------------------------------------------------------------- /lib/landing_page_web/views/error_helpers.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/views/error_helpers.ex -------------------------------------------------------------------------------- /lib/landing_page_web/views/error_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/views/error_view.ex -------------------------------------------------------------------------------- /lib/landing_page_web/views/layout_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/views/layout_view.ex -------------------------------------------------------------------------------- /lib/landing_page_web/views/page_view.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/lib/landing_page_web/views/page_view.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/mix.lock -------------------------------------------------------------------------------- /priv/gettext/en/LC_MESSAGES/errors.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/priv/gettext/en/LC_MESSAGES/errors.po -------------------------------------------------------------------------------- /priv/gettext/errors.pot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/priv/gettext/errors.pot -------------------------------------------------------------------------------- /priv/repo/migrations/20171201145808_create_leads.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/priv/repo/migrations/20171201145808_create_leads.exs -------------------------------------------------------------------------------- /priv/repo/seeds.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/priv/repo/seeds.exs -------------------------------------------------------------------------------- /test/landing_page/marketing/marketing_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/landing_page/marketing/marketing_test.exs -------------------------------------------------------------------------------- /test/landing_page_web/controllers/page_controller_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/landing_page_web/controllers/page_controller_test.exs -------------------------------------------------------------------------------- /test/landing_page_web/controllers/v1/lead_controller_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/landing_page_web/controllers/v1/lead_controller_test.exs -------------------------------------------------------------------------------- /test/landing_page_web/views/error_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/landing_page_web/views/error_view_test.exs -------------------------------------------------------------------------------- /test/landing_page_web/views/layout_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/landing_page_web/views/layout_view_test.exs -------------------------------------------------------------------------------- /test/landing_page_web/views/page_view_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/landing_page_web/views/page_view_test.exs -------------------------------------------------------------------------------- /test/support/channel_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/support/channel_case.ex -------------------------------------------------------------------------------- /test/support/conn_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/support/conn_case.ex -------------------------------------------------------------------------------- /test/support/data_case.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bigardone/phoenix-and-elm-landing-page/HEAD/test/support/data_case.ex -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | 3 | Ecto.Adapters.SQL.Sandbox.mode(LandingPage.Repo, :manual) 4 | --------------------------------------------------------------------------------