minor tweaks
This commit is contained in:
parent
474c65d154
commit
5607e42cc1
|
@ -2,6 +2,7 @@
|
||||||
title = "Contact"
|
title = "Contact"
|
||||||
description = "How to get in contact"
|
description = "How to get in contact"
|
||||||
weight = 2
|
weight = 2
|
||||||
|
template = "contact.html"
|
||||||
[extra]
|
[extra]
|
||||||
disable_toc = true
|
disable_toc = true
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -4,25 +4,11 @@ description = "Software Development Consulting"
|
||||||
weight = 1
|
weight = 1
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Get in touch
|
## TODO
|
||||||
|
|
||||||
Send a mail to [hello.vumwi@aleeas.com](mailto:hello.vumwi@aleeas.com)
|
```rust
|
||||||
|
fn main() {
|
||||||
Or use the form bellow:
|
println!("Hello, World!");
|
||||||
|
}
|
||||||
|
|
||||||
<form class="contact-form">
|
```
|
||||||
<h2>Contact Form</h2>
|
|
||||||
<div class="input-fields">
|
|
||||||
<input type="text" class="input" placeholder="Your Name"\>
|
|
||||||
<input type="text" class="input" placeholder="Your Emaill "\>
|
|
||||||
<input type="text" class="input" placeholder="Your Phone "\>
|
|
||||||
</div>
|
|
||||||
<div class="msg">
|
|
||||||
<textarea placeholder="Message *"></textarea>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<button disabled> Send message</button>
|
|
||||||
</div>
|
|
||||||
<small> Form backend under construction</small>
|
|
||||||
</form>
|
|
||||||
|
|
39
templates/contact.html
Normal file
39
templates/contact.html
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{% import "_macros.html" as macros %}
|
||||||
|
{% extends "index.html" %}
|
||||||
|
|
||||||
|
{% block head %}
|
||||||
|
<!-- <link rel="stylesheet" href="{{ get_url(path='carbon.css') }}"> -->
|
||||||
|
<link rel="stylesheet" href="{{ get_url(path='style.css') }}">
|
||||||
|
<link rel="stylesheet" href="{{ get_url(path='form.css') }}">
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)" />
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.css"
|
||||||
|
integrity="sha384-nB0miv6/jRmo5UMMR1wu3Gz6NLsoTkbqJghGIsx//Rlm+ZU03BU6SQNC66uf4l5+" crossorigin="anonymous">
|
||||||
|
|
||||||
|
<!-- The loading of KaTeX is deferred to speed up page rendering -->
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/katex.min.js"
|
||||||
|
integrity="sha384-7zkQWkzuo3B5mTepMUcHkMB5jZaolc2xDwL6VFqjFALcbeS9Ggm/Yr2r3Dy4lfFg" crossorigin="anonymous"></script>
|
||||||
|
|
||||||
|
<!-- To automatically render math in text elements, include the auto-render extension: -->
|
||||||
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/contrib/auto-render.min.js"
|
||||||
|
integrity="sha384-43gviWU0YVjaDtb/GhzOouOXtZMP/7XUzwPTstBeZFe/+rCMvRwr4yROQP43s0Xk" crossorigin="anonymous"
|
||||||
|
onload="renderMathInElement(document.body);"></script>
|
||||||
|
{% endblock head %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{% block title %}{{ page.title }} | {{ super() }} {% endblock title %}
|
||||||
|
|
||||||
|
{% block header %}
|
||||||
|
<header class="box-shadow">
|
||||||
|
{{ macros::render_header() }}
|
||||||
|
</header>
|
||||||
|
{% endblock header %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="heading-text">{{ page.description }}</div>
|
||||||
|
{{ page.content | safe }}
|
||||||
|
{% endblock content %}
|
|
@ -3,7 +3,7 @@
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<!-- <link rel="stylesheet" href="{{ get_url(path='carbon.css') }}"> -->
|
<!-- <link rel="stylesheet" href="{{ get_url(path='carbon.css') }}"> -->
|
||||||
<link rel="stylesheet" href="{{ get_url(path='style.css') }}">
|
<link rel="stylesheet" href="{{ get_url(path='style.css') }}">
|
||||||
<link rel="stylesheet" href="{{ get_url(path='form.css') }}">
|
<!-- <link rel="stylesheet" href="{{ get_url(path='form.css') }}"> -->
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)" />
|
<link rel="stylesheet" type="text/css" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)" />
|
||||||
<link rel="stylesheet" type="text/css" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)" />
|
<link rel="stylesheet" type="text/css" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)" />
|
||||||
|
@ -19,6 +19,8 @@
|
||||||
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/contrib/auto-render.min.js"
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.11/dist/contrib/auto-render.min.js"
|
||||||
integrity="sha384-43gviWU0YVjaDtb/GhzOouOXtZMP/7XUzwPTstBeZFe/+rCMvRwr4yROQP43s0Xk" crossorigin="anonymous"
|
integrity="sha384-43gviWU0YVjaDtb/GhzOouOXtZMP/7XUzwPTstBeZFe/+rCMvRwr4yROQP43s0Xk" crossorigin="anonymous"
|
||||||
onload="renderMathInElement(document.body);"></script>
|
onload="renderMathInElement(document.body);"></script>
|
||||||
|
|
||||||
|
|
||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue