diff options
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/image.html | 9 | ||||
| -rw-r--r-- | app/templates/index.html | 47 |
2 files changed, 56 insertions, 0 deletions
diff --git a/app/templates/image.html b/app/templates/image.html new file mode 100644 index 0000000..c070faf --- /dev/null +++ b/app/templates/image.html @@ -0,0 +1,9 @@ +<html> +<head> + <title>Item Details</title> + <link href="{{ url_for('static', path='/styles.css') }}" rel="stylesheet"> +</head> +<body> + <h1><a href="{{ url_for('read_item', id=id) }}">Item ID: {{ id }}</a></h1> +</body> +</html>
\ No newline at end of file diff --git a/app/templates/index.html b/app/templates/index.html new file mode 100644 index 0000000..991088a --- /dev/null +++ b/app/templates/index.html @@ -0,0 +1,47 @@ +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link rel="stylesheet" href="https://dbolger.dev/assets/css/main.css"> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css"> + <link rel="stylesheet" href="{{ url_for('static', path='index.css') }}"> + <title>Dylan's Photo Blog</title> +</head> + +<body> + <nav id="nav" class="topnav"> + <a class="active" href="https://dbolger.dev">Dylan Bolger</a> + <p>Software Engineer</p> + <div class="topnav-right"> + <a href="https://dbolger.dev/#Experience">Experience</a> + <a href="https://dbolger.dev/#Projects">Projects</a> + <a href="https://blog.dbolger.dev">Blog</a> + <a href="https://blog.dbolger.dev">Blog</a> + <a href="https://git.dbolger.dev">Git</a> + <a href="https://dbolger.dev/assets/pdf/resume.pdf">Resume</a> + <a href="mailto:dylan.bolger00@gmail.com">Contact</a> + </div> + </nav> + <section class="container"> + <h1>Photo Blog</h1> + <p>Here's some pictures I took that I think you would enjoy.</p> + {% if images and images|length > 0 %} + <main class="gallery"> + {% for img in images %} + <div class="gallery-item"> + <a href="{{ url_for('photos', path=img) }}"> + <img src="{{ url_for('photos', path=img) }}" alt="" loading="lazy"> + </a> + </div> + {% endfor %} + </main> + {% else %} + <p> + If you're reading this, something went wrong and you should send me an email. Thanks! + </p> + {% endif %} + </div> +</body> +</html>
\ No newline at end of file |
