def landing
div.xyz do
h1 'XYZ SAAS Application'
if ab_test("special_promo")
div.special_promo! do
div "Special offer for today only"
a "Sign-Up Now and get a month free!", :href=>"/signup?special_promo=1"
end
else
div.abingo_explain "The special promo was not selected for this user"
end
div.marketing! do
div.benefits! do
ul do
li "Save XYZ time in half"
li "Reduce XYZ cost by 25%"
li "Improve quality"
end
end
div.actnow! do
signup_text = ab_test("call_to_action",
[ "Sign-Up Now!",
"Try It For Free Now!",
"Start Your Free Trial Now!",
])
a :href=>"/signup" do
div.signup_btn! signup_text
end
end
end
end
end