about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/search/index.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-05-25 21:27:00 +0200
committerThibG <thib@sitedethib.com>2019-06-13 22:15:31 +0200
commitd99a661f08398238838bf576e86c4be706ee7aa0 (patch)
tree2afbd2b0a7f4dd61876896186956abea78ea7ae4 /app/javascript/flavours/glitch/features/search/index.js
parent0bd9f23e6d2599a3d3930b6456024a4e3c9a3535 (diff)
[Glitch] Add responsive panels to the single-column layout
Port 1e5532e693d9533ee37f553aeb191e284178fa52 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/search/index.js')
-rw-r--r--app/javascript/flavours/glitch/features/search/index.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/search/index.js b/app/javascript/flavours/glitch/features/search/index.js
new file mode 100644
index 000000000..b35c8ed49
--- /dev/null
+++ b/app/javascript/flavours/glitch/features/search/index.js
@@ -0,0 +1,17 @@
+import React from 'react';
+import SearchContainer from 'flavours/glitch/features/compose/containers/search_container';
+import SearchResultsContainer from 'flavours/glitch/features/compose/containers/search_results_container';
+
+const Search = () => (
+  <div className='column search-page'>
+    <SearchContainer />
+
+    <div className='drawer__pager'>
+      <div className='drawer__inner darker'>
+        <SearchResultsContainer />
+      </div>
+    </div>
+  </div>
+);
+
+export default Search;