Browser extension that demonstrates the Web Annotation Discovery mechanism: subscribe to people’s annotation collections/‘feeds’, to see their notes on the web; and create & publish annotations yourself.

Overview.tsx 646 B

12345678910111213141516171819
  1. import { Component, h } from 'preact';
  2. import { AnnotationSourcesList } from '../components/AnnotationSourcesList';
  3. import classes from './Overview.module.scss';
  4. interface OverviewProps {}
  5. interface OverviewState {}
  6. export class Overview extends Component<OverviewProps, OverviewState> {
  7. render({}: OverviewProps, {}: OverviewState) {
  8. return (
  9. <main class={classes.overview}>
  10. <h2>Your annotation library</h2>
  11. <p>Below are the annotation from feeds you are subscribed to, and other annotations you imported to your annotation library.</p>
  12. <AnnotationSourcesList withAnnotations />
  13. </main>
  14. );
  15. }
  16. }