Class: Cloudrider::Apiv1::HeroSplashSass::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/cloudrider/apiv1/hero_splash_sass.rb

Instance Method Summary collapse

Instance Method Details

#background_image_urlObject



6
7
8
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 6

def background_image_url
  "url(hero-splash/albatross.jpg)"
end

#background_min_heightObject



9
10
11
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 9

def background_min_height
  "45rem"
end

#hero_styleObject



3
4
5
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 3

def hero_style
  :static
end

#splash_cta_bgcolorObject



12
13
14
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 12

def splash_cta_bgcolor
  "white"
end

#tag_text_alignObject



15
16
17
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 15

def tag_text_align
  "left"
end

#tag_text_colorObject



18
19
20
# File 'lib/cloudrider/apiv1/hero_splash_sass.rb', line 18

def tag_text_color
  "#444" # should contrast cta_bgcolor
end