xxxxxxxxxx
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<meta charset="utf-8" />
5
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
<meta name="viewport" content="width=device-width, initial-scale=1" />
7
<meta name="theme-color" content="#000000" />
8
<meta
9
name="description"
10
content="Web site created using create-react-app"
11
/>
12
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
<link
14
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
15
rel="stylesheet"
16
/>
17
<link
18
href="https://use.fontawesome.com/releases/v5.15.1/css/all.css"
19
rel="stylesheet"
20
/>
21
22
<!--
23
manifest.json provides metadata used when your web app is installed on a
24
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
25
-->
26
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
27
<!--
28
Notice the use of %PUBLIC_URL% in the tags above.
29
It will be replaced with the URL of the `public` folder during the build.
30
Only files inside the `public` folder can be referenced from the HTML.
31
32
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
33
work correctly both with client-side routing and a non-root public URL.
34
Learn how to configure a non-root public URL by running `npm run build`.
35
-->
36
<title>MDBReact5 Template App</title>
37
</head>
38
<body>
39
<noscript>You need to enable JavaScript to run this app.</noscript>
40
<div id="root"></div>
41
<!--
42
This HTML file is a template.
43
If you open it directly in the browser, you will see an empty page.
44
45
You can add webfonts, meta tags, or analytics to this file.
46
The build step will place the bundled scripts into the <body> tag.
47
48
To begin the development, run `npm start` or `yarn start`.
49
To create a production bundle, use `npm run build` or `yarn build`.
50
-->
51
</body>
52
</html>
53
xxxxxxxxxx
1
.background-radial-gradient {
2
background-color: hsl(218, 41%, 15%);
3
background-image: radial-gradient(
4
650px circle at 0% 0%,
5
hsl(218, 41%, 35%) 15%,
6
hsl(218, 41%, 30%) 35%,
7
hsl(218, 41%, 20%) 75%,
8
hsl(218, 41%, 19%) 80%,
9
transparent 100%
10
),
11
radial-gradient(
12
1250px circle at 100% 100%,
13
hsl(218, 41%, 45%) 15%,
14
hsl(218, 41%, 30%) 35%,
15
hsl(218, 41%, 20%) 75%,
16
hsl(218, 41%, 19%) 80%,
17
transparent 100%
18
);
19
}
20
21
#radius-shape-1 {
22
height: 220px;
23
width: 220px;
24
top: -60px;
25
left: -130px;
26
background: radial-gradient(#44006b, #ad1fff);
27
overflow: hidden;
28
}
29
#radius-shape-2 {
30
border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%;
31
bottom: -60px;
32
right: -110px;
33
width: 300px;
34
height: 300px;
35
background: radial-gradient(#44006b, #ad1fff);
36
overflow: hidden;
37
}
38
.bg-glass {
39
background-color: hsla(0, 0%, 100%, 0.9) !important;
40
backdrop-filter: saturate(200%) blur(25px);
41
}
xxxxxxxxxx
1
import React from 'react';
2
import {
3
MDBContainer,
4
MDBRow,
5
MDBCard,
6
MDBCardHeader,
7
MDBCol,
8
MDBCardBody,
9
MDBTabs,
10
MDBTabsItem,
11
MDBTabsLink,
12
MDBTabsPane,
13
MDBTabsContent,
14
MDBIcon,
15
MDBCheckbox,
16
MDBInput,
17
MDBBtn,
18
MDBTextArea,
19
} from 'mdb-react-ui-kit';
20
21
function App() {
22
return (
23
<MDBContainer fluid className='mt-5'>
24
<section className='background-radial-gradient overflow-hidden'>
25
<div className='container px-4 py-5 px-md-5 text-center text-lg-start my-5'>
26
<div className='row gx-lg-5 align-items-center mb-5'>
27
<div className='col-lg-6 mb-5 mb-lg-0' style={{ zIndex: 10 }}>
28
<h1 className='my-5 display-3 fw-bold ls-tight' style={{ color: 'hsl(218, 81%, 95%)' }}>
29
The best offer <br />
30
<span style={{ color: 'hsl(218, 81%, 75%)' }}>for your business</span>
31
</h1>
32
<p className='mb-4 opacity-70' style={{ color: 'hsl(218, 81%, 85%)' }}>
33
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Temporibus, expedita iusto veniam atque, magni
34
tempora mollitia dolorum consequatur nulla, neque debitis eos reprehenderit quasi ab ipsum nisi dolorem
35
modi. Quos?
36
</p>
37
</div>
38
39
<div className='col-lg-6 mb-5 mb-lg-0 position-relative'>
40
<div id='radius-shape-1' className='position-absolute rounded-circle shadow-5-strong'></div>
41
<div id='radius-shape-2' className='position-absolute shadow-5-strong'></div>
42
43
<div className='card bg-glass'>
44
<div className='card-body px-4 py-5 px-md-5'>
45
<form>
46
<MDBRow className='mb-4'>
47
<MDBCol>
48
<MDBInput className='mb-4' id='first2' label='First name' />
49
</MDBCol>
50
<MDBCol>
51
<MDBInput className='mb-4' id='last2' label='Last name' />
52
</MDBCol>
53
</MDBRow>
54
55
<MDBInput className='mb-4' type='email' id='email2' label='Email address' />
56
<MDBInput className='mb-4' type='password' id='password2' label='Password' />
57
58
<MDBRow className='mb-4 justify-content-center'>
59
<MDBCol md='6' className='d-flex justify-content-center'>
60
<MDBCheckbox className=' mb-3 mb-md-0' defaultChecked label=' Subscribe to our newsletter' />
61
</MDBCol>
62
</MDBRow>
63
64
<MDBBtn type='submit' block className='mb-4'>
65
Sign up
66
</MDBBtn>
67
68
<div className='text-center'>
69
<p>or sign up with:</p>
70
<MDBBtn color='link' type='button' floating className='mx-1'>
71
<MDBIcon fab icon='facebook-f' />
72
</MDBBtn>
73
74
<MDBBtn color='link' type='button' floating className='mx-1'>
75
<MDBIcon fab icon='google' />
76
</MDBBtn>
77
78
<MDBBtn color='link' type='button' floating className='mx-1'>
79
<MDBIcon fab icon='twitter' />
80
</MDBBtn>
81
82
<MDBBtn color='link' type='button' floating className='mx-1'>
83
<MDBIcon fab icon='github' />
84
</MDBBtn>
85
</div>
86
</form>
87
</div>
88
</div>
89
</div>
90
</div>
91
</div>
92
</section>
93
</MDBContainer>
94
);
95
}
96
97
export default App;
98
Console errors: 0