Skip to content

Commit

Permalink
Remove community page (#394)
Browse files Browse the repository at this point in the history
Redirect to community section on front page instead.

* Make community section on front page linkable

* Remove community from main nav

* Add redirect for community page - goes to #community on front page

* Delete community pages
  • Loading branch information
m52go authored Sep 11, 2020
1 parent b87d11a commit 0a8933c
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 333 deletions.
9 changes: 0 additions & 9 deletions _includes/main_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@

<!-- additional links for mobile menu (these show in "learn more" dropdown on desktop) -->

<li class="downloads-mobile nav-item">
<a class="nav-link" href="{% lingual_link community %}">{{ mainNavLabels.community }}</a>
</li>
<li class="downloads-mobile nav-item">
<a class="nav-link" href="/blog">{{ mainNavLabels.blog }}</a>
</li>
Expand Down Expand Up @@ -83,12 +80,6 @@
<a href="/blog/">{{ mainNavLabels.blog }}</a>
</div>
</div>

<div class="dropdown-item btn-icon">
<div class="float-right">
<a href="{% lingual_link community %}">{{ mainNavLabels.community }}</a>
</div>
</div>
</div>
</li>

Expand Down
2 changes: 1 addition & 1 deletion _layouts/page_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ <h2>{{ item.hGetStarted }}</h2>

<div class="grey-back" style="margin-bottom:0">
<div class="row-block container">
<h2 id="join-the-community">{{ item.hJoin }}</h2>
<h2 id="community">{{ item.hJoin }}</h2>

<div class="row">

Expand Down
2 changes: 2 additions & 0 deletions _redirects
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ https://bisq.io https://bisq.network 301
# misc
/team / 302

/community /#community

/events https://calendar.google.com/calendar/embed?src=adfiuiokq9jtac8t9keomc00b0%40group.calendar.google.com 302
/calendar /events 301

Expand Down
35 changes: 0 additions & 35 deletions community.md

This file was deleted.

9 changes: 8 additions & 1 deletion css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,14 @@ nav .mobile-language-selector button {
}

.homepage-hero {
margin-top: 10vh
margin-top: 10vh;
}

h2#community::before {
content: "";
display: block;
height: 100px; /* fixed header height*/
margin: -100px 0 0; /* negative fixed header height */
}

#video-overlay {
Expand Down
36 changes: 0 additions & 36 deletions de/community.md

This file was deleted.

36 changes: 0 additions & 36 deletions es/community.md

This file was deleted.

36 changes: 0 additions & 36 deletions fr/community.md

This file was deleted.

35 changes: 0 additions & 35 deletions ja/community.md

This file was deleted.

36 changes: 0 additions & 36 deletions pt-BR/community.md

This file was deleted.

36 changes: 0 additions & 36 deletions pt-PT/community.md

This file was deleted.

Loading

0 comments on commit 0a8933c

Please sign in to comment.