FRONTEND

Simple frontend that displays the current user's profile information.

Files

  • index.html - Main HTML page with basic styling
  • app.js - JavaScript to fetch user data and handle authentication

Features

  • Shows app title "Links" from centralized config
  • Fetches current user info from /api/user
  • Displays username and profile image
  • Shows login button if user is not authenticated
  • Shows logout link if user is logged in