-
Notifications
You must be signed in to change notification settings - Fork 0
/
LibraryServices.tsx
32 lines (28 loc) · 1.32 KB
/
LibraryServices.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { useOktaAuth } from "@okta/okta-react";
import { Link } from "react-router-dom";
export const LibraryServices =() =>{
const { authState }=useOktaAuth();
return(
<div className='container my-5'>
<div className='row p-4 align-items-center border shadow-lg'>
<div className='col-lg-7 p-3'>
<h1 className='display-4 fw-bold'>
Can't find what you are looking for?
</h1>
<p className='lead'>
If you cannot find what you are looking for,
send our library admin's a personal message!
</p>
<div className='d-grid gap-2 justify-content-md-start mb-4 mb-lg-3'>
{ authState?.isAuthenticated ?
<Link to='#' type='button' className='btn main-color btn-lg px-4 me-md-2 fw-bold text-white'>Library Services</Link>
:
<Link className='btn main-color btn-lg text white' to="/login">Sign up</Link>
}
</div>
</div>
<div className='col-lg-4 offset-lg-1 shadow-lg lost-image'></div>
</div>
</div>
);
}