about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-03-15 00:51:49 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:21 -0500
commitdc5993191d5596850571c8810f2c1169e5719b63 (patch)
treeee0b5170b0bfdf45e4442718779bc57799a35d4f /app/views
parente84f1bc4ef372c5c97f9a464b11a061e7382c2a7 (diff)
arrange widgets in a sensible order
Diffstat (limited to 'app/views')
-rw-r--r--app/views/about/show.html.haml20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index 45e5f0717..c68b5f597 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -14,9 +14,17 @@
   .landing__grid
     .landing__grid__column.landing__grid__column-registration
       .box-widget
-        = render 'registration'
+        = render 'login'
 
       .directory
+        - if Setting.timeline_preview
+          .directory__tag
+            = optional_link_to Setting.timeline_preview, public_timeline_path do
+              %h4
+                = fa_icon 'globe fw'
+                = t('about.see_whats_happening')
+                %small= t('about.browse_public_posts')
+
         - if Setting.profile_directory
           .directory__tag
             = optional_link_to Setting.profile_directory, explore_path do
@@ -29,14 +37,6 @@
                 - @instance_presenter.sample_accounts.each do |account|
                   = image_tag current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url, width: 48, height: 48, alt: '', class: 'account__avatar'
 
-        - if Setting.timeline_preview
-          .directory__tag
-            = optional_link_to Setting.timeline_preview, public_timeline_path do
-              %h4
-                = fa_icon 'globe fw'
-                = t('about.see_whats_happening')
-                %small= t('about.browse_public_posts')
-
         .directory__tag
           = link_to 'https://joinmastodon.org/apps', target: '_blank', rel: 'noopener' do
             %h4
@@ -46,7 +46,7 @@
 
     .landing__grid__column.landing__grid__column-login
       .box-widget
-        = render 'login'
+        = render 'registration'
 
       .hero-widget
         .hero-widget__img