Commit Graph

56 Commits

Author SHA1 Message Date
decabeza
8e01b11569 Move conditional into shared banner partial
To avoid always writing if has_banners? every time the partial is used it has been moved within this partial.
2020-05-08 12:00:03 +02:00
decabeza
caedd21da8 Move cards to shared partials 2020-04-21 12:54:16 +02:00
Javi Martín
488461b8ac Remove consecutive blank lines 2019-09-10 20:02:15 +02:00
Javi Martín
3e4e65ead7 Use double quotes inside ERB
We were using single quotes inside ERB code when that code was inside
HTML double quotes.
2019-03-25 14:58:54 +01:00
decabeza
6bb3c0a3da Add columns on welcome card view 2019-01-31 17:20:04 +01:00
Javi Martín
aa45c39d3e Remove trailing whitespace 2018-12-10 12:59:03 +01:00
Papaya Labs
f7c10de627 Fix indentation and include specs 2018-09-18 15:16:31 -05:00
Papaya Labs
357b3406ed Hide Featured section on Home Page if there are no cards 2018-09-13 15:33:24 -05:00
iagirre
0d9da5398b Fix banners in user pages
Banners were not been shown in certain pages; now
they are.

Spec to check if the banner is been shown correctly
added. Before it was in admins specs, now it has it's
own spec out of admins folder.
2018-07-12 10:17:25 -04:00
decabeza
ee0bbe42fd Improves homepage layout 2018-06-06 17:42:54 +02:00
decabeza
316c816836 Expands cards if feed processes is not enabled 2018-05-28 18:52:59 +02:00
decabeza
7732a6704c Adds styles and i18n for homepage 2018-05-28 18:17:26 +02:00
decabeza
0ac6531612 Adds styles for homepage users view 2018-05-28 18:17:26 +02:00
rgarcia
0e097973cc Add widget feeds to homepage
Note there is some funkiness going on with class loadings
Had to create a `feed` and `widget_feed` table even though in this
first version the Widget::Feed includes only uses ActiveModel instead
of ActiveRecord, otherwise some specs failed

We’ll figure it out and clean up 😌
2018-05-28 18:17:26 +02:00
rgarcia
c7f85c4173 Add widget header to homepage 2018-05-28 18:17:26 +02:00
rgarcia
664e77305c Add widget cards to homepage 2018-05-28 18:17:26 +02:00
decabeza
286371c9d9 Changes more_info folder and path to help 2018-01-30 18:26:30 +01:00
decabeza
213152349b Changes more info link to help 2018-01-30 18:10:42 +01:00
decabeza
7fcbd99311 adds social media meta tags to welcome index page 2017-11-24 14:13:19 +01:00
decabeza
599c243f62 removes unnecessary helper for welcome page 2017-10-13 18:58:58 +02:00
taitus
b4a6f664bb Remove image by default on carousel. Remove duplicate code. Add background when user recomendations is actived 2017-09-05 19:11:32 +02:00
Alberto
3cc904311a Merge branch 'master' into user-recomendations 2017-09-04 19:53:21 +02:00
decabeza
68591fa7d6 removes image and improves layout of welcome index page 2017-09-01 12:52:13 +02:00
taitus
fe3bb7a389 Add recommended tab on proposals and debates index. 2017-08-01 16:31:44 +02:00
taitus
01a41b4706 Add Settings flag recommendations 2017-08-01 16:28:01 +02:00
taitus
c6a9ffc19c Remove recommended investments 2017-08-01 16:28:01 +02:00
Alessandro Cuoghi
c913687be5 Moved below the header the recomended. Changed orbit-bullets diameter.Align text on the left. Used all width space for each container of the recomended. 2017-08-01 16:28:01 +02:00
taitus
ee0a10855d Calculate carousel size. 2017-08-01 16:28:01 +02:00
Senén Rodero Rodríguez
fd9bec4d1f Remove uneeded files and rename. 2017-08-01 16:28:01 +02:00
taitus
36c76996e3 Display proposals and debates recommended when user have not interests. 2017-08-01 16:28:01 +02:00
taitus
ff6471982c Add recommended debates, proposals and investement to Home page. 2017-08-01 15:48:21 +02:00
decabeza
c01a2150b9 removes images on welcome page 2017-05-31 12:55:10 +02:00
decabeza
b6521e932c adds rel canonical on welcome index page 2017-05-17 14:10:47 +02:00
Amaia Castro
8143fe1037 Site customization: images uploads 2017-04-06 17:00:04 +02:00
Alberto Garcia Cabeza
533a7492a1 changes more information to more info 2017-04-04 18:01:30 +02:00
Alberto Garcia Cabeza
a30d9218d4 Deletes alt text for decorative images 2016-07-14 18:07:45 +02:00
Alberto Garcia Cabeza
97db98fd3e Removes html role attributes 2016-03-14 19:31:15 +01:00
Alberto Garcia Cabeza
3752f3a53b Adds foundation 6 🎉 2016-02-26 19:33:33 +01:00
Alberto Garcia Cabeza
a48574e99a Removes Merriweather font 2015-12-15 16:54:26 +01:00
Alberto Garcia Cabeza
ca18eb99de Cleans and improves styles for header and homepage 2015-12-15 16:35:55 +01:00
Alberto Garcia Cabeza
2ca4557f2d Improves accesibility 2015-10-13 16:48:37 +02:00
Alberto Garcia Cabeza
f224f46d72 Adds size on homepage icons, adds h3 headings 2015-09-28 13:46:54 +02:00
Alberto Garcia Cabeza
ff03396ae1 Replaces home icons png to svg 2015-09-15 08:57:49 +02:00
rgarcia
b75f2cfad7 removes filtered debates and proposals titles 2015-09-14 19:26:29 +02:00
Juanjo Bazán
93666dcb4a updates cache of public home 2015-09-14 17:10:02 +02:00
Alberto Garcia Cabeza
53902a9d70 Adds texts for welcome, changes call to action 2015-09-14 13:40:48 +02:00
Alberto Garcia Cabeza
d493f7b250 Changes welcome page with more info and texts 2015-09-13 20:22:34 +02:00
Juanjo Bazán
890c7d55e1 adds featured proposals to public home 2015-09-13 14:26:24 +02:00
Juanjo Bazán
69cb070ce2 adds user's votes info to cache keys 2015-09-07 13:18:30 +02:00
Juanjo Bazán
8204e51ea2 adds cache to featured debates (welcome/index) 2015-08-31 20:47:11 +02:00