diff --git a/frontend/public/PeerNotes.png b/frontend/public/PeerNotes.png new file mode 100644 index 0000000..c524849 Binary files /dev/null and b/frontend/public/PeerNotes.png differ diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 9fdfa75..8ebdd3e 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,10 +1,20 @@ import './App.css' +import MainSearch from './components/MainSearch'; function App() { return ( <> -

PeerNotes

+
+ PeerNotes Logo + +
) } diff --git a/frontend/src/assets/PeerNotes.png b/frontend/src/assets/PeerNotes.png new file mode 100644 index 0000000..cc142ee Binary files /dev/null and b/frontend/src/assets/PeerNotes.png differ diff --git a/frontend/src/components/MainSearch.tsx b/frontend/src/components/MainSearch.tsx new file mode 100644 index 0000000..2558f8f --- /dev/null +++ b/frontend/src/components/MainSearch.tsx @@ -0,0 +1,39 @@ +import React from 'react'; +import '../screens/MainScreenWrapper.css'; + +const MainSearch: React.FC = () => { + return ( +
+
+ + +
+
+ + +
+
+ + +
+ +
+ ); +} + +export default MainSearch; diff --git a/frontend/src/screens/MainScreenWrapper.css b/frontend/src/screens/MainScreenWrapper.css new file mode 100644 index 0000000..1005c2a --- /dev/null +++ b/frontend/src/screens/MainScreenWrapper.css @@ -0,0 +1,52 @@ +html, body { + height: 100%; + margin: 0; + display: flex; + justify-content: center; + align-items: center; + background: #0C2D48; + font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; + } + + .filter-container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 20px; + background: #B1D4E0; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* shadow */ + } + + .filter-item + .filter-item { + margin-top: 20px; /* space between filter items */ + } + + label { + margin-bottom: 5px; + font-weight: bold; + } + + select { + padding: 8px; + border: 1px solid #2E8BC0; + border-radius: 4px; + width: 100%; /* fill the container width */ + } + + .submit-button { + padding: 8px 16px; + margin-top: 20px; /* Adds space above the button */ + background-color: #2E8BC0; /* Example background color */ + color: white; /* Text color */ + border: none; + border-radius: 4px; + cursor: pointer; + font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; + } + + .submit-button:hover { + background-color: #1D6A96; /* Darker shade for hover effect */ + } + \ No newline at end of file