add web author headers
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import dynamic from "next/dynamic";
|
import dynamic from "next/dynamic";
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import dynamic from "next/dynamic";
|
import dynamic from "next/dynamic";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { useState, useEffect } from "react";
|
import { useState, useEffect } from "react";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import dynamic from "next/dynamic";
|
import dynamic from "next/dynamic";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { useState, useEffect } from "react";
|
import { useState, useEffect } from "react";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import dynamic from "next/dynamic";
|
import dynamic from "next/dynamic";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import dynamic from "next/dynamic";
|
import dynamic from "next/dynamic";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { useState, useEffect } from "react";
|
import { useState, useEffect } from "react";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import dynamic from "next/dynamic";
|
import dynamic from "next/dynamic";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import dynamic from "next/dynamic";
|
import dynamic from "next/dynamic";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { AuthProvider } from "@/context/AuthContext";
|
import { AuthProvider } from "@/context/AuthContext";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// Author: Shiv
|
||||||
|
// Date: April 2026
|
||||||
|
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { useState } from "react";
|
import { useState } from "react";
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user