diff --git a/latus.yml b/latus.yml index c8b823e..50f7b62 100644 --- a/latus.yml +++ b/latus.yml @@ -19,7 +19,9 @@ docker: 'cached', } '@latus/governor': {} -'@latus/http': {} +'@latus/http': { + title: 'Rooted', +} '@latus/http/client': { up: [ '@latus/socket/client', diff --git a/packages/core/src/components/title/index.jsx b/packages/core/src/components/title/index.jsx index 369fea8..ed2135a 100644 --- a/packages/core/src/components/title/index.jsx +++ b/packages/core/src/components/title/index.jsx @@ -16,13 +16,13 @@ const Title = () => (
- {/* - - */}
- {/* + {/* + + + */} diff --git a/packages/core/src/components/title/main/index.jsx b/packages/core/src/components/title/main/index.jsx index d385b38..8061ea8 100644 --- a/packages/core/src/components/title/main/index.jsx +++ b/packages/core/src/components/title/main/index.jsx @@ -1,22 +1,28 @@ import './index.scss'; -import {React} from '@latus/react'; +import { + React, + useLatus, +} from '@latus/react'; import { Link, } from 'react-router-dom'; -const Main = () => ( -
-

Rooted

-
    -
  • - Local play -
  • -
  • - Remote play -
  • -
-
-); +const Main = () => { + const latus = useLatus(); + return ( +
+

{latus.get('@latus/http.title')}

+
    +
  • + Local play +
  • +
  • + Remote play +
  • +
+
+ ); +}; export default Main;