This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //adding a new shelf | |
| app.post("/shelf", async(req,res)=>{ | |
| const shelfTitle = req.body.shelfTitle | |
| const shelfLanguage = req.body.shelfLanguage | |
| const bookTitle= req.body.bookTitle | |
| const earliestPublicationYear = req.body.earliestPublicationYear | |
| ... | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "_id": ".....", | |
| "shelfSubjects": [ | |
| "0 Ancient and Modern Languages", | |
| "1 Literature", | |
| "4 Anthropology", | |
| "5 Human Geography" | |
| ], | |
| "editions": [ | |
| { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //simple Carousel setup using CSS position and custom hooks by Kyle Cook (WebDevSimplified) | |
| import ImageFadeIn from '../../../../../customHooks/imageFadeIn' | |
| import useTimeout from '../../../../../customHooks/useTimeout' | |
| import useDebounce from '../../../../../customHooks/useDebounce' | |
| import useClickOutside from '../../../../../customHooks/useClickOutside'; | |
| import ImageModal from './ImageModal' | |
| import {useEffect, useState, useRef} from 'react' | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //combining and referencing code from 'react-zoom-pan-pinch' by Maciej Pyrc, 'react-image-fade-in' by Patrick Tran, react portal tutorial by Kyle Cook (WebDevSimplified) | |
| import ImageFadeIn from '../../../../../customHooks/imageFadeIn'; | |
| import React from 'react' | |
| import ReactDom from 'react-dom' | |
| import {TransformWrapper, TransformComponent} from "react-zoom-pan-pinch"; | |
| import {VscZoomIn as ZoomInIcon} from "react-icons/vsc"; | |
| import {VscZoomOut as ZoomOutIcon} from "react-icons/vsc"; | |
| import {IoResizeOutline as ResetIcon} from "react-icons/io5"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* Headers: Rufina - English, Genwan - Chinese */ | |
| .h1{ | |
| @apply text-4xl tracking-wider font-medium; | |
| font-family: "Rufina","Genwan"; | |
| } | |
| /* Body Text: Roboto - English, Genseki - Chinese */ | |
| .body{ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //translationZHTW.json | |
| { | |
| "Navbar":{ | |
| "trekinn":"《 美崙遊記 》", | |
| "about":"簡介", | |
| "destinations+map":"觀光指南及地圖", | |
| "rooms":"訂房", | |
| "contact":"聯絡資訊", | |
| "changeTo":"English", | 
OlderNewer