diff --git a/src/components/AcademyLocation/AcademyLocationSection.tsx b/src/components/AcademyLocation/AcademyLocationSection.tsx
index f96e9ee..5d97a11 100755
--- a/src/components/AcademyLocation/AcademyLocationSection.tsx
+++ b/src/components/AcademyLocation/AcademyLocationSection.tsx
@@ -2,7 +2,6 @@ import React from 'react';
import classnames from 'classnames';
import styles from './AcademyLocationSection.module.scss';
import { Academy } from '../../core/models';
-import Link from '../Link/Link';
interface AcademyLocationSectionProps {
academies: Academy[]
@@ -35,7 +34,6 @@ function AcademyLocation(academy: Academy) {
{academy.date}
{academy.location}
{academy.slots} students
- Registration
)
diff --git a/src/components/Link/Link.module.scss b/src/components/Link/Link.module.scss
index 4cb3856..757d44f 100755
--- a/src/components/Link/Link.module.scss
+++ b/src/components/Link/Link.module.scss
@@ -11,14 +11,13 @@
background: none;
text-align: center;
cursor: pointer;
- a {
- color: $color-logo-red;
- text-decoration: none;
- }
+ text-decoration: none;
+ color: $color-logo-red;
+
&:hover {
+ text-decoration: none;
background: $color-logo-red-dark;
- a {
- color: white;
- }
+ color: white;
+
}
}
\ No newline at end of file
diff --git a/src/components/Link/Link.tsx b/src/components/Link/Link.tsx
index 7df8b5f..524404f 100755
--- a/src/components/Link/Link.tsx
+++ b/src/components/Link/Link.tsx
@@ -12,14 +12,16 @@ interface LinkProps {
function Link(props: LinkProps) {
return (
props.external
- ?
- :
+
)
}