From 86a3873037b48cd1605769481b0105c42723bd48 Mon Sep 17 00:00:00 2001 From: "Erin E. Sullivan" Date: Thu, 12 Dec 2024 12:57:39 -0500 Subject: [PATCH] Deleting `Bookplate` and styles as it is not used. --- .../records/components/Bookplate/index.js | 18 ------------------ src/modules/records/index.js | 2 -- src/stylesheets/main.css | 10 ---------- 3 files changed, 30 deletions(-) delete mode 100644 src/modules/records/components/Bookplate/index.js diff --git a/src/modules/records/components/Bookplate/index.js b/src/modules/records/components/Bookplate/index.js deleted file mode 100644 index 2b3630b6..00000000 --- a/src/modules/records/components/Bookplate/index.js +++ /dev/null @@ -1,18 +0,0 @@ -import PropTypes from 'prop-types'; -import React from 'react'; - -const Bookplate = ({ description, imageUrl }) => { - return ( -
-

This purchase made possible by the {description}

- -
- ); -}; - -Bookplate.propTypes = { - description: PropTypes.string, - imageUrl: PropTypes.string -}; - -export default Bookplate; diff --git a/src/modules/records/index.js b/src/modules/records/index.js index e1b9d5fc..32f9aa60 100644 --- a/src/modules/records/index.js +++ b/src/modules/records/index.js @@ -10,7 +10,6 @@ import { setRecordHoldings } from './actions'; import BentoboxList from './components/BentoboxList'; -import Bookplate from './components/Bookplate'; import FullRecordPlaceholder from './components/FullRecordPlaceholder'; import ILLRequestMessage from './components/ILLRequestMessage'; import KeywordSwitch from './components/KeywordSwitch'; @@ -32,7 +31,6 @@ export { addHoldings, addRecords, BentoboxList, - Bookplate, clearRecord, clearRecords, FullRecordPlaceholder, diff --git a/src/stylesheets/main.css b/src/stylesheets/main.css index 528ce0b0..76d01b6b 100644 --- a/src/stylesheets/main.css +++ b/src/stylesheets/main.css @@ -1928,16 +1928,6 @@ body { order: 3; } -.bookplate-image { - width: 100%; - max-width: 14rem; -} - -.bookplate-description { - margin-top: 0; - margin-bottom: 0.5rem; -} - .site-footer { /* keep it to the bottom */ background: white;