Skip to content

Commit 99d2fa4

Browse files
committed
added backlink to cardfit
1 parent 5e5fd45 commit 99d2fa4

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

api/templates/app.html

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727
font-size: 16px;
2828
margin: 0;
2929
line-height: 1.5;
30-
height: 100%;
30+
min-height: 100%;
3131
text-align: left;
3232
color: #fefefe;
3333
background: #212121;
34+
display: flex;
35+
flex-direction: column;
3436
}
3537
a {
3638
color:#65efa4;
@@ -42,7 +44,7 @@
4244
.container {
4345
display: table;
4446
max-width: 80%;
45-
height: 100%;
47+
flex-grow: 1; /* Ensures the container takes up all available space */
4648
margin: auto;
4749
}
4850
.child {
@@ -66,6 +68,22 @@
6668
width: 100px;
6769
height: auto;
6870
}
71+
.footer {
72+
text-align: center;
73+
padding: 20px 0;
74+
font-size: 14px;
75+
background-color: #333;
76+
color: #bbb;
77+
}
78+
.footer a {
79+
color: #6ee7b7;
80+
text-decoration: none;
81+
font-weight: bold;
82+
}
83+
.footer a:hover {
84+
color: #34D399;
85+
text-decoration: underline;
86+
}
6987
</style>
7088
</head>
7189
<body>
@@ -77,6 +95,15 @@ <h2 class="subtitle">A python telegram bot to help track expenses!</h2>
7795
<p>You can access the bot using this <a href="https://t.me/telefinance_tracker_bot">link</a>.
7896
<br>For instructions on how to use the bot, please refer to the <a href="https://github.com/brucewzj99/tele-tracker-v2/wiki/Getting-Started">GitHub Wiki</a>.</p>
7997
<p>If you would like to support my work, you can do so at the following links:</p>
80-
<script type='text/javascript' src='https://storage.ko-fi.com/cdn/widget/Widget_2.js'></script><script type='text/javascript'>kofiwidget2.init('Support Me on Ko-fi', '#2f8a5b', 'H2H8LN59H');kofiwidget2.draw();</script> </div>
98+
<script type='text/javascript' src='https://storage.ko-fi.com/cdn/widget/Widget_2.js'></script>
99+
<script type='text/javascript'>kofiwidget2.init('Support Me on Ko-fi', '#2f8a5b', 'H2H8LN59H');kofiwidget2.draw();</script>
100+
</div>
101+
</div>
102+
103+
<!-- Footer Section -->
104+
<footer class="footer">
105+
<p>Check out my other project: <a href="https://cardfit.me" target="_blank">CardFit</a> – Unlock the potential of your spending!</p>
106+
<p>&copy; 2024 Bruce Wang. All rights reserved.</p>
107+
</footer>
81108
</body>
82109
</html>

api/templates/banner.png

56.4 KB
Loading

0 commit comments

Comments
 (0)