Skip to content

Commit 9db85a2

Browse files
committed
thirdcommit
1 parent 40b74d3 commit 9db85a2

11 files changed

+24
-23
lines changed

public/img/media head.jpg

99.7 KB
Loading

public/img/publish-media.png

2.38 MB
Loading

public/img/view-all.jpg

12.1 KB
Loading
863 KB
Loading
863 KB
Loading
1.53 MB
Loading
2.02 MB
Loading

server/controllers/mediaController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ exports.submitMediaOnPost = async(req, res) => {
158158
await newMedia.save();
159159

160160
req.flash('infoSubmit', 'Media has been added.')
161-
res.redirect('jobs//submit-media');
161+
res.redirect('/submit-media');
162162
} catch (error) {
163163
// res.json(error);
164164
req.flash('infoErrors', error);
165-
res.redirect('jobs//submit-media');
165+
res.redirect('/submit-media');
166166
}
167167
}
168168

views/jobs/media-index.ejs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<section class="pb-4 pt-4">
5252

5353
<div class="d-flex mb-2 align-items-center">
54-
<h2>Latest Details</h2>
54+
<h2>Latest Updated Jobs</h2>
5555
<a href="/mediaexplore-latest" class="ms-auto">View More</a>
5656
</div>
5757

@@ -79,7 +79,7 @@
7979
<!-- local Start -->
8080
<section class="pb-4 pt-4">
8181
<div class="d-flex mb-2 align-items-center">
82-
<h2>Local</h2>
82+
<h2>Software Engineering</h2>
8383
<a href="/mediacategories/local" class="ms-auto">View More</a>
8484
</div>
8585

@@ -104,7 +104,7 @@
104104
<!-- Sports-->
105105
<section class="pb-4 pt-4">
106106
<div class="d-flex mb-2 align-items-center">
107-
<h2>Sports</h2>
107+
<h2>Finance and Marketing</h2>
108108
<a href="/mediacategories/sports" class="ms-auto">View More</a>
109109
</div>
110110

@@ -128,7 +128,7 @@
128128
<!-- Global start -->
129129
<section class="pb-4 pt-4">
130130
<div class="d-flex mb-2 align-items-center">
131-
<h2>Global </h2>
131+
<h2>Medical </h2>
132132
<a href="/mediacategories/global" class="ms-auto">View More</a>
133133
</div>
134134

@@ -153,7 +153,7 @@
153153
<!-- Weather -->
154154
<section class="pb-4 pt-4">
155155
<div class="d-flex mb-2 align-items-center">
156-
<h2>Weather</h2>
156+
<h2>Agriculture</h2>
157157
<a href="/mediacategories/weather" class="ms-auto">View More</a>
158158
</div>
159159

@@ -178,7 +178,7 @@
178178
<!-- Gossip -->
179179
<section class="pb-4 pt-4">
180180
<div class="d-flex mb-2 align-items-center">
181-
<h2>Gossip</h2>
181+
<h2>Education</h2>
182182
<a href="/mediacategories/gossip" class="ms-auto">View More</a>
183183
</div>
184184

@@ -204,11 +204,11 @@
204204

205205
<section class="px-4 py-5 my-5 text-center">
206206
<img src="/img/publish-media.png" class="d-block mx-auto mb-4 img-fluid" alt="Publish your media for FREE today" width="566" height="208" loading="lazy">
207-
<h1 class="display-5 fw-bold">Publish yours FREE</h1>
207+
<h1 class="display-5 fw-bold">Publish jobs here</h1>
208208
<div class="col-lg-6 mx-auto">
209209
<p class="lead mb-4">Publish your Images in front of thousands of people today.</p>
210210
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
211-
<a href="/submit-media" class="btn btn-primary btn-dark btn-lg">Submit Here</a>
211+
<a href="/submit-media" class="btn btn-primary btn-dark btn-lg">Submit Form</a>
212212
</div>
213213
</div>
214214
</section>

views/jobs/media.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
<div class="col-12"><h1><%- media.name %></h1></div>
2020
<div class="col-12 mb-4"><i class="bi bi-tag"></i> <%- media.category %></div>
2121
<div class="col-12" style="white-space: pre-line;">
22-
<h4>Cooking Instructions</h4>
22+
<h4>Job Description</h4>
2323
<%- media.description %>
2424
</div>
2525
</div>
2626
2727
<div class="row pt-4">
2828
<div class="col-12">
29-
<h4>Ingredients</h4>
29+
<h4>Job Requirments</h4>
3030
<ul class="list-group list-group-flush">
3131
<% media.ingredients.forEach(function(ingredients, index){ %>
3232
<li class="list-group-item"><%= ingredients %></li>

0 commit comments

Comments
 (0)