New app 'pages' create index page and static dirs

This commit is contained in:
lm
2021-08-29 00:28:37 +02:00
parent 940b588f57
commit 9208149749
15 changed files with 163 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
{% load static %}
<!DOCTYPE html>
<html>
<head>
<!-- Source for this example: https://dev.to/hmlon/creating-a-landing-page-in-django-20pg -->
<title>Lyux - Landing</title>
<link rel="stylesheet" type="text/css" href="{% static 'css/landing.css' %}">
<link rel="shortcut icon" href="{% static 'img/logo.ico' %}"/>
<meta name-="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<header class="header">
<div>
<a href="/"><img id="logo" src="{% static 'img/logo.png' %}" alt="Logo"></a>
</div>
<div class="header-text-small">made using Django❤️</div>
<div class="header-text">Sign in:</div>
<a href="#" class="header-link">Github</a>
<a href="#" class="header-link">Twitter</a>
</header>
<section class="landing-section landing-main">
<div class="landing-section-content">
<h1 class="brand">Lyux</h1>
<h2>
<span class="brand-text">Land</span>ing
<span class="brand-text">Pa</span>ge
</h2>
<p class="landing-main-text">
This is my first landing Page
<br>
I can do everything i want here.
</p>
</div>
</section>
<section class="landing-section landing-features">
<section class="landing-feature feature-github">
<h2>Connect with <span class="brand-text">Github</span></h2>
</section>
<section class="landing-feature feature-twitter">
<h2>Connect with <span class="brand-text">Twitter</span></h2>
</section>
</section>
</body>
</html>