Skip to content

Instantly share code, notes, and snippets.

View crixlet's full-sized avatar

Aaron Hanson crixlet

View GitHub Profile
@crixlet
crixlet / authentication-dashboard-implementation.md
Created July 1, 2025 20:03
PRD: Authentication, Dashboard & Demo Functionality Implementation for Link Visualizer

PRD: Authentication, Dashboard & Demo Functionality Implementation

Overview

Transform the Link Visualizer from a session-based tool to a fully authenticated application with proper user management, leveraging the existing FlowProof user base through Supabase Auth integration. Includes implementation of an interactive demo page with simulated link visualization functionality.

Problem Statement

Currently, the Link Visualizer uses cookie-based session management which limits functionality and user experience. The dashboard, which is the core power of the application, is buried and difficult to access. Users need proper authentication to fully utilize the tool's capabilities.

{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "[email protected]",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
This isn't very hard. Just give the list centered text (e.g. ul.nav { text-align: center; }) and the list items inline-block (e.g. ul.nav li { display: inline-block; }). If you want to do it with margin for whatever reason, look into width: fit-content; (link).
@crixlet
crixlet / new_gist_file.php
Created December 3, 2013 17:34
proper way to add custom js
function wpb_adding_scripts() {
wp_register_script('custom_js', get_template_directory_uri() . '/js/func.js', array('jquery'), true);
wp_enqueue_script('custom_js');
}
add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );