peakup.icu
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.peakup.common;
|
||||
|
||||
import io.quarkus.qute.TemplateGlobal;
|
||||
import org.eclipse.microprofile.config.ConfigProvider;
|
||||
|
||||
public class AppTemplateGlobals {
|
||||
|
||||
@TemplateGlobal(name = "appBaseUrl")
|
||||
static String appBaseUrl() {
|
||||
return ConfigProvider.getConfig()
|
||||
.getOptionalValue("peakup.app.base-url", String.class)
|
||||
.orElse("https://peakup.icu");
|
||||
}
|
||||
}
|
||||
@@ -25,6 +25,7 @@ peakup.notifications.tss-high-threshold=70.0
|
||||
peakup.notifications.tss-very-high-threshold=150.0
|
||||
peakup.notifications.goal-progress-threshold=0.7
|
||||
peakup.notifications.activities-milestone-count=6
|
||||
peakup.app.base-url=https://peakup.icu
|
||||
# mailer
|
||||
quarkus.mailer.from=peakup@peakup.app
|
||||
quarkus.mailer.host=${SMTP_HOST:smtp.gmail.com}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
Quality recovery is what turns hard sessions into real gains.
|
||||
</p>
|
||||
|
||||
<a href="http://peakup/dashboard"
|
||||
<a href="{appBaseUrl}/dashboard"
|
||||
style="display:inline-block; background:linear-gradient(to right, #EF4444, #F97316); color:white; font-weight:600; padding:16px 32px; border-radius:9999px; text-decoration:none; font-size:17px;">
|
||||
Back to Dashboard →
|
||||
</a>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
You've done the hard work, now let your body adapt.
|
||||
</p>
|
||||
|
||||
<a href="http://peakup/dashboard"
|
||||
<a href="{appBaseUrl}/dashboard"
|
||||
style="display:inline-block; background:linear-gradient(to right, #EF4444, #F97316); color:white; font-weight:600; padding:16px 32px; border-radius:9999px; text-decoration:none; font-size:17px;">
|
||||
Back to Dashboard →
|
||||
</a>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
Set your next target and keep raising the bar. 🚀
|
||||
</p>
|
||||
|
||||
<a href="http://peakup/dashboard"
|
||||
<a href="{appBaseUrl}/dashboard"
|
||||
style="display:inline-block; background:linear-gradient(to right, #EF4444, #F97316); color:white; font-weight:600; padding:16px 32px; border-radius:9999px; text-decoration:none; font-size:17px;">
|
||||
Back to Dashboard →
|
||||
</a>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
Every session counts now. 💪
|
||||
</p>
|
||||
|
||||
<a href="http://peakup/dashboard"
|
||||
<a href="{appBaseUrl}/dashboard"
|
||||
style="display:inline-block; background:linear-gradient(to right, #EF4444, #F97316); color:white; font-weight:600; padding:16px 32px; border-radius:9999px; text-decoration:none; font-size:17px;">
|
||||
Back to Dashboard →
|
||||
</a>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
Keep it up – every session makes you stronger and brings you closer to your goals.
|
||||
</p>
|
||||
|
||||
<a href="http://peakup/dashboard"
|
||||
<a href="{appBaseUrl}/dashboard"
|
||||
style="display:inline-block; background:linear-gradient(to right, #EF4444, #F97316); color:white; font-weight:600; padding:16px 32px; border-radius:9999px; text-decoration:none; font-size:17px;">
|
||||
Back to Dashboard →
|
||||
</a>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
{/for}
|
||||
|
||||
<a href="http://peakup/dashboard"
|
||||
<a href="{appBaseUrl}/dashboard"
|
||||
style="display:inline-block; background:linear-gradient(to right, #EF4444, #F97316); color:white; font-weight:600; padding:16px 32px; border-radius:9999px; text-decoration:none; font-size:17px; margin-top:16px;">
|
||||
Go to Dashboard →
|
||||
</a>
|
||||
|
||||
BIN
resources/Badges.png
Normal file
BIN
resources/Badges.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 980 KiB |
Reference in New Issue
Block a user