Skip to content

Commit

Permalink
Added new application page for single job opening #10
Browse files Browse the repository at this point in the history
  • Loading branch information
erolaliyev committed Jan 20, 2021
1 parent d385e41 commit 685eafd
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Hosted/Hosted.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<Content Include="research.html" />
<Content Include="consulting.html" />
<Content Include="careers.html" />
<Content Include="openPosition.html" />
<Content Include="assets\custom.css" />
<Content Include="assets\skin.css" />
<Content Include="contact.html" />
Expand Down
12 changes: 12 additions & 0 deletions src/Hosted/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type EndPoint =
| [<EndPoint "GET /research">] Research
| [<EndPoint "GET /">] Consulting
| [<EndPoint "GET /careers">] Careers
| [<EndPoint "GET /openPosition">] OpenPosition


// Utilities to make XML construction somewhat sane
Expand Down Expand Up @@ -366,6 +367,7 @@ module Site =
type ResearchTemplate = Templating.Template<"../Hosted/research.html", serverLoad=Templating.ServerLoad.WhenChanged>
type ConsultingTemplate = Templating.Template<"../Hosted/consulting.html", serverLoad=Templating.ServerLoad.WhenChanged>
type CareersTemplate = Templating.Template<"../Hosted/careers.html", serverLoad=Templating.ServerLoad.WhenChanged>
type OpenPositionTemplate = Templating.Template<"../Hosted/openPosition.html", serverLoad=Templating.ServerLoad.WhenChanged>


type [<CLIMutable>] RawConfig =
Expand Down Expand Up @@ -967,6 +969,13 @@ module Site =
.Cookie(Cookies.Banner false)
.Doc()
|>Content.Page
let OPENPOSITION () =
OpenPositionTemplate()
.MenuBar(menubar config.Value)
.Footer(MainTemplate.Footer().Doc())
.Cookie(Cookies.Banner false)
.Doc()
|>Content.Page
// pageNo is 1-based
let BLOG_LISTING (banner: Doc) (pageNo: int) f =
let as1 =
Expand Down Expand Up @@ -1177,6 +1186,8 @@ module Site =
CONSULTING()
| Careers ->
CAREERS()
| OpenPosition ->
OPENPOSITION()
)

open System.IO
Expand Down Expand Up @@ -1264,6 +1275,7 @@ type Website() =
Research
Consulting
Careers
OpenPosition
]

[<assembly: Website(typeof<Website>)>]
Expand Down
165 changes: 165 additions & 0 deletions src/Hosted/openPosition.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Open Position</title>
<meta name="description" content="" />
<script src="themekit/scripts/jquery.min.js"></script>
<script src="themekit/scripts/main.js"></script>
<link rel="stylesheet" href="themekit/css/bootstrap-grid.css" />
<link rel="stylesheet" href="themekit/css/style.css" />
<link rel="stylesheet" href="themekit/css/magnific-popup.css" />
<link rel="stylesheet" href="themekit/css/contact-form.css" />
<link rel="stylesheet" href="themekit/css/content-box.css" />
<link
rel="stylesheet"
href="themekit/media/icons/iconsmind/line-icons.min.css"
/>
<link rel="stylesheet" href="assets/skin.css" />
<link rel="stylesheet" href="assets/custom.css" />
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon" />
</head>
<body>
<div id="preloader"></div>
<nav class="menu-classic menu-transparent light menu-fixed menu-one-page
align-right menu-wide" data-menu-anima="fade-bottom"
data-scroll-detect="true">
<div ws-replace="MenuBar"></div>
</nav>
<main>
<section class="section-base">
<div class="container">
<div class="row">
<div class="col-lg-6">
<hr class="space-xs" />
<h1 style="margin-top: 0">F# Developer</h1>
<p>
What you get:
</p>
<ul>
<li>Variety and Challenge</li>
<li>Work-Life-Balance</li>
<li>Professional and Personal Growth</li>
</ul>
</div>
<div class="col-lg-6">
<img class="align-center"
src="http://via.placeholder.com/1019x608" />
</div>
</div>
<hr class="space-lg" />
<div class="row">
<div class="col-lg-4">
<div class="icon-box icon-box-left">
<i class="im-air-balloon"></i>
<div class="caption">
<h3>The best job</h3>
<p>All day immerse into the nature and amazing views.</p>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="icon-box icon-box-left">
<i class="im-bar-chart2"></i>
<div class="caption">
<h3>Career opportunities</h3>
<p>Grow with us is possible thanks to our levels structure.</p>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="icon-box icon-box-left">
<i class="im-bee"></i>
<div class="caption">
<h3>Meet amazing people</h3>
<p>We're the best team ever! Funny and friendly with each other.</p>
</div>
</div>
</div>
</div>
<hr class="space-lg" />
<div class="row">
<div class="col-lg-9">
<div class="row">
<div class="col-lg-8">
<p>
Lorem ipsum dolor sit amet consectetur adipiscing elitsed do
eiusmod tempor incididunt utlabore et dolore magna aliqua.
Utenim ad minim veniam quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat. Duis aute
irure dolor in reprehenderit
</p>
</div>
<div class="col-lg-4">
<ul class="icon-list icon-circle">
<li>Knowledge of F# development</li>
<li>Team communication</li>
<li>Experience in functinal programming</li>
</ul>
</div>
</div>
<hr class="space space-40" />
<table class="table table-grid table-border no-padding-y align-left table-full-sm">
<tbody>
<tr>
<td>
<div class="icon-box icon-box-left">
<i class="im-user text-md"></i>
<div class="caption">
<h3 class="text-sm">Availability</h3>
<p>1 people</p>
</div>
</div>
</td>
<td>
<div class="icon-box icon-box-left">
<i class="im-calendar text-md"></i>
<div class="caption">
<h3 class="text-sm">Experience</h3>
<p>Min 2 years</p>
</div>
</div>
</td>
<td>
<div class="icon-box icon-box-left">
<i class="im-student-malefemale text-md"></i>
<div class="caption">
<h3 class="text-sm">Graduation</h3>
<p>Required</p>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-lg-3">
<a href="mailto:[email protected]" target="_blank" class="btn btn-sm btn-circle full-width">Send your resume</a>
<hr class="space-xs" />
</div>
</div>
</div>
</section>
</main>
<i class="scroll-top-btn scroll-top show"></i>
<footer class="footer light">
<div ws-replace="Footer"></div>
<div class="bottom" ws-replace="Cookie"></div>
<link rel="stylesheet" href="themekit/media/icons/iconsmind/line-icons.min.css">
<script src="themekit/scripts/contact-form/contact-form.js"></script>
<script src="themekit/scripts/tab-accordion.js"></script>
<script src="themekit/scripts/maps.min.js"></script>
<script src="themekit/scripts/contact-form/contact-form.js"></script>
<script src="themekit/scripts/progress.js"></script>
<script src="themekit/scripts/glide.min.js"></script>
<script src="themekit/scripts/magnific-popup.min.js"></script>
<script src="themekit/scripts/imagesloaded.min.js"></script>
<script src="themekit/scripts/parallax.min.js"></script>
<script src="media/custom.js"></script>
<script src="/js/Client${ReleaseMin}.js"></script>
</footer>
<script ws-replace="scripts"></script>
</body>
</html>

0 comments on commit 685eafd

Please sign in to comment.