feat: feed feature, typescript, remove google, fix errs & warns
publish / Build-and-publish (push) Successful in 13m32s
publish / Build-and-publish (push) Successful in 13m32s
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
import * as React from 'react'
|
||||
import styled from 'styled-components'
|
||||
|
||||
import type { StyledAnchorProps } from '../../types'
|
||||
|
||||
export const StyledHeading = styled.h6`
|
||||
margin-bottom: 0.8rem;
|
||||
text-transform: uppercase;
|
||||
color: #888;
|
||||
`
|
||||
export const StyledDesc = styled.p`
|
||||
color: #aaaaaa;
|
||||
font-size: 0.9rem;
|
||||
`
|
||||
|
||||
export const InputStyled = styled.input`
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
font-size: 0.9rem;
|
||||
&:focus {
|
||||
color: inherit;
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
`
|
||||
|
||||
const Anchor = styled.a`
|
||||
color: #d4d4d4;
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
color: white;
|
||||
}
|
||||
`
|
||||
|
||||
export const StyledAnchor: React.FC<StyledAnchorProps> = ({
|
||||
children,
|
||||
href
|
||||
}) => (
|
||||
<Anchor href={href} target="_blank" rel="noopener">
|
||||
{children}
|
||||
</Anchor>
|
||||
)
|
||||
Reference in New Issue
Block a user