add web author headers

This commit is contained in:
2026-04-20 22:01:45 -06:00
parent 46c59336f4
commit b4cef51a91
33 changed files with 99 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
//About page //About page
//Three info cards covering what the store does, its focus, and how to visit //Three info cards covering what the store does, its focus, and how to visit
export default function AboutPage() { export default function AboutPage() {

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import Link from "next/link"; import Link from "next/link";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { useState, useEffect, useMemo } from "react"; import { useState, useEffect, useMemo } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import dynamic from "next/dynamic"; import dynamic from "next/dynamic";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
//Backend URL, falls back to localhost for local development //Backend URL, falls back to localhost for local development
const BACKEND = process.env.BACKEND_URL || 'http://localhost:8080' const BACKEND = process.env.BACKEND_URL || 'http://localhost:8080'

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import dynamic from "next/dynamic"; import dynamic from "next/dynamic";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { useState, useEffect } from "react"; import { useState, useEffect } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import dynamic from "next/dynamic"; import dynamic from "next/dynamic";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { useState, useEffect } from "react"; import { useState, useEffect } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import dynamic from "next/dynamic"; import dynamic from "next/dynamic";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
import { Geist, Geist_Mono } from "next/font/google"; import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css"; import "./globals.css";
import DisplayNav from "@/components/Navigation"; import DisplayNav from "@/components/Navigation";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import dynamic from "next/dynamic"; import dynamic from "next/dynamic";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import Image from "next/image"; import Image from "next/image";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import Link from "next/link"; import Link from "next/link";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { useState, useEffect } from "react"; import { useState, useEffect } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { useEffect, useState, useCallback, useRef } from "react"; import { useEffect, useState, useCallback, useRef } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import dynamic from "next/dynamic"; import dynamic from "next/dynamic";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import dynamic from "next/dynamic"; import dynamic from "next/dynamic";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { AuthProvider } from "@/context/AuthContext"; import { AuthProvider } from "@/context/AuthContext";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { useState, useRef, useEffect } from "react"; import { useState, useRef, useEffect } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
import Link from "next/link"; import Link from "next/link";
import Image from "next/image"; import Image from "next/image";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import Image from "next/image"; import Image from "next/image";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
import Link from "next/link"; import Link from "next/link";
import { getStatusClass } from "@/components/petUtils"; import { getStatusClass } from "@/components/petUtils";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
import Link from "next/link"; import Link from "next/link";
import { getStatusClass } from "@/components/petUtils"; import { getStatusClass } from "@/components/petUtils";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import Link from "next/link"; import Link from "next/link";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { useState } from "react"; import { useState } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
//Temporary, until image support is added //Temporary, until image support is added
export const SPECIES_EMOJI = { export const SPECIES_EMOJI = {

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { createContext, useContext, useState, useEffect, useCallback } from "react"; import { createContext, useContext, useState, useEffect, useCallback } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { createContext, useContext, useState, useEffect, useCallback } from "react"; import { createContext, useContext, useState, useEffect, useCallback } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
"use client"; "use client";
import { createContext, useContext, useState, useRef, useCallback, useEffect } from "react"; import { createContext, useContext, useState, useRef, useCallback, useEffect } from "react";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
//Base path for all cart API calls //Base path for all cart API calls
const BASE = "/api/v1/cart"; const BASE = "/api/v1/cart";

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
import { Client } from "@stomp/stompjs"; import { Client } from "@stomp/stompjs";
//Backend URL for the WebSocket connection, empty string means same origin //Backend URL for the WebSocket connection, empty string means same origin

View File

@@ -1,3 +1,6 @@
// Author: Shiv
// Date: April 2026
//Fetches every page from a paginated API and returns all items in one array //Fetches every page from a paginated API and returns all items in one array
export async function fetchAllPages(urlBuilder) { export async function fetchAllPages(urlBuilder) {
const items = []; const items = [];