diff --git a/public/images/sprinkles.png b/public/images/sprinkles.png new file mode 100644 index 00000000000..64b2f49dd96 Binary files /dev/null and b/public/images/sprinkles.png differ diff --git a/public/images/vanilla.png b/public/images/vanilla.png new file mode 100644 index 00000000000..59f7be9e02e Binary files /dev/null and b/public/images/vanilla.png differ diff --git a/src/App.tsx b/src/App.tsx index 3fb12f058ab..1af407a6e50 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,10 +1,30 @@ /* eslint-disable import/no-webpack-loader-syntax */ /** @jsxImportSource @emotion/react */ -import React from 'react'; +import React, { useState } from 'react'; import { ListItem, Deck, Slide, Heading, Progress, FlexBox, Box, FullScreen, Grid, Text, UnorderedList, Appear, OrderedList, CodePane } from 'spectacle'; import { css, Global, keyframes } from '@emotion/react' import styled from '@emotion/styled' +const friends = ['Bruce Wayne', 'Michele Brucia', 'Way Home', 'Michele Wayne', 'Bruce Banner', 'Bruce Lee'] +const mkSearchable = (e: string) => e.replace(/\s/g, '').toLowerCase() +const Search = () => { + const [s, setS] = useState('') + return
+ setS(target.value)} + /> + + {friends.map(e => +
  • {e}
  • ) + } +
    +
    +} + const template = () => ( Come mai? - ma soprattutto perché? Cos'è? - oltre al readme c'è di più Trick AND treats! - Lessons learned - cosa mi è piaciuto, cosa no + È tutto oro quello che luccica?- lessons learned Cosa c'è lì fuori? - il prossimo tool! @@ -123,7 +143,8 @@ function App() { - + +