-
Notifications
You must be signed in to change notification settings - Fork 76
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 #1163 from keynmol/improve-landing-page
Improve landing page - topic cloud, SJS/SN/scala highlights
- Loading branch information
Showing
15 changed files
with
361 additions
and
389 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
7 changes: 7 additions & 0 deletions
7
modules/core/shared/src/main/scala/scaladex/core/model/TopicCount.scala
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,7 @@ | ||
package scaladex.core.model | ||
|
||
final case class TopicCount(topic: String, count: Int) | ||
|
||
object TopicCount { | ||
implicit val ordering: Ordering[TopicCount] = Ordering.by(_.topic) | ||
} |
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
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
165 changes: 165 additions & 0 deletions
165
modules/server/src/main/assets/css/partials/_frontpage.scss
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,165 @@ | ||
// Home page | ||
// ----------------------------------------------------------------------------- | ||
#container-home { | ||
.home-search { | ||
background: url('/assets/img/head-project-background.png') no-repeat center top #0D343C; | ||
padding: 80px 0 100px 0; | ||
h1 { | ||
font-size: 42px; | ||
color: #fff; | ||
text-align: center; | ||
margin: 24px 0; | ||
} | ||
.has-feedback { | ||
.autocomplete { | ||
ul { | ||
li { | ||
padding: 0; | ||
a { | ||
display: block; | ||
padding: 15px; | ||
p { | ||
font-size: ($font-size-base * 1.3); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
.form-control { | ||
font-size: 20px; | ||
min-height: 60px; | ||
padding-left: 60px; | ||
} | ||
.form-control-feedback { | ||
font-size: 20px; | ||
height: 60px; | ||
width: 60px; | ||
padding-top: 10px; | ||
} | ||
} | ||
} | ||
.topic { | ||
padding: 0; | ||
margin-top: 10px; | ||
margin-bottom: 24px; | ||
text-align: center; | ||
li { | ||
list-style: none; | ||
display: inline-block; | ||
a { | ||
color: $gray-lighter; | ||
text-decoration: none; | ||
padding: 0 4px 0 8px; | ||
&:hover, | ||
&:focus { | ||
color: $brand-primary; | ||
text-decoration: underline; | ||
} | ||
} | ||
.super-count { | ||
vertical-align: super; | ||
color: $gray-light; | ||
font-size: small; | ||
} | ||
} | ||
} | ||
.ecosystem-row { | ||
h3 { | ||
font-size: large; | ||
text-align: center; | ||
font-weight: bold; | ||
color: $gray-light; | ||
margin-top: 24px; | ||
} | ||
} | ||
.ecosystem-badge { | ||
text-align: center; | ||
a { | ||
&:hover, | ||
&:focus { | ||
text-decoration: none; | ||
h4 { | ||
color: $brand-primary; | ||
} | ||
} | ||
} | ||
h4 { | ||
margin: 18px 0 0 0; | ||
color: white; | ||
font-size: x-large; | ||
font-weight: bold; | ||
|
||
} | ||
p { | ||
color: $gray-lighter; | ||
margin: 0; | ||
} | ||
.badge-other-versions { | ||
a { | ||
padding-left: 5px; | ||
color: white; | ||
text-decoration: underline; | ||
&:hover, | ||
&:focus { | ||
color: $brand-primary | ||
} | ||
} | ||
} | ||
} | ||
.recent-projects { | ||
padding: 40px 0 80px 0; | ||
h2 { | ||
margin-bottom: ($line-height-computed * 1.5); | ||
} | ||
a { | ||
h4 { | ||
font-size: 16px; | ||
} | ||
p, | ||
span { | ||
color: $gray; | ||
} | ||
&:hover, | ||
&:focus { | ||
text-decoration: none; | ||
h4 { | ||
color: $brand-primary; | ||
text-decoration: underline; | ||
} | ||
} | ||
} | ||
} | ||
.content-project { | ||
&.box { | ||
padding: 10px; | ||
} | ||
height: 186px; | ||
margin-bottom: 30px; | ||
.content-project-header { | ||
& > img, | ||
& > h4 { | ||
display: inline-block; | ||
vertical-align: middle; | ||
} | ||
border-bottom: 1px solid rgba($gray-dark, 0.12); | ||
padding-bottom: 20px; | ||
margin-bottom: 20px; | ||
h4 { | ||
margin: 0; | ||
display: inline-block; | ||
padding-left: 15px; | ||
width: 90%; | ||
} | ||
img { | ||
width: 28px; | ||
height: auto; | ||
float: left; | ||
} | ||
} | ||
.content-project-body {} | ||
&:hover, | ||
&:focus { | ||
@include box-shadow(0 1px 15px rgba(0, 0, 0, 0.15)); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.