Summary Files Commits Branches @commit @diff @stats
path: root / src / views / landing.php
diff options
context:
space:
mode:
Commit4c82b3f214d8c30e5a57183d820232f375dbfe1b (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-03 14:35:53 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-04-03 14:35:53 +0300
Filesf2adf388e4c8cd65be8cdb2d8e80a2903fae90f6 /src/views/landing.php
devrix-job-board-4c82b3f214d8c30e5a57183d820232f375dbfe1b.tar
devrix-job-board-4c82b3f214d8c30e5a57183d820232f375dbfe1b.tar.gz
devrix-job-board-4c82b3f214d8c30e5a57183d820232f375dbfe1b.zip
Parentdafa7788e89ba603d01d561fcd035850b6087f77 (diff)
Removed unused front-end files and made landing page dynamic (with the new style)
1 files changed, 19 insertions, 4 deletions
-rw-r--r--src/views/landing.php23
diff --git a/src/views/landing.php b/src/views/landing.php
index 6124f90..514e5a7 100644
--- a/src/views/landing.php
+++ b/src/views/landing.php
@@ -1,8 +1,23 @@
+<ul class="jobs-listing">
<?php
foreach($jobs as $job) {
- echo "{$job->title} {$job->description} " . self::$companies[$job->companyId] . " {$job->salary}<br>";
+ echo '<li class="job-card">
+ <div class="job-primary">
+ <h2 class="job-title"><a href="#">' . $job->title . '</a></h2>
+ <div class="job-meta">
+ <a class="meta-company" href="#">' . self::$companies[$job->companyId] . '</a>
+ <span class="meta-date">' . round($job->salary, 2) . ' lev/month</span>
+ </div>
+ <div class="job-details">
+ '. $job->description . '
+ </div>
+ </div>
+ <div class="job-logo">
+ <div class="job-logo-box">
+ <img src="https://i.imgur.com/ZbILm3F.png" alt="">
+ </div>
+ </div>
+ </li>';
}
?>
-
-<a href="/CreateOffer">Create a new Job Offer</a>
-<a href="/Dashboard">Dashboard</a>
+</ul>