Skip to content
Merged
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
25 changes: 23 additions & 2 deletions client/src/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ import {
ClipboardList,
Scale,
NotebookPen,
Settings as SettingsIcon
Settings as SettingsIcon,
Github
} from "lucide-react";

const REPO_URL = "https://github.com/aidmax/pedalnotes";

const SECTION_DEFAULTS: Record<SectionId, boolean> = {
"daily-notes": true,
"core-metrics": true,
Expand Down Expand Up @@ -446,7 +449,7 @@ export default function Home() {
<div className="min-h-screen bg-gray-50 dark:bg-gray-900">
<header className="bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 sticky top-0 z-10">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between items-center py-4">
<div className="flex flex-wrap justify-between items-center py-4 gap-2">
<div className="flex items-center space-x-3">
<div className="w-8 h-8 bg-brand-blue rounded-lg flex items-center justify-center">
<Zap className="w-5 h-5 text-white" />
Expand All @@ -461,6 +464,15 @@ export default function Home() {
>
Full form
</a>
<a
href={REPO_URL}
target="_blank"
rel="noopener noreferrer"
aria-label="View source on GitHub"
className="p-2 rounded-md text-gray-500 hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700 transition-colors"
>
<Github className="w-5 h-5" />
</a>
Comment thread
greptile-apps[bot] marked this conversation as resolved.
<button
onClick={() => setSettingsOpen(true)}
aria-label="Open settings"
Expand Down Expand Up @@ -678,6 +690,15 @@ export default function Home() {
Privacy-first training journal for cyclists
</div>
<div className="flex items-center gap-1">
<a
href={REPO_URL}
target="_blank"
rel="noopener noreferrer"
aria-label="View source on GitHub"
className="p-2 rounded-md text-gray-500 hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700 transition-colors"
>
<Github className="w-5 h-5" />
</a>
<button
onClick={() => setSettingsOpen(true)}
aria-label="Open settings"
Expand Down
Loading