Skip to content

Commit 098ea29

Browse files
Removed quickpost from authenticated index page and moved bibleverse up (#814)
1 parent d20daab commit 098ea29

File tree

2 files changed

+40
-22
lines changed

2 files changed

+40
-22
lines changed
Lines changed: 37 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
<EmberWormhole @to='navbar-wormhole'>
22
<PageActionsButtons @pageActions={{pageActions}}>
33
<Tools::BoardRoomPresence />
4-
<div class='col col-md-auto page-action d-md-none'>
5-
<LinkTo @route='quickpost'>
6-
<button type='button' class='btn btn-primary' title='quickpost'>
7-
<FaIcon @icon='comments' />
8-
<span class='d-none d-md-inline'> Quickpost </span>
9-
</button>
10-
</LinkTo>
11-
</div>
124
</PageActionsButtons>
135
</EmberWormhole>
146

@@ -24,14 +16,20 @@
2416
<AdvertisementTool />
2517
</div>
2618

27-
<div class='row pt-4'>
28-
<div class='col-7 d-none d-md-block'>
29-
<div class='article-cards-wrapper full-width-small-screens ps-3 ps-md-0'>
30-
<Index::SponsorkliksAlert />
31-
</div>
32-
<QuickPost />
19+
{{!-- Desktop version --}}
20+
<div class="row pt-4 mx-n2 d-none d-md-flex">
21+
<div class="col-12 col-md-6 px-2">
22+
<Index::SponsorkliksAlert />
23+
<Tools::DailyVerse />
24+
{{#if (can 'show photo-albums')}}
25+
<Tools::RecentPhotos />
26+
{{/if}}
27+
{{#if (can 'show polls')}}
28+
<Tools::RecentPolls />
29+
{{/if}}
3330
</div>
34-
<div class='col-12 col-md-5'>
31+
32+
<div class="col-12 col-md-6 px-2">
3533
{{#if (can 'show activities')}}
3634
{{#if (can 'create form/responses')}}
3735
<Tools::ClosingActivities />
@@ -44,12 +42,29 @@
4442
{{#if (can 'show forum/posts')}}
4543
<Tools::ForumPosts />
4644
{{/if}}
47-
{{#if (can 'show polls')}}
48-
<Tools::RecentPolls />
49-
{{/if}}
50-
{{#if (can 'show photo-albums')}}
51-
<Tools::RecentPhotos />
52-
{{/if}}
53-
<Tools::DailyVerse />
5445
</div>
46+
</div>
47+
48+
{{!-- Mobile version --}}
49+
<div class="row pt-4 mx-n2 d-flex d-md-none">
50+
<Index::SponsorkliksAlert />
51+
<Tools::DailyVerse />
52+
{{#if (can 'show activities')}}
53+
{{#if (can 'create form/responses')}}
54+
<Tools::ClosingActivities />
55+
{{/if}}
56+
<Tools::UpcomingActivities />
57+
{{/if}}
58+
{{#if (can 'show users')}}
59+
<Tools::UpcomingBirthdays />
60+
{{/if}}
61+
{{#if (can 'show forum/posts')}}
62+
<Tools::ForumPosts />
63+
{{/if}}
64+
{{#if (can 'show polls')}}
65+
<Tools::RecentPolls />
66+
{{/if}}
67+
{{#if (can 'show photo-albums')}}
68+
<Tools::RecentPhotos />
69+
{{/if}}
5570
</div>

app/styles/variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ $container-max-widths: (
123123
$grid-columns: 12 !default;
124124
$grid-gutter-width: 1.875rem; // 30px
125125

126+
// Allow negative margins
127+
$enable-negative-margins: true;
128+
126129
// fonts
127130
$font-family-sans-serif: 'nunito sans', 'Arial', sans-serif;
128131
$font-family-serif: 'Georgia', 'Times New Roman', 'Times', serif;

0 commit comments

Comments
 (0)