diff --git a/CHANGELOG b/CHANGELOG index 01aba23..ba637b2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,17 @@ All notable changes to the "Bloom" project will be documented in this file. +### [0.0.8] - 2024-05-11 + +#### Added + +- Gradient blob component +- Tailwind class formatting + +#### Changed + +- Updated hero component + ### [0.0.7] - 2024-05-01 #### Added diff --git a/README.md b/README.md index 445e17a..6c71319 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Can be installed by adding `bloom` to your list of dependencies in `mix.exs`: ```elixir def deps do [ - {:bloom, "~> 0.0.2"} + {:bloom, "~> 0.0.8"} ] end ``` @@ -51,6 +51,16 @@ Some components require Tailwind Config changes - refer to the component doc for mix bloom.install help ``` +#### Install Ecto-backed waitlist & landing page by running: + +``` +mix bloom.landing_page +``` + +You will need to run `mix ecto.gen.migration` to create the migration and copy and migrate the contents from waitlist.ex to complete. + +You will also need to add the generated LiveView to your router. + ## Frequently Asked Questions ### Why are the components manually installed? diff --git a/lib/tasks/landing_page.ex b/lib/tasks/landing_page.ex index 2f8533d..2e692c8 100644 --- a/lib/tasks/landing_page.ex +++ b/lib/tasks/landing_page.ex @@ -43,7 +43,7 @@ defmodule Mix.Tasks.Bloom.LandingPage do end) Mix.shell().info( - "Landing page generated - don't forget to run the migration specified in the waitlist.ex module" + "Landing page generated - don't forget to run the migration specified in the waitlist.ex module and add the liveview to your router." ) end diff --git a/mix.exs b/mix.exs index 6291a4a..b2b7bc4 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Bloom.MixProject do def project do [ app: :bloom, - version: "0.0.7", + version: "0.0.8", elixir: "~> 1.16", start_permanent: Mix.env() == :prod, deps: deps(), @@ -36,7 +36,7 @@ defmodule Bloom.MixProject do defp deps do [ {:phoenix, "~> 1.7.6"}, - {:phoenix_live_view, "~> 0.20"}, + {:phoenix_live_view, "~> 0.19"}, {:phoenix_html, ">= 3.3.3"}, {:mox, "~> 1.0", only: :test}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false},