diff --git a/src/components/ProfileCard/index.tsx b/src/components/ProfileCard/index.tsx index 62ab03ef124..54d0f6ac2a4 100644 --- a/src/components/ProfileCard/index.tsx +++ b/src/components/ProfileCard/index.tsx @@ -14,11 +14,10 @@ * limitations under the License. */ -import React, { type ReactNode } from 'react'; +import React from 'react'; import styles from './styles.module.css'; type Person = { - className?: string; name: string; city: string; country: string; @@ -31,13 +30,12 @@ type Person = { }; type ProfileProps = { - className?: string; person: Person; }; -function ProfileCard({ person, className }: ProfileProps) { +function ProfileCard({ person }: ProfileProps) { return ( -
+
  • @@ -58,20 +56,20 @@ function ProfileCard({ person, className }: ProfileProps) {
    {person.githubUrl && ( - + )} {person.twitterUrl && ( - + )} {person.websiteUrl && ( - + )} {person.linkedInUrl && ( - + )}
    -
    +
  • ); } diff --git a/src/components/ProfileCard/styles.module.css b/src/components/ProfileCard/styles.module.css index 2552b090e2d..557533b8908 100644 --- a/src/components/ProfileCard/styles.module.css +++ b/src/components/ProfileCard/styles.module.css @@ -16,6 +16,10 @@ .cards { grid-template-columns: repeat(5, 1fr); } } +.cards > li { + list-style: none; +} + .card { margin-top: 2rem; height: 100%;