mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
made transitional Anchor component for next/cra
This commit is contained in:
parent
8bac6bb2f7
commit
7658068caa
12 changed files with 57 additions and 28 deletions
|
@ -1,9 +1,10 @@
|
|||
import React from 'react';
|
||||
import styles from './styles.module.scss';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { Anchor } from '~/components/common/Anchor';
|
||||
import { URLS } from '~/constants/urls';
|
||||
|
||||
export const Logo = () => (
|
||||
<Link className={styles.logo} to="/">
|
||||
<Anchor className={styles.logo} href={URLS.BASE}>
|
||||
VAULT
|
||||
</Link>
|
||||
</Anchor>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue