Skip to content
Open
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
4 changes: 4 additions & 0 deletions SASS/1-base/_base-index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Base Index
@forward "base";
@forward "typography";
@forward "helpers";
12 changes: 12 additions & 0 deletions SASS/1-base/_base.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body{
background-color: RGB(250, 250, 250);
}



Empty file added SASS/1-base/_helpers.scss
Empty file.
4 changes: 4 additions & 0 deletions SASS/1-base/_typography.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*{
font-family: Helvetica;
font-size: 14px;
}
7 changes: 7 additions & 0 deletions SASS/2-components/_components-index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Components Index
@forward "footer";
@forward "login";
@forward "principal-image";
@forward "header";
@forward "home";

21 changes: 21 additions & 0 deletions SASS/2-components/_footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.footer__page{
display: flex;
justify-content: space-around;
}

.footer__list {
list-style-type: none;
flex-wrap: wrap;
&-li {
display: inline;
margin: 0.5rem;
color: rgb(23, 40, 117);
font-weight: bold;
font-size: 0.8rem;
}
}

.footer__copyright {
color: rgb(187, 187, 187);
font-weight: bold;
}
25 changes: 25 additions & 0 deletions SASS/2-components/_header.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@use "../4-abstracts/variables"as a;

.header__home{
background-color: rgb(255, 255, 255);

&-button{
background-color: a.$white-color;
border: 1px a.$borderCard-color solid;
color: a.$borderCard-color;
padding: 0.4rem 5rem;
border-radius: 2px;
cursor: pointer;
}

.fas {
margin-right: 1rem;
font-size: 1.5rem;
color: a.$grey-color;
}

}




75 changes: 75 additions & 0 deletions SASS/2-components/_home.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
@use "../4-abstracts/variables"as a;

.main__home-post {
border: 1px a.$borderCard-color solid;
margin-bottom: 2rem;

.main__home-header {
background-color: a.$white-color;
padding: 0.2rem;
font-weight: 600;
font-size: 0.8rem;

.fas{
margin: 0.2rem 0.4rem 0.2rem 0.6rem;
font-size: 1.5rem;
color: a.$grey-color;
}
}

.main__home-comments{
margin-bottom: 0;
padding: 0.8rem;

.main__home-icons {
margin-bottom: 0.4rem;

.fa-heart{
color: rgb(146, 28, 28);
font-size: 1.5rem;
}

.fa-comment{
@extend .fa-heart;
font-size: 1.5rem;
margin-left: 0.5rem;
color: black;
}
}
.like{
font-weight: 600;
font-size: 1rem;
margin-bottom: 0.5rem;
}

.newComment{
margin: 0.7rem 0;
}
}

}



.main__home-comments {
background-color: a.$white-color;
margin-bottom: 1rem;
margin-top: 0;
}

.comment{
color: a.$grey-color;
font-size: 0.9rem;
}

.user{
font-weight: bold;
margin-left: 1.5rem;
margin-right: 0.5rem;
font-size: 0.9rem;

}
.comment-date{
color: a.$grey-color;
font-size: 0.6rem;
}
99 changes: 99 additions & 0 deletions SASS/2-components/_login.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
@use "../4-abstracts/variables" as a;

.main__login {
position: relative;
left: 0px;

&-space{
margin-top: 0;
height: auto;
max-width: 360px;

.main__login-card {
background-color: a.$white-color;
border: 1px a.$borderCard-color solid;

.principal-image{
margin: 2rem;
}

input{
width: 75%;
margin: 0.15rem;
height: 2.5rem;
background-color: a.$main-brackground;
border: 1px a.$borderCard-color solid;
border-radius: 2px;
padding-left: 0.5rem;
color: a.$borderCard-color;
}

a {
width: 75%;
margin: 0.8rem;
height: 2rem;
background-color: a.$button-color;
cursor: pointer;
border-radius: 5px;
border: none;
color: a.$white-color;
font-weight: bold;
text-align: center;
text-decoration: none;
display: flex;
align-content: center;
justify-content: center;
align-items: center;
}

.main__login-facebook{
color: a.$facebook-color;
font-weight: bold;
margin: 1.5rem;

.fa-facebook-official{
margin-right: 0.5rem;
font-size: 1.2rem;
}
}

.password {
color: a.$facebook-color;
margin-bottom: 2rem;
}


.main__login-app{
margin-bottom: 2rem;
}
}
}
}
.gettheapp{
padding: 1rem;

}

.account{
color: a.$grey-color;
}

.signup{
font-weight: bold;
color: RGB(0, 149, 246);
}

.flex {
display: flex;
margin-top: 0.5rem;
}

.main__login-account {
background-color: a.$white-color;
border: 1px a.$borderCard-color solid;
}

.main__login-app-logo{
width: 40%;
margin-right: 0.5rem;
}
6 changes: 6 additions & 0 deletions SASS/2-components/_principal-image.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.principal-image{
float: right;
height: auto;
max-height: 700px;
max-width: 100%;
}
32 changes: 32 additions & 0 deletions SASS/3-layout/_home-page.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
@use "../4-abstracts/variables"as a;

.header__home{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
align-items: center;
margin-bottom: 2%;
border-bottom: 1px a.$borderCard-color solid;
&-logo{
display: flex;
justify-content: flex-end;
}
&-btn{
display: flex;
justify-content: center;
}
}

.main__home{
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
align-content: center;

&-header{
@extend .main__home;
flex-direction: row;

}
}

3 changes: 3 additions & 0 deletions SASS/3-layout/_layout-index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Layout Index
@forward "home-page";
@forward "login-page";
62 changes: 62 additions & 0 deletions SASS/3-layout/_login-page.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
@use "../4-abstracts/variables"as a;
@use "../4-abstracts/mixins"as b;


.main__page{
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0px 1rem;
align-items: flex-start;
align-content: center;
margin: 6%;
}

@media all and(max-width: 900px) {
.main__image {
display: none;
}

.main__page {
@include b.flex($justify-content: center);
grid-template-columns: none;
}
}

.main__login-space{
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
align-content: center;
}



.main__login-card{
width: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
align-content: center;
margin-bottom: 1rem;
}

.main__login-account{
width: 100%;
text-align: center;
padding: 1.7rem 0;
}

.main__login-app{
text-align: center;
margin: 1rem;
}

.main__login-app-div{
display: flex;
justify-content: center;
align-items: center;
align-content: center;
margin-top: 1rem;
}
3 changes: 3 additions & 0 deletions SASS/4-abstracts/_abstracts-index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Abstracts Index
@forward "mixins";
@forward "variables";
9 changes: 9 additions & 0 deletions SASS/4-abstracts/_mixins.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@mixin flex($direction: row, $wrap: nowrap, $justify-content: flex-start, $align-items: stretch, $align-content: stretch) {
display: flex;
flex-direction: $direction;
flex-wrap: $wrap;
justify-content: $justify-content;
align-items: $align-items;
align-content: $align-content;
}

6 changes: 6 additions & 0 deletions SASS/4-abstracts/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$main-brackground: RGB(250, 250, 250);
$white-color: rgb(255, 255, 255);
$grey-color: rgb(128, 128, 128);
$borderCard-color: RGB(219, 219, 219);
$button-color: RGB(178, 223, 252);
$facebook-color: RGB(56, 81, 133);
Binary file added assets/AppStore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/GooglePlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/or.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/principalImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading