mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 00:55:37 +01:00
New components, convert hooks to components, bug fixes.
This commit is contained in:
parent
a2db27894f
commit
9d8a2406e1
21 changed files with 330 additions and 181 deletions
12
components/Link.js
Normal file
12
components/Link.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import NextLink from 'next/link';
|
||||
import styles from './Link.module.css';
|
||||
|
||||
export default function Link({ href, className, children }) {
|
||||
return (
|
||||
<NextLink href={href}>
|
||||
<a className={classNames(styles.link, className)}>{children}</a>
|
||||
</NextLink>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue