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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.sketch
*.fig
*.xd
.DS_Store

node_modules
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5"
}
Binary file added Screenshots/unsplash_app_overlay_loader.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions assets/design/Bean Eater-1s-200px.svg
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/design/international.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions assets/style/_core.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@use '_variables' as *;

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
margin: 0;
font-family: $primaryFont;
background-color: $bodyColor;
}

main {
background-color: $bodyColor;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
54 changes: 54 additions & 0 deletions assets/style/_header.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
@use '_variables' as *;

header {
z-index: 50;
padding-top: 0.25rem;
position: sticky;
top: 0;
background-color: inherit;
margin: 10px 24px 20px 24px;
padding: 20px;
display: flex;
justify-content: flex-start;
min-width: 375px;
width: 100%;

h1 {
color: $h1Color;
opacity: 0.7;
text-transform: uppercase;
font-size: 26px;
text-align: center;
padding-right: 10px;

@media only screen and (min-width: 768px) {
font-size: 45px;
}

@media only screen and (min-width: 1280px) {
font-size: 60px;
}
}

button {
width: 60px;
text-align: center;
cursor: pointer;
font-family: $primaryFont;
text-transform: uppercase;
background-color: $buttonColor;
color: $h1Color;
border-radius: 10px;
border: none;

@media only screen and (min-width: 768px) {
width: 70px;
font-size: 20px;
}

@media only screen and (min-width: 1280px) {
width: 90px;
font-size: 35px;
}
}
}
158 changes: 158 additions & 0 deletions assets/style/_image-container.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
@use '_variables' as *;

.image-container {
padding: 20px;
padding-top: 4px;
min-width: 375px;
margin: 20px 10%;
display: flex;
flex-direction: column;
align-items: center;
color: $buttonColor;

.all {
padding: 5px;
margin-bottom: 10px;
box-shadow: $shadowColor 0px 3px 8px;
}

img {
width: 100%;
height: 90%;
margin-top: 5px;
cursor: pointer;
}

a {
cursor: pointer;
font-size: 10px;
margin-top: 10px;
text-decoration: none;
color: $buttonColor;

@media only screen and (min-width: 768px) {
font-size: 20px;
margin-bottom: 20px;
}

@media only screen and (min-width: 1280px) {
font-size: 30px;
margin-bottom: 20px;
}
}

.userInfo {
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
margin-bottom: 3px;

small {
align-self: flex-end;
font-size: 15px;
color: $usernameColor;

@media only screen and (min-width: 768px) {
font-size: 30px;
}

@media only screen and (min-width: 768px) {
font-size: 40px;
}
}
}

.avatar {
width: 15%;
height: 15%;
border-radius: 50%;
margin-right: 15px;
margin-bottom: 3px;
padding: 5px;
}

.stats {
font-size: 13px;
display: flex;
justify-content: center;
width: 100%;
padding-right: 15px;

small {
@media only screen and (min-width: 768px) {
font-size: 20px;
margin-bottom: 10px;
}

@media only screen and (min-width: 1280px) {
font-size: 25px;
}
}
}

.likes {
margin-right: 15px;
}

.social {
font-size: 13px;
align-self: flex-start;
display: flex;
flex-direction: column;
justify-content: baseline;
align-items: flex-start;

small {
@media only screen and (min-width: 768px) {
font-size: 20px;
padding-bottom: 5px;
}

@media only screen and (min-width: 1280px) {
font-size: 30px;
}
}
}
}

.grid {
display: grid;
grid-template-columns: repeat(3, 110px);
justify-content: center;
align-content: center;
align-items: center;
grid-gap: 15px;
width: 100%;
margin: 0;
margin-top: 20px;

@media only screen and (min-width: 768px) {
grid-template-columns: repeat(4, 170px);
}

@media only screen and (min-width: 1280px) {
grid-template-columns: repeat(5, 200px);
}

.all {
padding: 0;
margin: 0;
width: 100%;
height: 100%;
}

img {
margin: 0;
width: 100%;
height: 100%;
}

.userInfo,
.likes,
.social,
.stats,
a {
display: none;
}
}
Loading