Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
5135539
main structure,html,js,css
LuisMM24 Dec 1, 2021
84993d9
modal post created and structured
LuisMM24 Dec 2, 2021
f4a0e3b
Main styles
Kory-ifcd0210 Dec 2, 2021
b6526a2
refact of flexbox
LuisMM24 Dec 2, 2021
fa1e07a
merge with main structure
LuisMM24 Dec 2, 2021
20b86e7
function global getPost y printTittle
Kory-ifcd0210 Dec 2, 2021
b7f27fa
getUsers created
LuisMM24 Dec 2, 2021
7986e4c
divPostDetail-> open Modal
Kory-ifcd0210 Dec 2, 2021
8385e76
display title when the page is loaded
LuisMM24 Dec 2, 2021
0c3bd41
Changes header styles
Kory-ifcd0210 Dec 2, 2021
19d0d74
fix divs styles
Kory-ifcd0210 Dec 2, 2021
098404d
modal window functionality, access with parameters
LuisMM24 Dec 2, 2021
3ab1e05
nada
Kory-ifcd0210 Dec 2, 2021
cfa634a
Merge branch 'develop' of https://github.com/Kory-ifcd0210/blog-with-…
Kory-ifcd0210 Dec 2, 2021
cb69f59
functions getUser and getCommenst
Kory-ifcd0210 Dec 2, 2021
590f2d0
array of photos created, fixed user and email position in modal
LuisMM24 Dec 2, 2021
0324201
Merge branch 'develop' of https://github.com/Kory-ifcd0210/blog-with-…
LuisMM24 Dec 2, 2021
23502b3
async functions refacted
LuisMM24 Dec 2, 2021
65a1dad
refactor of fetch
LuisMM24 Dec 3, 2021
79b461f
load comments working
LuisMM24 Dec 3, 2021
2b22cd3
array img funcional
Kory-ifcd0210 Dec 3, 2021
a64b7cb
text responsive
Kory-ifcd0210 Dec 3, 2021
5f341a4
pagination created
LuisMM24 Dec 3, 2021
afe01f3
Merge branch 'develop' of https://github.com/Kory-ifcd0210/blog-with-…
LuisMM24 Dec 3, 2021
06426c7
load button functionality,change img title post
LuisMM24 Dec 3, 2021
081eac1
image in comments added
LuisMM24 Dec 3, 2021
3e8d920
pagination working!
LuisMM24 Dec 3, 2021
5dbfb3e
pagination created,last post next post created
LuisMM24 Dec 4, 2021
ffb0753
change photos while pass page, and doing format of delete modal
LuisMM24 Dec 6, 2021
e6b2783
pagination full working, delete modal structure done, needs function…
LuisMM24 Dec 6, 2021
c294fd9
delete functionality working
LuisMM24 Dec 7, 2021
f6d289a
install
Kory-ifcd0210 Dec 7, 2021
05424e9
Estilos logo
Kory-ifcd0210 Dec 8, 2021
2e556b5
Fix ResetModal
Kory-ifcd0210 Dec 9, 2021
cb78b5b
fixing delete button
LuisMM24 Dec 9, 2021
1740689
merge with comments fixes and previous next post
LuisMM24 Dec 9, 2021
5f8d1d2
comments styles
Kory-ifcd0210 Dec 9, 2021
497c719
Modal Edit Style/structure
Kory-ifcd0210 Dec 9, 2021
847a15d
fixes with delete and prev page, working 100%
LuisMM24 Dec 9, 2021
39512cd
img post resize, and post info changed of pos
LuisMM24 Dec 9, 2021
cee1e95
header fixed, responsive things
LuisMM24 Dec 9, 2021
0f05c0e
url of imgs added
LuisMM24 Dec 9, 2021
3ebdfbf
inicio function edit
Kory-ifcd0210 Dec 9, 2021
02976a7
Finish Function Edit
Kory-ifcd0210 Dec 9, 2021
31da83e
Merge branch 'develop' of https://github.com/Kory-ifcd0210/blog-with-…
Kory-ifcd0210 Dec 9, 2021
1ebd69c
Merge branch 'develop' of https://github.com/Kory-ifcd0210/blog-with-…
LuisMM24 Dec 9, 2021
0d9a876
Styles
Kory-ifcd0210 Dec 9, 2021
3ddfe10
pagination dynamic
LuisMM24 Dec 9, 2021
889c431
changes
Kory-ifcd0210 Dec 9, 2021
447e043
Merge branch 'develop' of https://github.com/Kory-ifcd0210/blog-with-…
Kory-ifcd0210 Dec 9, 2021
02f176f
last touches in pagination
LuisMM24 Dec 9, 2021
5ce590b
Work on develop
LuisMM24 Dec 9, 2021
c58d4e2
font family
LuisMM24 Dec 10, 2021
89ca11b
Merge branch 'develop' of https://github.com/Kory-ifcd0210/blog-with-…
Kory-ifcd0210 Dec 10, 2021
75c2ce8
last fixes
LuisMM24 Dec 10, 2021
e793e42
Develop 2.0
LuisMM24 Dec 10, 2021
4ee0460
deleting comments
LuisMM24 Dec 10, 2021
187c6ed
Presentación
Kory-ifcd0210 Dec 10, 2021
5e0f178
deleting comments
Kory-ifcd0210 Dec 10, 2021
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
Binary file added Blog With API Luis & Cori.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions assets/img/exclamation-circle-solid.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/img/logo.jpg
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/img/nexpost.jpg
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/img/photopost/0.jpg
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/img/photopost/1.jpg
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/img/photopost/10.jpg
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/img/photopost/11.jpg
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/img/photopost/12.jpg
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/img/photopost/13.jpg
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/img/photopost/14.jpg
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/img/photopost/15.jpg
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/img/photopost/16.jpg
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/img/photopost/2.jpg
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/img/photopost/3.jpg
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/img/photopost/4.jpg
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/img/photopost/5.jpg
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/img/photopost/6.jpg
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/img/photopost/7.jpg
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/img/photopost/8.jpg
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/img/photopost/9.jpg
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/img/post-photo1.jpg
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/img/prevpost.jpg
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/img/warning-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
258 changes: 258 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
/* Font family */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

:root{
--bg-color: #FFFFFF;
--secondary-color: #E89119;
--primary-color: #2EC4B6;
--details-blue: #BEEEE9;
--details-orange: #FFBF69;
--warning:#AE2012;
--disabled:#C4C4C4;
}

/* if delete method commes error or success */
body{
position:relative;
font-family: 'Roboto', sans-serif;
}
#statusMessage{
position:absolute;
top:100px;
right:20px;
}
.alert-success p{
margin:0;
}

/*NavBar*/
.welcome{
display: flex;
height: 40px;
line-height: 40px;
overflow: hidden;
justify-content: center;
margin: 2vh;
}
picture{
display: flex;
align-items: center;

}

#logoImg{
width: 45px;
border-radius: 50px;
margin: 15px;
}
#logoP{
color: var(--bg-color);
font-weight: bold;
font-size: 2em;
margin-top: 1.5vh;
}
.menuBlue{
background-color: var(--primary-color);
height: 7vh;
}

.nav-link{
margin-top: 2.7vh;
color: var(--bg-color);
}

.nav-link:hover{
color: var(--details-orange);
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
background-color: var(--details-blue);
border-color: var(--details-blue);
color: var(--primary-color);
font-weight: bold;
}

.welcome ul{
list-style: none;
margin: 0;
animation: change 6s infinite;
}

.welcome ul, h1{
color: var(--secondary-color);
font-size: 30px;
margin:0;
font-weight: bold;
align-items: center;
}

@keyframes change{
0%{ margin-top: 0;}
20%{ margin-top: 0;}

25%{ margin-top: -40px;}
50%{ margin-top: -40px;}

55%{ margin-top: -80px;}
80%{ margin-top: -80px;}

85%{ margin-top: -40px;}
95%{ margin-top: -40px;}

100%{margin-top: 0;}
}

/*Container body posts main*/
/* @media only screen and (max-width: 600px) {

.sectionMain > .row {
background-color: var(--secondary-color);
}
} */

/* MODAL POST */
#post-header{
background-color:var(--primary-color);
}
.modalPost{
max-width:920px;
}
.head-icons{
width:20px;
cursor:pointer;
transition:0.5s;
color:var(--bg-color)
}
.head-icons:nth-child(2n){
margin-left:10px;
}
#trash{
margin-left:20px;
width:16px;
}
.photoPostContainer{
max-width:450px;
max-height: 300px;
overflow: hidden;

}
#photoTitle{
object-fit: fill;
}
.fa-user,.fa-envelope,.fa-comments{
margin-right:5px;
padding:8px;
}
#infoUser{
color:var(--secondary-color);
}

.fa-arrow-right, .fa-arrow-left{
cursor:pointer;
}

#description{
margin-top: 20px;
font-size: 20px;
}
/* COMMENTS */
#commentSection{
color:var(--secondary-color);
margin-bottom: 10px;
}
.loadComments{
background-color:var(--secondary-color);
color:white;
border:none;
border-radius: 10px;
padding: 10px;

}
.bodyComment{
color:black;
border-left:2px solid black;
}
/* DELETE MODAL */
.modalDelte{
max-width:500px;
}
#exampleModalToggle3 h1{
color:black;
}
.fa-exclamation-triangle::before {
color:var(--warning);
display:block;
width:106px !important;
}
#deleteButton{
color:var(--bg-color);
background-color:var(--warning);
}
#cancelButton{
background-color: var(--disabled);
color:var(--bg-color);
}
#cancelButton,#deleteButton{
border-radius:30px;
border:none;
width:80px;
height: 40px;
}


.row{
height: 50%;
}

.sectionMain>.row{
height: 38vh;
}

.divPost{
display: flex;
align-items: flex-end;
justify-content: flex-end;
background-size: cover;
background-repeat: no-repeat;
margin: 5px;
}


.divPostDetail{
background-color: var(--bg-color);
width:auto;
height: auto;
padding: 5%;
cursor: pointer;
opacity: 0.8;
}

.titlePost{
font-size: 1em;
}

/*Comments style*/
.commentsContainer{
text-align: justify;
margin-top: 2vh;
}
.titleComment{
font-weight: bold;
text-transform: capitalize;
margin-bottom: 1vh;
}
.comment{
color: var(--secondary-color);
}
.photoComment{
width:60px;
height:60px;
border-radius:50px;
object-fit: cover;
}

/*Modal Edit*/
#aceptEditBtn{
background-color: var(--secondary-color);
border: none;
}
Loading