removed pocketbase

This commit is contained in:
Noah Swerhun 2023-10-20 14:25:25 -05:00
parent 2b99290c4c
commit 4b77c872bd
1604 changed files with 140 additions and 19358 deletions

36
.gitignore vendored
View file

@ -1,39 +1,39 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies # dependencies
website/node_modules node_modules
website/.pnp .pnp
website/.pnp.js .pnp.js
# testing # testing
website/coverage coverage
# next.js # next.js
website/.next/ .next/
website/out/ out/
# production # production
website/build build
website/out out
# misc # misc
website/.DS_Store .DS_Store
website/*.pem *.pem
# debug # debug
website/npm-debug.log* npm-debug.log*
website/yarn-debug.log* yarn-debug.log*
website/yarn-error.log* yarn-error.log*
# local env files # local env files
website/.env*.local .env*.local
# vercel # vercel
website/.vercel .vercel
# typescript # typescript
website/*.tsbuildinfo *.tsbuildinfo
website/next-env.d.ts next-env.d.ts
# private assets # private assets
website/private private

View file

@ -1,4 +1,4 @@
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import LearnMoreLinkLight from "@/components/LearnMoreLinkLight"; import LearnMoreLinkLight from "@/components/LearnMoreLinkLight";
import View from "@/components/View"; import View from "@/components/View";
import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid"; import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid";

View file

@ -1,7 +1,7 @@
import LearnMoreLinkLight from "@/components/LearnMoreLinkLight"; import LearnMoreLinkLight from "@/components/LearnMoreLinkLight";
import View from "@/components/View"; import View from "@/components/View";
import acuManu from "@/public/content/acupuncture_manuscript.jpg"; import acuManu from "@/public/content/acupuncture_manuscript.jpg";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import acu1 from "@/public/content/acupuncture_1.jpg"; import acu1 from "@/public/content/acupuncture_1.jpg";
const BasicsAndHist = () => { const BasicsAndHist = () => {

View file

@ -1,7 +1,7 @@
import CenterView from "@/components/CenterView"; import CenterView from "@/components/CenterView";
import LearnMoreLink from "@/components/LearnMoreLink"; import LearnMoreLink from "@/components/LearnMoreLink";
import earAcu1 from "@/public/content/auricular_accupuncture.jpg"; import earAcu1 from "@/public/content/auricular_accupuncture.jpg";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
const EarAcupuncture = () => { const EarAcupuncture = () => {
return ( return (

View file

@ -2,7 +2,7 @@ import Card from "@/components/Card";
import CenterView from "@/components/CenterView"; import CenterView from "@/components/CenterView";
import LearnMoreLink from "@/components/LearnMoreLink"; import LearnMoreLink from "@/components/LearnMoreLink";
import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid"; import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import scalpPoints from "@/public/content/scalp_points.png"; import scalpPoints from "@/public/content/scalp_points.png";
import ExtLearnMoreLink from "@/components/ExtLearnMoreLink"; import ExtLearnMoreLink from "@/components/ExtLearnMoreLink";

View file

@ -1,7 +1,7 @@
import Article from "@/components/Article"; import Article from "@/components/Article";
import { Metadata } from "next"; import { Metadata } from "next";
import fiveElements from "@/public/content/acupuncture_elements.png"; import fiveElements from "@/public/content/acupuncture_elements.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Article - Five Element Acupuncture | Dr. Feely", title: "Article - Five Element Acupuncture | Dr. Feely",

View file

@ -1,7 +1,7 @@
import Article from "@/components/Article"; import Article from "@/components/Article";
import { Metadata } from "next"; import { Metadata } from "next";
import griefPic from "@/public/content/stages_of_grief.png"; import griefPic from "@/public/content/stages_of_grief.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Article - The Ten Stages of Grief | Dr. Feely", title: "Article - The Ten Stages of Grief | Dr. Feely",

View file

@ -3,7 +3,7 @@ import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid";
import ArtLink from "@/components/ArtLink"; import ArtLink from "@/components/ArtLink";
import CenterView from "@/components/CenterView"; import CenterView from "@/components/CenterView";
import docWithClip from "@/public/content/doctor_w_clipboard.jpg"; import docWithClip from "@/public/content/doctor_w_clipboard.jpg";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
const ArtsForDocs = () => { const ArtsForDocs = () => {
return ( return (

View file

@ -2,7 +2,7 @@ import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid";
import ArtLink from "@/components/ArtLink"; import ArtLink from "@/components/ArtLink";
import CenterView from "@/components/CenterView"; import CenterView from "@/components/CenterView";
import doctorBack from "@/public/content/doctor_back.jpg"; import doctorBack from "@/public/content/doctor_back.jpg";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import View from "@/components/View"; import View from "@/components/View";
const ArtsForPatients = () => { const ArtsForPatients = () => {

View file

@ -2,7 +2,7 @@ import ArtLink from "@/components/ArtLink";
import CenterView from "@/components/CenterView"; import CenterView from "@/components/CenterView";
import ExtLearnMoreLink from "@/components/ExtLearnMoreLink"; import ExtLearnMoreLink from "@/components/ExtLearnMoreLink";
import NORBrain from "@/public/content/NOR_brain.png"; import NORBrain from "@/public/content/NOR_brain.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
const NOR = () => { const NOR = () => {
return ( return (

View file

@ -1,5 +1,5 @@
import View from "@/components/View"; import View from "@/components/View";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import drStill from "@/public/content/dr_still.jpeg"; import drStill from "@/public/content/dr_still.jpeg";
import Card from "@/components/Card"; import Card from "@/components/Card";
import LearnMoreLink from "@/components/LearnMoreLink"; import LearnMoreLink from "@/components/LearnMoreLink";

View file

@ -1,6 +1,6 @@
import View from "@/components/View"; import View from "@/components/View";
import drStill2 from "@/public/content/dr_still_2.jpg"; import drStill2 from "@/public/content/dr_still_2.jpg";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import ArtLink from "@/components/ArtLink"; import ArtLink from "@/components/ArtLink";
import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid"; import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/solid";
import LearnMoreLinkLight from "@/components/LearnMoreLinkLight"; import LearnMoreLinkLight from "@/components/LearnMoreLinkLight";

View file

@ -5,7 +5,7 @@ import childWithCold from "@/public/content/child_with_cold.jpg";
import infant from "@/public/content/infant.jpg"; import infant from "@/public/content/infant.jpg";
import sickChild from "@/public/content/sick_child.jpg"; import sickChild from "@/public/content/sick_child.jpg";
import downSyndrome from "@/public/content/down_syndrome.jpg"; import downSyndrome from "@/public/content/down_syndrome.jpg";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import Card from "@/components/Card"; import Card from "@/components/Card";
const PediatricCare = () => { const PediatricCare = () => {

View file

Before

Width:  |  Height:  |  Size: 686 KiB

After

Width:  |  Height:  |  Size: 686 KiB

View file

@ -3,7 +3,7 @@ import BoardCerts from "./components/BoardCerts";
import Fellowships from "./components/Fellowships"; import Fellowships from "./components/Fellowships";
import Awards from "./components/Awards"; import Awards from "./components/Awards";
import headshot from "@/public/content/dr_feely_headshot.png"; import headshot from "@/public/content/dr_feely_headshot.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
const CertsAndFellows = () => { const CertsAndFellows = () => {
return ( return (

View file

@ -3,7 +3,7 @@
import HomePageCarousel from "@/components/HomePageCarousel"; import HomePageCarousel from "@/components/HomePageCarousel";
import { ChevronDoubleDownIcon } from "@heroicons/react/24/solid"; import { ChevronDoubleDownIcon } from "@heroicons/react/24/solid";
import drFeelyPic from "@/public/content/dr_feely_headshot2.png"; import drFeelyPic from "@/public/content/dr_feely_headshot2.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import View from "@/components/View"; import View from "@/components/View";
/* Here be dragons */ /* Here be dragons */

View file

@ -5,11 +5,11 @@ import { ArrowDownIcon, ArrowUpIcon } from "@heroicons/react/24/solid";
import { useState } from "react"; import { useState } from "react";
import midwesternLogo from "@/public/content/midwestern_college.png"; import midwesternLogo from "@/public/content/midwestern_college.png";
import tuoroLogo from "@/public/content/tuoro_university.png"; import tuoroLogo from "@/public/content/tuoro_university.png";
import atStillLogo from "@/public/content/at_still.svg"; import atStillLogo from "@/public/content/at_still.png";
import westernULogo from "@/public/content/western_university.png"; import westernULogo from "@/public/content/western_university.png";
import cranialLogo from "@/public/content/osteopathic_cranial_academy.png"; import cranialLogo from "@/public/content/osteopathic_cranial_academy.png";
import aaoLogo from "@/public/content/aao.webp"; import aaoLogo from "@/public/content/aao.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
interface Props { interface Props {
className?: string; className?: string;

View file

@ -1,6 +1,6 @@
import Card from "@/components/Card"; import Card from "@/components/Card";
import bookCover from "@/public/content/acu_book.jpg"; import bookCover from "@/public/content/acu_book.jpg";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
const Books = () => { const Books = () => {
const titleStyle = "font-bold"; const titleStyle = "font-bold";

View file

@ -2,7 +2,7 @@ import ImageCard from "@/components/ImageCard";
import atStillU from "@/public/content/at_still_university.jpg"; import atStillU from "@/public/content/at_still_university.jpg";
import davenportHospital from "@/public/content/davenport_hospital.png"; import davenportHospital from "@/public/content/davenport_hospital.png";
import trumanState from "@/public/content/truman-state.jpeg"; import trumanState from "@/public/content/truman-state.jpeg";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
interface Props { interface Props {
className?: string; className?: string;

View file

@ -8,7 +8,7 @@ import ommTestsLogo from "@/public/content/omm_logo.png";
import tcmmTestsLogo from "@/public/content/tcm_tests.png"; import tcmmTestsLogo from "@/public/content/tcm_tests.png";
import womack from "@/public/content/womack.png"; import womack from "@/public/content/womack.png";
import tivity from "@/public/content/tivity.png"; import tivity from "@/public/content/tivity.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import whoLogo from "@/public/content/who.png"; import whoLogo from "@/public/content/who.png";
interface Props { interface Props {

View file

@ -2,7 +2,7 @@ import ArtLink from "./ArtLink";
import View from "./View"; import View from "./View";
import left from "@/public/content/logo_unicorn.png"; import left from "@/public/content/logo_unicorn.png";
import right from "@/public/content/logo_lion.png"; import right from "@/public/content/logo_lion.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
const Contact = () => { const Contact = () => {
return ( return (

View file

@ -1,8 +1,8 @@
"use client"; "use client";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import chicagoPic from "@/public/content/chicago.jpg"; import chicagoPic from "@/public/content/chicago.jpg";
import indianapolisPic from "@/public/content/indianapolis.webp"; import indianapolisPic from "@/public/content/indianapolis.png";
import naturePic from "@/public/content/nature.jpg"; import naturePic from "@/public/content/nature.jpg";
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import { useTransition, animated } from "@react-spring/web"; import { useTransition, animated } from "@react-spring/web";

View file

@ -5,7 +5,7 @@ import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/solid";
import NavPages from "./NavPages"; import NavPages from "./NavPages";
import logo from "@/public/content/logo.png"; import logo from "@/public/content/logo.png";
import logo_small from "@/public/content/logo_small.png"; import logo_small from "@/public/content/logo_small.png";
import Image from "next/image"; import { default as Image } from "next-image-export-optimizer";
import { usePathname } from "next/navigation"; import { usePathname } from "next/navigation";
const Navbar = () => { const Navbar = () => {
@ -31,7 +31,7 @@ const Navbar = () => {
return ( return (
<nav <nav
className={ className={
"fixed top-0 z-40 w-full overflow-hidden bg-primary-500 text-primary-100 transition-all " + "fixed top-0 z-40 w-full bg-primary-500 text-primary-100 transition-all " +
(useSmallNav (useSmallNav
? "bg-transparent pt-5 duration-100 md:pt-0" ? "bg-transparent pt-5 duration-100 md:pt-0"
: "bg-opacity-75 pt-0 drop-shadow backdrop-blur-sm delay-100 duration-200") : "bg-opacity-75 pt-0 drop-shadow backdrop-blur-sm delay-100 duration-200")

View file

@ -1,6 +1,8 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: "export", output: "export",
trailingSlash: true,
skipTrailingSlashRedirect: true,
images: { images: {
loader: "custom", loader: "custom",
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384], imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],

View file

@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build && next-image-export-optimizer",
"start": "next start", "start": "next start",
"lint": "next lint" "lint": "next lint"
}, },

File diff suppressed because it is too large Load diff

View file

@ -1,17 +0,0 @@
The MIT License (MIT)
Copyright (c) 2022 - present, Gani Georgiev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -1,55 +0,0 @@
/// <reference path="../pb_data/types.d.ts" />
migrate((db) => {
const collection = new Collection({
"id": "esuoxbzyb74u5de",
"created": "2023-08-25 16:58:47.470Z",
"updated": "2023-08-25 16:58:47.470Z",
"name": "articles",
"type": "base",
"system": false,
"schema": [
{
"system": false,
"id": "73ayywzr",
"name": "title",
"type": "text",
"required": false,
"unique": false,
"options": {
"min": null,
"max": null,
"pattern": ""
}
},
{
"system": false,
"id": "evdktwpq",
"name": "file",
"type": "file",
"required": false,
"unique": false,
"options": {
"maxSelect": 1,
"maxSize": 5242880,
"mimeTypes": [],
"thumbs": [],
"protected": false
}
}
],
"indexes": [],
"listRule": null,
"viewRule": null,
"createRule": null,
"updateRule": null,
"deleteRule": null,
"options": {}
});
return Dao(db).saveCollection(collection);
}, (db) => {
const dao = new Dao(db);
const collection = dao.findCollectionByNameOrId("esuoxbzyb74u5de");
return dao.deleteCollection(collection);
})

Binary file not shown.

View file

Before

Width:  |  Height:  |  Size: 998 KiB

After

Width:  |  Height:  |  Size: 998 KiB

BIN
public/content/aao.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Some files were not shown because too many files have changed in this diff Show more