Skip to content

Commit

Permalink
Add about page and start adding pro page to web UI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Oct 3, 2024
1 parent 0bf3af7 commit 15b473b
Show file tree
Hide file tree
Showing 30 changed files with 461 additions and 48 deletions.
11 changes: 11 additions & 0 deletions src/ui/app/routes/about.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from flask import Blueprint, render_template
from flask_login import login_required


about = Blueprint("about", __name__)


@about.route("/about")
@login_required
def about_page():
return render_template("about.html")
11 changes: 11 additions & 0 deletions src/ui/app/routes/pro.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from flask import Blueprint, render_template
from flask_login import login_required


pro = Blueprint("pro", __name__)


@pro.route("/pro")
@login_required
def pro_page():
return render_template("pro.html")
17 changes: 11 additions & 6 deletions src/ui/app/static/css/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,7 @@ button.list-group-item-secondary.active {
background-color: var(--bs-bw-green); /* Initial background color */
color: #fff;
animation: colorPhase 3s infinite; /* Apply the color phasing animation */
transition:
background-color 0.3s ease-in-out,
box-shadow 0.3s ease-in-out; /* Smooth transitions */
transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transitions */
}

.buy-now .btn-buy-now:hover {
Expand Down Expand Up @@ -511,9 +509,7 @@ a.badge:hover {

.setting-highlight {
background-color: rgba(var(--bs-bw-green-rgb), 0.5);
transition:
background-color 2s ease,
opacity 2s ease;
transition: background-color 2s ease, opacity 2s ease;
opacity: 1;
}

Expand Down Expand Up @@ -759,3 +755,12 @@ a.text-decoration-underline.link-underline-primary:hover {
padding-top: 1.625rem !important;
padding-bottom: 0.625rem !important;
}

.footer-container .footer-link:hover {
font-style: italic;
text-decoration: underline;
}

.w-70 {
width: 70% !important;
}
Binary file added src/ui/app/static/img/brands/ace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/ui/app/static/img/brands/apexcharts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/ui/app/static/img/brands/bootstrap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/ui/app/static/img/brands/datatables.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/ui/app/static/img/brands/flask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
119 changes: 119 additions & 0 deletions src/ui/app/static/img/brands/gunicorn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/ui/app/static/img/brands/jquery.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/ui/app/static/img/brands/leaflet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/ui/app/static/img/brands/python.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 15b473b

Please sign in to comment.