summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorromangraef <roman.graef@gmail.com>2018-05-31 08:24:02 +0200
committerromangraef <roman.graef@gmail.com>2018-05-31 08:24:02 +0200
commit4a11fe9780deb76004be0e229edf298ac7200f0f (patch)
tree59d5d558f86483b4c73964b4683118cae87228dc /templates
downloadmy-website-4a11fe9780deb76004be0e229edf298ac7200f0f.tar.gz
my-website-4a11fe9780deb76004be0e229edf298ac7200f0f.tar.bz2
my-website-4a11fe9780deb76004be0e229edf298ac7200f0f.zip
initial commit
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html19
-rw-r--r--templates/index.html27
-rw-r--r--templates/project.html6
3 files changed, 52 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..8d51f29
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,19 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport"
+ content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <title>{% block title %}{{ title }}{% endblock %}</title>
+ <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
+ <link rel="stylesheet" href="{{ url_for('static', filename='main.css') }}">
+</head>
+<body>
+<div id="content" class="content">
+ {% block body %}
+ No content found. THIS IS AN ERROR
+ {% endblock %}
+</div>
+</body>
+</html> \ No newline at end of file
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..cefce37
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+{% block body %}
+ <h1>Hey, You!</h1>
+ <p>I am Roman Gr&auml;f</p>
+ <p>I am a programmer!</p>
+ <p>I do things for you!</p>
+ <p>As long as it is not webdesign, I will program nearly anything for you</p>
+ <div class="spacer"></div>
+ <h1>Projects</h1>
+ <div class="gallery">
+ <a href="{{ url_for("projects", project_name="website") }}">
+ <div class="gallery-element">
+ This website
+ </div>
+ </a>
+ <div class="gallery-element">
+ Discord Bots
+ </div>
+ <div class="gallery-element">
+ LOGL
+ </div>
+ </div>
+
+{% endblock %}
+{% block title %}
+ Roman Gr&auml;f
+{% endblock %} \ No newline at end of file
diff --git a/templates/project.html b/templates/project.html
new file mode 100644
index 0000000..076e0a2
--- /dev/null
+++ b/templates/project.html
@@ -0,0 +1,6 @@
+{% extends "base.html" %}
+{% block body %}
+ <h1>{{ project.name }}</h1>
+ <p>{{ project.description }}</p>
+ <p><a href="{{ project.link }}">Link</a></p>
+{% endblock %}