Skip to content

Commit

Permalink
[Front page] Only display feedback link for HY
Browse files Browse the repository at this point in the history
  • Loading branch information
rikurauhala committed Nov 19, 2024
1 parent b173e27 commit 301208c
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions services/frontend/src/pages/FrontPage/MaterialInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { InfoOutlined } from '@mui/icons-material'
import { Alert, AlertTitle, Box, Link } from '@mui/material'
import { NavLink } from 'react-router-dom'

import { isDefaultServiceProvider } from '@/common'

/**
* A temporary notification card about the new UI.
* Can be removed when most of the work is done.
Expand All @@ -23,11 +25,16 @@ export const MaterialInfoCard = () => {
variant="outlined"
>
<AlertTitle>New user interface</AlertTitle>
Oodikone is getting a new look! We are gradually updating each view to the new design.{' '}
<Link component={NavLink} to="/feedback">
Let us know
</Link>{' '}
if you have any feedback or suggestions.
Oodikone is getting a new look! We are gradually updating each view to the new design.
{isDefaultServiceProvider() && (
<>
{' '}
<Link component={NavLink} to="/feedback">
Let us know
</Link>{' '}
if you have any feedback or suggestions.
</>
)}
</Alert>
)
}

0 comments on commit 301208c

Please sign in to comment.