Skip to content

Commit

Permalink
revamped
Browse files Browse the repository at this point in the history
  • Loading branch information
amrit03b committed Oct 16, 2023
1 parent b9a5c82 commit 0b791dd
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 13 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>TravelTales</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous" />
<link rel="stylesheet" href="/styles/style.css" />
<link rel="stylesheet" href="../styles/style.css" />
</head>


Expand Down Expand Up @@ -63,7 +63,7 @@ <h1 class="hero-title">Share Your Adventures</h1>
<section class="cards-section">
<div class="row">
<div class="card">
<img src="/assets/images/card1.jpg" class="card-img-top" alt="Card 1" />
<img src="../images/card1.jpg" class="card-img-top" alt="Card 1" />
<div class="card-body">
<h5 class="card-title" id="cdtt">Write</h5>
<p class="card-text" id="cdt">
Expand All @@ -73,7 +73,7 @@ <h5 class="card-title" id="cdtt">Write</h5>
</div>
</div>
<div class="card">
<img src="/assets/images/card2.jpg" class="card-img-top" alt="Card 2" />
<img src="../images/card2.jpg" class="card-img-top" alt="Card 2" />
<div class="card-body">
<h5 class="card-title" id="cdtt">Read</h5>
<p class="card-text" id="cdt">
Expand Down
4 changes: 2 additions & 2 deletions pages/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</div>
</div>
<div class="col-sm-4">
<img src="/assets/images/logo.png"
<img src="../images/logo.png"
width="350"
hieght="350"
/>
Expand Down Expand Up @@ -156,7 +156,7 @@
// Signed in
const user = userCredential.user;
console.log(user);
window.location.assign("diagnosis.html");
window.location.assign("write.html");
alert(user.email+" Login successfully!!!");
document.getElementById('logout').style.display = 'block';
// ...
Expand Down
4 changes: 2 additions & 2 deletions pages/read.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/styles/read.css">
<link rel="stylesheet" href="../styles/read.css">
</head>
<body>
<nav class="navbar bg-body-tertiary fixed-top pink-bg">
Expand Down Expand Up @@ -58,6 +58,6 @@ <h5 class="offcanvas-title" id="offcanvasNavbarLabel" style="color: #C71585;">Tr
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
<script src="/scripts/read.js"></script>
<script src="../scripts/read.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions pages/write.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Write Your Travel Journal</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<link rel="stylesheet" href="/styles/write.css">
<link rel="stylesheet" href="../styles/write.css">
</head>

<body>
Expand Down Expand Up @@ -82,6 +82,6 @@ <h3 class="publish-title p-3">Your TravelTales</h3>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
<script src="/scripts/write.js"></script>
<script src="../scripts/write.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion scripts/write.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function createJournal(event) {
const card = document.createElement('div');
card.classList.add('card', 'journal-card', 'mb-4');
card.innerHTML = `
<img src="${journalImage ? URL.createObjectURL(journalImage) : '../assets/images/cards.jpg'}" class="card-img-top" alt="Journal Image">
<img src="${journalImage ? URL.createObjectURL(journalImage) : '../images/cards.jpg'}" class="card-img-top" alt="Journal Image">
<div class="card-body">
<h5 class="card-title">${journalTitle}</h5>
<p class="card-text">${journalContent}</p>
Expand Down
4 changes: 2 additions & 2 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ a #titled:hover{

/* New section styles */
.hero-section {
background-image: url('/assets/images/bg1.jpg');
background-image: url('../images/bg1.jpg');
background-size: cover;
background-position: center;
min-height: 450px; /* Adjust height as needed */
Expand All @@ -124,7 +124,7 @@ a #titled:hover{
}

.cards-section {
background-image: url('/assets/images/cards.jpg');
background-image: url('../images/cards.jpg');
background-size: cover;
background-position: center;
min-height: 500px; /* Adjust height as needed */
Expand Down
2 changes: 1 addition & 1 deletion styles/write.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/* Writing section styles */
.writing-section {
padding: 50px 0;
background-image: url('/assets/images/writebg.jpg');
background-image: url('../images/writebg.jpg');
background-size: cover;
background-position: center;
width: 60%;
Expand Down

0 comments on commit 0b791dd

Please sign in to comment.