mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
19 lines
338 B
TypeScript
19 lines
338 B
TypeScript
import styled, { css } from 'styled-components';
|
|
import Link from 'next/link';
|
|
|
|
const sharedStyles = css`
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
`;
|
|
|
|
export const StyledLink = styled(Link)`
|
|
${sharedStyles}
|
|
`;
|
|
|
|
export const StyledButton = styled.button`
|
|
${sharedStyles}
|
|
`;
|