Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified db.sqlite3
Binary file not shown.
Binary file modified expense_tracker/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file modified expense_tracker/__pycache__/settings.cpython-312.pyc
Binary file not shown.
Binary file modified expense_tracker/__pycache__/urls.cpython-312.pyc
Binary file not shown.
Binary file modified expense_tracker/__pycache__/wsgi.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/__pycache__/admin.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/__pycache__/apps.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/__pycache__/forms.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/__pycache__/models.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/__pycache__/urls.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/__pycache__/views.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/migrations/__pycache__/0001_initial.cpython-312.pyc
Binary file not shown.
Binary file modified expenses/migrations/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions expenses/static/icons/github.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 expenses/static/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
266 changes: 190 additions & 76 deletions expenses/templates/accueil.html
Original file line number Diff line number Diff line change
@@ -1,96 +1,210 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>Expense Manager</title>
<meta name="description" content="" />
<meta name="keywords" content="" />

<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Expense Manager</title>
<meta name="description" content="">
<meta name="keywords" content="">

<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="static/assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="static/assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<!-- Main CSS File -->
<link href="static/assets/css/main.css" rel="stylesheet">
</head>
<style>
.header-container {
width: 100%; /* Assurez-vous que la largeur est fixée */
overflow: hidden; /* Cache tout ce qui dépasse la zone visible */
position: relative; /* Nécessaire pour le positionnement interne */
height: 50px; /* Fixez une hauteur pour la barre */
display: flex;
align-items: center; /* Centre verticalement le contenu */
background-color: #f8f9fa; /* Optionnel : couleur de fond */
border: 1px solid #ddd; /* Optionnel : bordure */
}
<!-- Fonts -->
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet"
/>
<!-- Vendor CSS Files -->
<link
href="static/assets/vendor/bootstrap/css/bootstrap.min.css"
rel="stylesheet"
/>
<link
href="static/assets/vendor/bootstrap-icons/bootstrap-icons.css"
rel="stylesheet"
/>
<!-- Main CSS File -->
<link href="static/assets/css/main.css" rel="stylesheet" />
</head>
<style>
.header-container {
width: 100%; /* Assurez-vous que la largeur est fixée */
overflow: hidden; /* Cache tout ce qui dépasse la zone visible */
position: relative; /* Nécessaire pour le positionnement interne */
height: 50px; /* Fixez une hauteur pour la barre */
display: flex;
align-items: center; /* Centre verticalement le contenu */
background-color: #f8f9fa; /* Optionnel : couleur de fond */
border: 1px solid #ddd; /* Optionnel : bordure */
}

.marquee {
white-space: nowrap; /* Empêche le texte de revenir à la ligne */
display: inline-block; /* Nécessaire pour l'animation */
animation: marquee 10s linear infinite; /* Animation pour faire défiler */
}
.marquee {
white-space: nowrap; /* Empêche le texte de revenir à la ligne */
display: inline-block; /* Nécessaire pour l'animation */
animation: marquee 10s linear infinite; /* Animation pour faire défiler */
}

@keyframes marquee {
0% {
transform: translateX(100%); /* Le texte commence hors écran à droite */
@keyframes marquee {
0% {
transform: translateX(100%); /* Le texte commence hors écran à droite */
}
100% {
transform: translateX(
-100%
); /* Le texte défile jusqu'à disparaître à gauche */
}
}
100% {
transform: translateX(-100%); /* Le texte défile jusqu'à disparaître à gauche */

a {
text-decoration: none;
}
}
</style>
</style>

<body class="index-page">
<div class="container-fluid px-4">
<!-- Navbar -->
<header class="d-flex justify-content-between align-items-center py-3">
<div class="d-flex align-items-center gap-2">
<img
src="/static/images/logo.png"
alt="Magnet Logo"
width="32"
height="32"
class="h-8 w-8"
/>
<span class="fs-4 fw-semibold">Expense Manager</span>
</div>

<body class="index-page">
<header id="header" class="header d-flex align-items-center fixed-top">
<div class="header-container container-fluid container-xl position-relative d-flex align-items-center justify-content-between">
<h1 class="marquee">Bienvenue sur Expense Manager — Gérez vos finances en toute simplicité</h1>
</div>
</header>
<!-- <div class="d-none d-md-flex align-items-center gap-4">
<a href="/" class="fw-medium text-dark text-decoration-none">Home</a>
<a href="/services" class="fw-medium text-muted text-decoration-none"
>Services</a
>
<a
href="/mobile-app"
class="fw-medium text-muted text-decoration-none"
>Mobile App</a
>
<a href="/deposit" class="fw-medium text-muted text-decoration-none"
>Deposit & Credit</a
>
<a href="/support" class="fw-medium text-muted text-decoration-none"
>Support</a
>
</div> -->

<main class="main">
<!-- Hero Section -->
<section id="hero" class="hero section">
<div class="container" data-aos="fade-up" data-aos-delay="100">
<div class="row align-items-center">
<div class="col-lg-6">
<div class="hero-content" data-aos="fade-up" data-aos-delay="200">
<button
type="button"
class="btn btn-outline-dark d-none d-md-flex align-items-center gap-2"
>
<img src="/static/icons/github.svg" alt="" />
<!-- <span
class="bg-dark text-white rounded-circle d-flex justify-content-center align-items-center"
style="width: 24px; height: 24px"
>→</span
> -->
</button>
</header>

<h1 class="mb-4">
Commencer par bien <br>
Gerer vos budget et <br>
<span class="accent-text">Economiser De L'argent</span>
</h1>
<!-- Info Banner -->

<p class="mb-4 mb-md-5">
Maîtrisez vos finances avec notre application simple et intuitive. Suivez vos dépenses et économisez chaque mois 
</p>
<!-- Main Content -->
<main class="container py-5">
<div class="row g-5 align-items-center">
<!-- Left Column -->
<div class="col-lg-6">
<div
class="d-inline-flex align-items-center gap-2 bg-white border rounded-pill px-3 py-2"
>
<span class="small">N°1 des applications</span>
<div class="d-flex">
<div
class="rounded-circle bg-light"
style="width: 24px; height: 24px"
></div>
<div
class="rounded-circle bg-light ms-1"
style="width: 24px; height: 24px"
></div>
</div>
</div>

<div class="mt-4">
<a href="/register" class="btn btn-primary btn-lg">S'inscrire</a>
<a href="/login" class="btn btn-primary btn-lg">Se connecter</a>
<h1 class="display-4 fw-bold mt-4">
Gérez vos finances facilement avec Expense Manager
</h1>
<p class="fs-5 text-muted">
This banking app will help you control your spending, savings and
investments in one place.
</p>

<div class="d-flex flex-wrap gap-3 mt-4">
<button class="btn btn-dark text-white">
<a href="/login">Se connecter</a> →
</button>
<button class="btn btn-outline-dark">
<a href="/register">Inscription</a>
</button>
</div>

<div class="mt-5">
<div
class="d-flex align-items-center gap-3 bg-light rounded-3 p-3"
>
<div class="bg-light p-3 rounded-circle">
<img
src="/placeholder.svg"
alt="App Icon"
width="40"
height="40"
/>
</div>
<div>
<p class="fw-medium mb-0">Download Magnet App</p>
<p class="small text-muted mb-0">
Available for iOS and Android
</p>
</div>
<span class="fs-3">→</span>
</div>

<div class="d-flex align-items-center gap-3 mt-3">
<div class="d-flex">
<div
class="rounded-circle bg-secondary"
style="width: 32px; height: 32px"
></div>
<div
class="rounded-circle bg-secondary ms-1"
style="width: 32px; height: 32px"
></div>
</div>
<div>
<span class="fs-4 fw-semibold">22.5K</span>
<span class="text-muted">satisfied users</span>
</div>
</div>
</div>
</div>

<div class="col-lg-6">
<div class="hero-image" data-aos="zoom-out" data-aos-delay="300">
<img src="static/assets/img/1.png" alt="Hero Image" class="img-fluid">
<!-- Right Column -->
<div class="col-lg-6 position-relative">
<div class="ratio ratio-9x16 mx-auto" style="max-width: 400px">
<img
src="/placeholder.svg"
alt="App Interface"
class="img-fluid object-contain"
/>
</div>
<div class="position-absolute top-50 end-0 translate-middle">
<img
src="/placeholder.svg"
alt="Debit Card"
width="200"
height="120"
class="rotate-12"
/>
</div>
</div>
</div>
</div>
</section><!-- /Hero Section -->
</main>
<!-- Vendor JS Files -->
<script src="static/assets/vendor/purecounter/purecounter_vanilla.js"></script>
<!-- Main JS File -->
<script src="static/assets/js/main.js"></script>

</body>

</html>
</main>
</div>
</body>
</html>
15 changes: 4 additions & 11 deletions expenses/templates/expenses/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@
</nav>

<!-- Sidebar -->
{% if user.is_authenticated %}
<div class="sidebar bg-light shadow p-3">
<div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
{% if user.is_authenticated %}
<a class="nav-link mb-2 d-flex align-items-center p-3 rounded-3 hover-shadow" href="{% url 'home' %}">
<img src="{% static 'icons/home.svg' %}" alt="Dashboard" class="me-2" style="width: 20px; height: 20px;">
<span>Dashboard</span>
Expand Down Expand Up @@ -153,16 +153,9 @@
Déconnexion
</button>
</form>
{% else %}
<a class="nav-link mb-2 p-3 rounded-3 hover-shadow" href="{% url 'register' %}">
Inscription
</a>
<a class="nav-link mb-2 p-3 rounded-3 hover-shadow" href="{% url 'login' %}">
Connexion
</a>
{% endif %}
</div>
</div>
</div>
{% endif %}



Expand All @@ -177,4 +170,4 @@
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
</html>
Loading