Rebrand as "Kraftakt".
[kraftakt.git] / gfitsync.go
index beb44d7..f12e7f4 100644 (file)
@@ -82,7 +82,11 @@ func indexHandler(ctx context.Context, w http.ResponseWriter, r *http.Request, u
        }
        haveGoogleToken := err == nil
 
-       fmt.Fprintln(w, "<html><body><h1>Fitbit to Google Fit sync</h1>")
+       fmt.Fprintln(w, "<html><head><title>Kraftakt</title></head>")
+       fmt.Fprintln(w, "<body><h1>Kraftakt</h1>")
+
+       fmt.Fprintln(w, "<p><strong>Kraftakt</strong> copies your <em>Fitbit</em> data to <em>Google Fit</em>, seconds after you sync.</p>")
+
        fmt.Fprintf(w, "<p>Hello %s</p>\n", user.Current(ctx).Email)
        fmt.Fprintln(w, "<ul>")
 
@@ -94,7 +98,7 @@ func indexHandler(ctx context.Context, w http.ResponseWriter, r *http.Request, u
        }
        fmt.Fprintln(w, "</li>")
 
-       fmt.Fprint(w, "<li>Google: ")
+       fmt.Fprint(w, "<li>Google Fit: ")
        if haveGoogleToken {
                fmt.Fprint(w, `<strong style="color: DarkGreen;">Authorized</strong>`)
        } else {