Skip to content

Commit df1018a

Browse files
committed
Added search bar and marketContainer
1 parent 385ab2e commit df1018a

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from 'react';
2+
import TextField from '@mui/material/TextField';
3+
4+
const SearchBar = () => {
5+
return (
6+
<TextField
7+
label="Search"
8+
variant="outlined"
9+
fullWidth
10+
style={{ maxWidth: 450, height: '10px' }}
11+
/>
12+
);
13+
};
14+
15+
export default SearchBar;
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import React from 'react';
2+
import NavBar from '../components/top/NavBar';
3+
import SearchBar from '../components/marketplace/Searchbar';
4+
5+
const MarketplaceContainer = () => {
6+
return (
7+
<div style={containerStyles}>
8+
<NavBar />
9+
<div style={contentStyles}>
10+
<h1 style={headingStyles}>Discover components built with ReacType</h1>
11+
<p style={subheadingStyles}>
12+
Browse, save, and customize the latest components built by the community
13+
</p>
14+
<SearchBar />
15+
</div>
16+
</div>
17+
);
18+
};
19+
20+
21+
const containerStyles: React.CSSProperties = {
22+
backgroundColor: '#111',
23+
minHeight: '100vh',
24+
color: 'white',
25+
};
26+
27+
const contentStyles: React.CSSProperties = {
28+
textAlign: 'center',
29+
padding: '100px 0',
30+
};
31+
32+
const headingStyles: React.CSSProperties = {
33+
fontSize: '2.5rem',
34+
color: '#AAA',
35+
fontWeight: 'normal',
36+
marginBottom: '20px',
37+
};
38+
39+
const subheadingStyles: React.CSSProperties = {
40+
fontSize: '1.25rem',
41+
color: '#777',
42+
};
43+
44+
export default MarketplaceContainer;

0 commit comments

Comments
 (0)