-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from keitaroinc/create-hero-section
Create design for hero section
- Loading branch information
Showing
18 changed files
with
657 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
$primary-color: #1C768F; | ||
$secondary-color: #FA991C; | ||
$tertiary-color: #FAF3F1; | ||
$text-primary: #032539; | ||
$neutral: #FBF3F2; | ||
$white: white; | ||
|
||
$bold: bolder; | ||
$bold-size: larger; | ||
$bold-size: larger; | ||
$xxl-size: xx-large; | ||
$xxxl-size: xxx-large; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% extends "page.html" %} | ||
|
||
{% block subtitle %}{{ _('About') }}{% endblock %} | ||
|
||
{% block breadcrumb_content %} | ||
<li class="active">{% link_for _('About'), named_route='home.about' %}</li> | ||
{% endblock %} | ||
|
||
{% block primary %} | ||
<article class="module" role="main"> | ||
<div class="module-content"> | ||
{% block about %} | ||
{% if g.site_about %} | ||
{{ h.render_markdown(g.site_about) }} | ||
{% else %} | ||
<h1 class="page-heading">{{ _('About') }}</h1> | ||
{% snippet 'home/snippets/about_text.html' %} | ||
{% endif %} | ||
{% endblock %} | ||
</div> | ||
</article> | ||
{% endblock %} | ||
|
||
{% block secondary %}{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "page.html" %} | ||
{% set homepage_style = ( g.homepage_style or '1' ) %} | ||
|
||
{% block subtitle %}{{ _("Welcome") }}{% endblock %} | ||
|
||
{% block maintag %}{% endblock %} | ||
{% block toolbar %}{% endblock %} | ||
|
||
{% block content %} | ||
<div class="homepage layout-{{ homepage_style }}"> | ||
<div id="content" class="container"> | ||
{{ self.flash() }} | ||
</div> | ||
{% block primary_content %} | ||
{% snippet "home/layout{0}.html".format(homepage_style), search_facets=search_facets %} | ||
{% endblock %} | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<div role="main"> | ||
<div class="main hero"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
{% block promoted %} | ||
{% snippet 'home/snippets/promoted.html' %} | ||
{% endblock %} | ||
</div> | ||
<div class="col-md-6"> | ||
{% block search %} | ||
{% snippet 'home/snippets/search.html', search_facets=search_facets %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="main module-feeds"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
{# Note: this featured_group block is used as an example in the theming | ||
tutorial in the docs! If you change this code, be sure to check | ||
whether you need to update the docs. #} | ||
{# Start template block example. #} | ||
{% block featured_group %} | ||
{% snippet 'home/snippets/featured_group.html' %} | ||
{% endblock %} | ||
{# End template block example. #} | ||
</div> | ||
<div class="col-md-6"> | ||
{% block featured_organization %} | ||
{% snippet 'home/snippets/featured_organization.html' %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.