|
1 | 1 | import React from "react"; |
2 | 2 | import ActivityIcon from "../assets/Activity.svg?react"; |
3 | | -import ComicIcon from "../assets/Comic.svg?react"; |
4 | 3 | import MotionIcon from "../assets/Motion.svg?react"; |
5 | 4 | import SignLanguageIcon from "../assets/Sign Language.svg?react"; |
6 | 5 | import TalkingBookIcon from "../assets/Talking Book.svg?react"; |
@@ -36,7 +35,7 @@ export const featureIconHeight = 12; |
36 | 35 | // (appears next to the language in the languages list) or not (appears on the left of the |
37 | 36 | // feature bar). In addition, the icon is given as a function that takes some props and |
38 | 37 | // returns a react component. |
39 | | -// It would be simpler to, e.g., import comicIcon from "../assets/Comic.svg?react" |
| 38 | +// It would be simpler to, e.g., import someIcon from "../assets/Some.svg?react" |
40 | 39 | // (which yields a url), then let the icon: simply be that string, and let the code |
41 | 40 | // that wants the icon make an <img> with src={feature.icon}. But then we can't use |
42 | 41 | // fill: to control the color. |
@@ -102,28 +101,6 @@ export const featureSpecs: IFeatureSpec[] = [ |
102 | 101 | languageDependent: true, |
103 | 102 | englishLabel: "Features for the Visually Impaired", |
104 | 103 | }, |
105 | | - { |
106 | | - featureKey: "comic", |
107 | | - //featureTitle: "Comic Books", |
108 | | - filter: { feature: "comic" }, |
109 | | - // description: ( |
110 | | - // <div> |
111 | | - // Comic Books contain comic speech bubbles, captions, and/or other |
112 | | - // text which appears over images. |
113 | | - // </div> |
114 | | - // ), |
115 | | - icon(props) { |
116 | | - return ( |
117 | | - <ComicIcon |
118 | | - title={getLocalizedLabel(this)} |
119 | | - {...props} |
120 | | - ></ComicIcon> |
121 | | - ); |
122 | | - }, |
123 | | - languageDependent: false, |
124 | | - collectionHref: "comics", |
125 | | - englishLabel: "Comic Book", |
126 | | - }, |
127 | 104 | { |
128 | 105 | featureKey: "motion", |
129 | 106 | //featureTitle: "Motion Books", |
|
0 commit comments