home.en.html 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <div class="main-container">
  2. <section class="text-center">
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-md-12">
  6. <h1>
  7. Query.
  8. <span class="color--primary">Explore.</span>
  9. Share.
  10. </h1>
  11. <h3>
  12. Hue is an open source SQL Assistant for Databases & Data Warehouses
  13. </h3>
  14. <a class="btn btn--primary btn--lg type--uppercase" href="http://demo.gethue.com" target="_blank">
  15. <span class="btn__text">
  16. Try Hue Now
  17. </span>
  18. </a>
  19. <!--
  20. <a class="btn btn--primary btn--lg type--uppercase" href="#">
  21. <span class="btn__text">
  22. Get Started FREE
  23. </span>
  24. </a>
  25. <span class="block type--fine-print">
  26. Or try a FREE
  27. <a href="http://demo.gethue.com" target="_blank"
  28. >product demo</a
  29. >
  30. </span>
  31. -->
  32. </div>
  33. </div>
  34. <!--end of row-->
  35. </div>
  36. <!--end of container-->
  37. </section>
  38. <section class="text-center">
  39. <div class="container">
  40. <div class="row">
  41. <div class="col-md-12 col-lg-9">
  42. <div class="bg--dark box-shadow-wide">
  43. <img alt="Image" src="https://cdn.gethue.com/uploads/2019/08/hue_4.5.png" />
  44. </div>
  45. </div>
  46. </div>
  47. <!--end of row-->
  48. </div>
  49. <!--end of container-->
  50. </section>
  51. <section class="border--bottom space--xxs ">
  52. <div class="container">
  53. <div class="row">
  54. <div class="col-md-12 text-center">
  55. <div class="modal-instance">
  56. <a class="btn type--uppercase modal-trigger" onclick="window.initScratchpad()" href="#">
  57. <span class="btn__text">
  58. &#9654; Open Sql Scratchpad
  59. </span>
  60. </a>
  61. <br />
  62. <br />
  63. <br />
  64. <div class="modal-container">
  65. <div class="modal-content bg-dark scratchpad-modal" data-width="60%" data-height="60%" style="display: flex; flex-direction: column;">
  66. <div style="flex: 0 1 100%; position: relative;" id="scratchpadModalContainer">
  67. <div style="padding:10px; color: white;">Loading...</div>
  68. </div>
  69. <div style="flex: 0 0 content">
  70. <a href="{{ .Site.Params.docsHost }}/developer/components/scratchpad/">Learn More »</a>
  71. </div>
  72. </div>
  73. <!--end of modal-content-->
  74. </div>
  75. <!--end of modal-container-->
  76. </div>
  77. <!--end of modal instance-->
  78. <span class="block--xs"></span>
  79. </div>
  80. </div>
  81. <!--end of row-->
  82. </div>
  83. <!--end of container-->
  84. </section>
  85. <section class="switchable feature-large">
  86. <div class="container">
  87. <div class="row justify-content-around">
  88. <div class="col-md-6">
  89. <img alt="Image" class="border--round box-shadow-wide"
  90. src="https://cdn.gethue.com/uploads/2017/07/hue_4_assistant_2.gif" />
  91. </div>
  92. <div class="col-md-6 col-lg-5">
  93. <div class="switchable__text">
  94. <h2>Write SQL like a pro</h2>
  95. <p class="lead">
  96. Hue brings the best
  97. <a href="{{ .Site.Params.docsHost }}/user/querying/">Querying Experience</a>
  98. with the most intelligent Autocompletes and Query Editor components.
  99. </p>
  100. <a href="{{ .Site.Params.docsHost }}/user/concept">Learn More »</a>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </section>
  106. <section class="switchable feature-large switchable--switch bg--secondary">
  107. <div class="container">
  108. <div class="row justify-content-around">
  109. <div class="col-md-6">
  110. <img alt="Image" class="border--round box-shadow-wide" src="img/databases.svg" />
  111. </div>
  112. <div class="col-md-6 col-lg-5">
  113. <div class="switchable__text">
  114. <h2>Connect to all the databases</h2>
  115. <p class="lead">
  116. Pick one of the multiple interpreters for
  117. <a href="{{ .Site.Params.docsHost }}/administrator/configuration/connectors/#apache-hive">Apache Hive</a>,
  118. <a href="{{ .Site.Params.docsHost }}/administrator/configuration/connectors/#apache-impala">
  119. Apache Impala
  120. </a>,
  121. <a href="{{ .Site.Params.docsHost }}/administrator/configuration/connectors/#presto">Presto</a>
  122. <a href="/blog/tutorial-query-live-data-stream-with-flink-sql/">Apache Flink SQL</a>,
  123. <a href="/blog/querying-spark-sql-with-spark-thrift-server-and-hue-editor/">SparkSQL</a>,
  124. <a href="/sql-querying-apache-hbase-with-apache-phoenix/">Apache Phoenix</a>,
  125. <a href="/blog/tutorial-query-live-data-stream-with-kafka-sql/">ksqlDB</a>,
  126. <a href="{{ .Site.Params.docsHost }}/administrator/configuration/connectors/#elastic-search">Elastic
  127. Search</a>,
  128. <a href="/quick-task-how-to-query-apache-druid-analytic-database/">Apache Druid</a>, PostgreSQL, Redshift,
  129. BigQuery...
  130. </p>
  131. <a href="{{ .Site.Params.docsHost }}/administrator/configuration/connectors/">Learn More »</a>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. </section>
  137. <section class="switchable feature-large">
  138. <div class="container">
  139. <div class="row justify-content-around">
  140. <div class="col-md-6">
  141. <img alt="Image" class="border--round box-shadow-wide"
  142. src="https://cdn.gethue.com/uploads/2018/04/blog_top_search_.png" />
  143. </div>
  144. <div class="col-md-6 col-lg-5">
  145. <div class="switchable__text">
  146. <h2>Find and connect your data</h2>
  147. <p class="lead">
  148. The tables and storage browsers leverage your existing Data Catalogs knowledge
  149. transparently. Help users find the correct data among thousands of databases and self
  150. document it.
  151. </p>
  152. <a href="{{ .Site.Params.docsHost }}/user/browsing/">Learn More »</a>
  153. </div>
  154. </div>
  155. </div>
  156. </div>
  157. </section>
  158. <section class="switchable feature-large switchable--switch bg--secondary">
  159. <div class="container">
  160. <div class="row justify-content-around">
  161. <div class="col-md-6">
  162. <img alt="Image" class="border--round box-shadow-wide" src="img/hue_slack_integration.png" />
  163. </div>
  164. <div class="col-md-6 col-lg-5">
  165. <div class="switchable__text">
  166. <h2>Install the Slack App!</h2>
  167. <p class="lead">
  168. Assist users with their SQL queries and leverage rich preview for links, sharing from Editor etc. directly in Slack.
  169. </p>
  170. <form autocomplete="off" onsubmit="return check(event)">
  171. <input type="text" id="hostname" placeholder="Your Hue hostname (e.g. hue.gethue.com:8000)"
  172. required></input>
  173. <button type="submit" class="btn btn--primary btn--lg type--uppercase">Install</button>
  174. </form>
  175. <br /><a href="{{ .Site.Params.docsHost }}/user/concept/#slack">Learn More »</a>
  176. </div>
  177. </div>
  178. </div>
  179. </div>
  180. </section>
  181. </div>
  182. <script type="text/javascript" src="https://unpkg.com/gethue/lib/components/SqlScratchpadWebComponent.js"></script>
  183. <style>
  184. .sql-scratchpad {
  185. background: white;
  186. box-sizing: border-box;
  187. }
  188. .sql-scratchpad-editor,
  189. .ace-editor-component,
  190. .ace-editor {
  191. position: relative;
  192. }
  193. .modal-container .modal-content.scratchpad-modal {
  194. transform: none !important;
  195. margin-left: -30%;
  196. margin-top: -20%;
  197. }
  198. .sql-scratchpad-actions * {
  199. line-height: 18px;
  200. height: 22px;
  201. vertical-align: middle;
  202. }
  203. .sql-scratchpad-actions .limit-input {
  204. font-size: 12px;
  205. width: 60px;
  206. height: 22px !important;
  207. }
  208. .sql-scratchpad-result {
  209. overflow: auto;
  210. }
  211. .sql-scratchpad-result h1 {
  212. text-align: center;
  213. font-size: 14px;
  214. }
  215. </style>
  216. <script>
  217. window.initScratchpad = function () {
  218. customElements.whenDefined('sql-scratchpad').then(function () {
  219. const containerElement = document.getElementById('scratchpadModalContainer');
  220. containerElement.innerHTML = '<sql-scratchpad style="position: absolute; top: 0; right: 0; bottom: 0; left: 0;" api-url="https://demo.gethue.com" username="demo" password="demo" dialect="mysql" />';
  221. });
  222. }
  223. function check(event) {
  224. event.preventDefault();
  225. const url = 'https://demo.gethue.com/api/slack/install/?hostname=' + document.getElementById('hostname').value;
  226. fetch(url)
  227. .then(response => response.json())
  228. .then(response => {
  229. window.location.replace(response['link']);
  230. });
  231. }
  232. </script>