-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
131 additions
and
44 deletions.
There are no files selected for viewing
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
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
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,14 @@ | ||
{{ $TotalProjects := len (where site.RegularPages "Section" "madewithgamma") }} | ||
|
||
<div class="swiper-slide py-4 px-3"> | ||
<div class="card text-white card-has-bg click-col h-100 justify-content-center"> | ||
<div class="card-body mx-2 mb-sm-3 align-self-center flex-grow-0 d-flex"> | ||
<div class="col"> | ||
<div class="d-flex justify-content-center mb-3">There are {{ $TotalProjects }} recent projects to discover.</div> | ||
<div class="d-flex justify-content-center"> | ||
<a class="btn btn-primary align-self-center" href="{{ "/showcase/#projects" | relURL }}">See All</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
File renamed without changes.
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,16 @@ | ||
{{ $rightItem := .right}} | ||
|
||
{{ with .context}} | ||
<div class="col-10 my-2 col-lg-5 py-4 px-3"> | ||
<div class="card text-white card-has-bg click-col"> | ||
<img class="card-img-top lazyload" data-src="{{.Params.img | relURL}}" alt="{{ .Params.Title }}"> | ||
<div class="card-body p-4"> | ||
<small class="card-meta mb-2">{{.Params.Author}}</small> | ||
<a href="{{ .Params.link }}" target="_blank" class="stretched-link"><h4 class="card-title mt-0 ">{{.Params.Title}}</h4></a> | ||
<div class="d-xs-none d-sm-block"> | ||
{{.Content}} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} |
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,15 @@ | ||
<div class="row justify-content-center mb-3 mb-md-1" id="projects"> | ||
<div class="col-11 col-xl-9"> | ||
<div class="row"> | ||
<div class="col d-flex"> | ||
<div class="label py-1 px-2 text-center">Recent</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="list row mb-5 justify-content-around px-5"> | ||
{{ $pages := ((where site.RegularPages "Section" "madewithgamma").ByParam "id").Reverse }} | ||
{{ range $index, $elem:= $pages }} | ||
{{ partial "showcase-page-madeWithGammaCard" (dict "context" $elem "index" $index) }} | ||
{{ end }} | ||
</div> |
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,33 @@ | ||
<div class="row justify-content-around mb-3"> | ||
<div class="col-11 col-xl-9"> | ||
<div class="row"> | ||
<div class="col d-flex"> | ||
<div class="label py-1 px-2 text-center">Showreels</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-11 col-xl-9 mt-2"> | ||
<ul class="nav nav-pills" id="showreel-pills" role="tablist"> | ||
{{ with .Showreel2}} | ||
<li class="nav-item" role="presentation"> | ||
<button class="nav-link active mr-2" href="#showreel-2" data-toggle="pill" data-target="#showreel-2" role="tab" aria-controls="showreel-2" aria-selected="true" alt="{{ .alt }}">{{ .title }}</button > | ||
</li> | ||
{{ end }} | ||
{{ with .Showreel1}} | ||
<li class="nav-item" role="presentation"> | ||
<button class="nav-link" href="#showreel-1" data-toggle="pill" data-target="#showreel-1" role="tab" aria-controls="showreel-1" aria-selected="false" alt="{{ .alt }}">{{ .title }}</button > | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="row mt-2 px-3 mb-5 justify-content-around" id="showreel-content"> | ||
<div class="tab-content col-11 col-xl-9 mx-2 text-center px-0"> | ||
<div class="mediaShadow tab-pane fade show active" id="showreel-2" role="tabpanel" aria-labelledby="pills-showreel2-tab"> | ||
{{ partial "vimeo" .Showreel2.vimeo }} | ||
</div> | ||
<div class="mediaShadow tab-pane fade" id="showreel-1" role="tabpanel" aria-labelledby="pills-showreel1-tab"> | ||
{{ partial "vimeo" .Showreel1.vimeo }} | ||
</div> | ||
</div> | ||
</div> |
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,16 @@ | ||
{{ "<!-- MADE WITH GAMMA -->" | safeHTML }} | ||
<section id="Showcase"> | ||
<div class="container-fluid"> | ||
{{ with .Site.Params.Showcase }} | ||
<div class="row justify-content-center"> | ||
<div class="col-lg-8 col-lg-offset-2 text-center"> | ||
<h2 class="section-heading">{{ .headline }}</h2> | ||
<hr class="primary"> | ||
</div> | ||
</div> | ||
{{ partial "showcase-page-showreels" . }} | ||
|
||
{{ partial "showcase-page-projects" . }} | ||
{{ end }} | ||
</div> | ||
</section> |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.