-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a60612b
commit f234f36
Showing
4 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Button, Typography } from '@equinor/eds-core-react' | ||
import { useNavigate } from 'react-router-dom' | ||
import { InfoPageComponent } from '../../components/InfoPageComponent/InfoPageComponent' | ||
|
||
export const InvalidURL = () => { | ||
const navigate = useNavigate() | ||
|
||
return ( | ||
<InfoPageComponent title="Invalid URL"> | ||
<Typography variant="body_long">This URL is not valid!</Typography> | ||
<Button onClick={() => navigate(-1)}>Go back</Button> | ||
</InfoPageComponent> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Icon, Typography } from '@equinor/eds-core-react' | ||
import { external_link as externalLink } from '@equinor/eds-icons' | ||
import { InfoPageComponent } from '../../components/InfoPageComponent/InfoPageComponent' | ||
|
||
export const NoAccess = () => { | ||
const requiredAccesses = [ | ||
{ | ||
name: 'Parameter estimation from conseptual geological models', | ||
type: 'Basic access', | ||
}, | ||
] | ||
return ( | ||
<InfoPageComponent title="Access required"> | ||
<Typography variant="body_long"> | ||
You will need the following access before you can use PEPM: | ||
{requiredAccesses.map((item) => ( | ||
<li key={item.name}> | ||
{item.name} | ||
{' - '} | ||
{item.type} | ||
</li> | ||
))} | ||
</Typography> | ||
|
||
<Typography link href="https://accessit.equinor.com/"> | ||
Apply through Access IT | ||
<Icon data={externalLink} title={'Link to Api'} /> | ||
</Typography> | ||
</InfoPageComponent> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters