diff --git a/src/components/static-list.js b/src/components/static-list.js deleted file mode 100644 index 3e24dc0..0000000 --- a/src/components/static-list.js +++ /dev/null @@ -1,89 +0,0 @@ -import React from 'react' -import { StaticQuery, graphql } from 'gatsby' -import styled from 'styled-components' - -const User = styled.div` - text-align: center; - font-family: 'markweb-light', Arial; - - h2{ - font-size: 1.5em; - } - ul{ - text-decoration: none; - list-style: none; - display: flex; - flex-direction: column; - align-items: center; - justfy-content: center; - flex-wrap: wrap; - list-style-type: none; - margin: 0; - padding: 0; - - } - ul>li{ - font-size: 1.2em; - color: purple; - border-bottom: 1px solid #ccc; - } - li:last-child { - border: none; - } - li a { - text-decoration: none; - color: #000; - display: block; - width: 200px; - - -webkit-transition: font-size 0.3s ease, background-color 0.3s ease; - -moz-transition: font-size 0.3s ease, background-color 0.3s ease; - -o-transition: font-size 0.3s ease, background-color 0.3s ease; - -ms-transition: font-size 0.3s ease, background-color 0.3s ease; - transition: font-size 0.3s ease, background-color 0.3s ease; - } - - li a:hover { - font-size: 30px; - background: #f6f6f6; - } - -` - -const List = () => ( - { - const content = - (data && - data.curve_users && - data.curve_users.individuals && - data.curve_users.individuals.map(user => ( -
  • {user.name}
  • - ))) || - null - return ( - <> - -

    Users list

    - -
    - - ) - }} - /> -) - -export default List