Coffee journaling on ATProto (alpha) alpha.arabica.social
coffee
17
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: about page updates

+12 -5
+4
internal/routing/routing.go
··· 97 97 // Static files (must come after specific routes) 98 98 fs := http.FileServer(http.Dir("static")) 99 99 mux.Handle("GET /static/", http.StripPrefix("/static/", fs)) 100 + // Serve favicon.ico for pdsls 101 + mux.HandleFunc("GET /favicon.ico", func(w http.ResponseWriter, r *http.Request) { 102 + http.ServeFile(w, r, "static/favicon.ico") 103 + }) 100 104 101 105 // Catch-all 404 handler - must be last, catches any unmatched routes 102 106 mux.HandleFunc("/", h.HandleNotFound)
+3 -1
internal/web/components/shared.templ
··· 176 176 templ AboutInfoCard() { 177 177 <div class="bg-gradient-to-br from-amber-50 to-brown-100 rounded-xl p-6 border-2 border-brown-300 shadow-lg mb-6"> 178 178 <h3 class="text-lg font-bold text-brown-900 mb-3">✨ About Arabica</h3> 179 - <ul class="text-brown-800 space-y-2 leading-relaxed"> 179 + <ul class="text-brown-800 space-y-2 leading-relaxed mb-3"> 180 180 <li class="flex items-start"><span class="mr-2">📝</span><span>Add tasting notes and ratings to each brew</span></li> 181 181 <li class="flex items-start"><span class="mr-2">📊</span><span>Track brewing variables like temperature, time, and grind size</span></li> 182 182 <li class="flex items-start"><span class="mr-2">🌍</span><span>Organize beans by origin and roaster</span></li> 183 183 <li class="flex items-start"><span class="mr-2">🚀</span><span><strong>Portable:</strong> Own your coffee brewing history</span></li> 184 184 <li class="flex items-start"><span class="mr-2">🔒</span><span><strong>Decentralized:</strong> Your data lives in your Personal Data Server (PDS)</span></li> 185 185 </ul> 186 + // TODO: include a link to the about page here somewhere 187 + // <div class="text-large text-brown-900"><a href="/about" class="text-brown-700 hover:text-brown-900 transition-colors">Learn more</a></div> 186 188 </div> 187 189 } 188 190
+4 -4
internal/web/pages/about.templ
··· 46 46 <h4 class="font-semibold text-brown-900 mb-2">Community Feed</h4> 47 47 <p class="text-brown-700 text-sm">Share your best brews with the community (coming soon: likes and comments!)</p> 48 48 </div> 49 - <div class="bg-gradient-to-br from-brown-50 to-brown-100 border border-brown-200 p-4 rounded-lg shadow-md"> 50 - <h4 class="font-semibold text-brown-900 mb-2">Export Your Data</h4> 51 - <p class="text-brown-700 text-sm">Export all your brews anytime in JSON format</p> 52 - </div> 49 + // <div class="bg-gradient-to-br from-brown-50 to-brown-100 border border-brown-200 p-4 rounded-lg shadow-md"> 50 + // <h4 class="font-semibold text-brown-900 mb-2">Export Your Data</h4> 51 + // <p class="text-brown-700 text-sm">todo</p> 52 + // </div> 53 53 </div> 54 54 </section> 55 55 <section>
+1
justfile
··· 11 11 @templ generate 12 12 13 13 test: 14 + @templ generate 14 15 @go test ./... -cover -coverprofile=cover.out 15 16 16 17 style:
static/favicon.ico

This is a binary file and will not be displayed.