import Image from "next/image"; import Link from "next/link"; import { getSession } from "@/lib/auth"; export default async function Home() { const session = await getSession(); const isLoggedIn = !!session; return (
{isLoggedIn ? "Jump right into your dashboard to log fill-ups, view stats, and manage your cars." : "Effortlessly log fill-ups, monitor fuel costs, and analyze your driving habits—all in one beautiful dashboard."}
Quickly add fuel entries and keep your records organized.
Visualize your fuel consumption, costs, and mileage trends.
Track multiple vehicles and switch between them easily.
This app made it so easy to track my car’s fuel expenses and spot trends. Highly recommended for anyone who wants to save money and understand their driving habits!
— Happy Driver