Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/css/home.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/styles/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $color-text-black: rgba(#000, .86);
$color-text: $color-text-black;
$color-text-light: rgba(#000, .54);
$color-text-lighter: rgba(#000, .26);
$background-light-blue: #53ACDC;

$text-color: $color-text-black;
$link-color: #4990E2;
Expand Down Expand Up @@ -51,4 +52,4 @@ a {

strong {
font-weight: $font-weight-bold;
}
}
6 changes: 3 additions & 3 deletions src/styles/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
position: relative;
min-height: 420px;
padding-top: 90px;
background-color: #53ACDC;
background-color: $background-light-blue;

.diagonal-divider {
width: 0;
height: 0;
border-right: 100vw solid white;
border-top: 100px solid #53ACDC;
border-top: 100px solid $background-light-blue;
}

.hero-title {
Expand Down Expand Up @@ -52,4 +52,4 @@
}
}
}
}
}
75 changes: 75 additions & 0 deletions src/styles/_meetups.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
.meetups {
color: white;
position: relative;
background-color: #000000;
padding-bottom: 160px;

.diagonal-divider {
width: 0;
height: 0;
border-left: 100vw solid white;
border-bottom: 100px solid #000000;
}

.title {
margin-top: 160px;
font-weight: $font-weight-normal;
text-align: center;
margin-bottom: 40px;
}


.meetup-card {
background-color: rgba(255, 255, 255, 0.9);
border-radius: $border-radius-base;
margin: auto;
width: 560px;
height: 335px;

.content {
padding-top: 19px;
padding-left: 30px;

h3 {
color: #000000;
}

.meetup-btn {
text-transform: uppercase;
background-color: $background-light-blue;
border-radius: 3px;
box-shadow: 0 2px 4px rgba(black, 0.1);
border: none;
cursor: pointer;
transition: transform 0.2s;
padding: 13px 78px;
color: #FFF;
display: inline-block;
margin-top: 16px;

&:hover {
transform: scale(1.025);
}
}

.meetup-info {
.info-text {
margin-bottom: 20px;
}

span {
display: block;
}

.info-label {
color: $color-text-light;
text-transform: uppercase;
}

.info-text {
color: $color-text-black;
}
}
}
}
}
3 changes: 2 additions & 1 deletion src/styles/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
@import 'header';
@import 'hero';
@import 'about-us';
}
@import 'meetups';
}
33 changes: 11 additions & 22 deletions src/templates/includes/meetups.pug
Original file line number Diff line number Diff line change
@@ -1,29 +1,18 @@
section.meetups
.diagonal-divider
.container
h2 Proximos encuentros
h2.title Proximo encuentro
article.meetup-card
.content
h3.meetup-title freeCodeCamp BA S02E01
h3#nombre freeCodeCamp BA S02E01
.meetup-info
span.info-label Fecha:
span.info-text Domingo 12/17
span.info-label Horario:
span.info-text 16:00 a 20:00
span.info-label Lugar:
span.info-text Area Tres (El Salvador 5000)
button Inscribite
span.info-label Fecha:
span.info-text#fecha Domingo 12/17
span.info-label Horario:
span.info-text#horario 16:00 a 20:00
span.info-label Lugar:
span.info-text#lugar Area Tres (El Salvador 5000)

a(href="" target="_blank" rel="noopener noreferrer").meetup-btn Inscribite
.image
img(src="", alt="")
article.meetup-card
.content
h3.meetup-title freeCodeCamp BA S02E01
.meetup-info
span.info-label Fecha:
span.info-text Domingo 12/17
span.info-label Horario:
span.info-text 16:00 a 20:00
span.info-label Lugar:
span.info-text Area Tres (El Salvador 5000)
button Inscribite
.image
img(src="", alt="")
1 change: 0 additions & 1 deletion src/templates/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ html
include includes/hero.pug
include includes/about-us.pug
include includes/meetups.pug
include includes/supporters.pug
include includes/footer.pug
script(src="./dist/js/index.js")
script(src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.2.1/owl.carousel.min.js")