aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-04 01:07:16 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-04 01:07:16 +0530
commit6e251440f1afe48160074088870e4394292391c9 (patch)
treec43ab530f2a084c0ecb32f3f0ca164becfb07fe7 /app/templates
parentd80f885fa6eea09227066fbe8e3326ebbd8a811c (diff)
made a basic landing page
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/index.html160
1 files changed, 154 insertions, 6 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index d66ca86..fe8073f 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -4,10 +4,158 @@
{{ super() }}
{% endblock %}
{% block content %}
-<div class="container">
- <h1>Index</h1>
- <p>
- Welcome to my awesome homepage.
- </p>
-</div>
+
+<div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light">
+ <div class="col-md-5 p-lg-5 mx-auto my-5">
+ <h1 class="display-4 fw-normal">Nice Tagline</h1>
+ <p class="lead fw-normal">One Sentence Description Which Covers All the Basics About Your Product.</p>
+ <a href="{{url_for('signin_user')}}" class="btn btn-outline-primary my-2">Login</a>
+ <a href="{{url_for('register_user')}}" class="btn btn-outline-secondary my-2">Sign Up</a>
+ </div>
+ <div class="product-device shadow-sm d-none d-md-block"></div>
+ <div class="product-device product-device-2 shadow-sm d-none d-md-block"></div>
+ </div>
+
+ <div class="container px-4 py-5" id="featured-3">
+ <h2 class="pb-2 border-bottom">Quick Info</h2>
+ <div class="row g-4 py-5 row-cols-1 row-cols-lg-3">
+ <div class="feature col">
+ <div class="feature-icon bg-primary bg-gradient">
+ <svg class="bi" width="1em" height="1em"><use xlink:href="#collection"/></svg>
+ </div>
+ <h2>Feature 1</h2>
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vel ante a urna posuere interdum. Nunc eleifend euismod orci non euismod. Morbi commodo ex id risus congue, vel porta nibh fermentum.</p>
+ <a href="#" class="icon-link">
+ Link to Something
+ <svg class="bi" width="1em" height="1em"><use xlink:href="#chevron-right"/></svg>
+ </a>
+ </div>
+ <div class="feature col">
+ <div class="feature-icon bg-primary bg-gradient">
+ <svg class="bi" width="1em" height="1em"><use xlink:href="#people-circle"/></svg>
+ </div>
+ <h2>Feature 2</h2>
+ <p>Curabitur hendrerit ultricies risus sit amet imperdiet. Donec quis purus condimentum, pharetra mi placerat, congue lorem. Suspendisse rhoncus condimentum quam, maximus molestie arcu convallis ac. Nunc ultricies elit id lobortis laoreet.</p>
+ <a href="#" class="icon-link">
+ Link to Page
+ <svg class="bi" width="1em" height="1em"><use xlink:href="#chevron-right"/></svg>
+ </a>
+ </div>
+ <div class="feature col">
+ <div class="feature-icon bg-primary bg-gradient">
+ <svg class="bi" width="1em" height="1em"><use xlink:href="#toggles2"/></svg>
+ </div>
+ <h2>Feature 3</h2>
+ <p>Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi condimentum consequat justo, eget sagittis ipsum gravida quis.</p>
+ <a href="#" class="icon-link">
+ Link to Something Else
+ <svg class="bi" width="1em" height="1em"><use xlink:href="#chevron-right"/></svg>
+ </a>
+ </div>
+ </div>
+ </div>
+
+<style>
+ .product-device {
+ position: absolute;
+ right: 10%;
+ bottom: -30%;
+ width: 300px;
+ height: 540px;
+ background-color: #333;
+ border-radius: 21px;
+ transform: rotate(30deg);
+}
+
+.product-device::before {
+ position: absolute;
+ top: 10%;
+ right: 10px;
+ bottom: 10%;
+ left: 10px;
+ content: "";
+ background-image: url("{{ url_for('static',filename='images/screenshot.jpeg') }}");
+ border-radius: 5px;
+ background-size: cover;
+}
+
+.product-device-2::before {
+ position: absolute;
+ top: 10%;
+ right: 10px;
+ bottom: 10%;
+ left: 10px;
+ content: "";
+ background-image: url("{{ url_for('static',filename='images/screenshot.jpeg') }}");
+ border-radius: 5px;
+ background-size: cover;
+}
+
+.product-device-2 {
+ top: -25%;
+ right: auto;
+ bottom: 0;
+ left: 5%;
+ background-color: #e5e5e5;
+}
+
+
+.flex-equal > * {
+ flex: 1;
+}
+@media (min-width: 768px) {
+ .flex-md-equal > * {
+ flex: 1;
+
+ }
+}
+
+.feature-icon {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 4rem;
+ height: 4rem;
+ margin-bottom: 1rem;
+ font-size: 2rem;
+ color: #fff;
+ border-radius: .75rem;
+}
+.bi {
+ vertical-align: -.125em;
+ fill: currentColor;
+}
+
+.icon-link {
+ display: inline-flex;
+ align-items: center;
+}
+.icon-link > .bi {
+ margin-top: .125rem;
+ margin-left: .125rem;
+ transition: transform .25s ease-in-out;
+ fill: currentColor;
+}
+.icon-link:hover > .bi {
+ transform: translate(.25rem);
+}
+</style>
+
+ <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
+ <symbol id="people-circle" viewBox="0 0 16 16">
+ <path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/>
+ <path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>
+ </symbol>
+ <symbol id="collection" viewBox="0 0 16 16">
+ <path d="M2.5 3.5a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-11zm2-2a.5.5 0 0 1 0-1h7a.5.5 0 0 1 0 1h-7zM0 13a1.5 1.5 0 0 0 1.5 1.5h13A1.5 1.5 0 0 0 16 13V6a1.5 1.5 0 0 0-1.5-1.5h-13A1.5 1.5 0 0 0 0 6v7zm1.5.5A.5.5 0 0 1 1 13V6a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-13z"/>
+ </symbol>
+ <symbol id="chevron-right" viewBox="0 0 16 16">
+ <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
+ </symbol>
+ <symbol id="toggles2" viewBox="0 0 16 16">
+ <path d="M9.465 10H12a2 2 0 1 1 0 4H9.465c.34-.588.535-1.271.535-2 0-.729-.195-1.412-.535-2z"/>
+ <path d="M6 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 1a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm.535-10a3.975 3.975 0 0 1-.409-1H4a1 1 0 0 1 0-2h2.126c.091-.355.23-.69.41-1H4a2 2 0 1 0 0 4h2.535z"/>
+ <path d="M14 4a4 4 0 1 1-8 0 4 4 0 0 1 8 0z"/>
+ </symbol>
+</svg>
{% endblock %} \ No newline at end of file