Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Workshops
Developer workshop
Commits
ed4220ba
Commit
ed4220ba
authored
Sep 25, 2020
by
Andy Lamb
Browse files
need YammerFeed
parent
ef8e6f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/pages/Home/Homepage.js
View file @
ed4220ba
...
...
@@ -2,10 +2,20 @@ import React from 'react';
import
PropTypes
from
'
prop-types
'
;
import
{
Link
}
from
'
react-router-dom
'
;
import
MainLayout
from
'
~/layouts/Main.layout
'
;
import
YammerFeed
from
'
~/features/yammerFeed/YammerFeed
'
;
import
YammerScripts
from
'
~/features/yammerScripts/YammerScripts
'
;
const
Homepage
=
({
entry
})
=>
(
<
MainLayout
>
<
YammerScripts
container
=
{
'
#embeddedFeed
'
}
network
=
{
'
towerhamlets.gov.uk
'
}
feedType
=
{
'
group
'
}
feedId
=
{
'
20036132864
'
}
/
>
<
h1
>
Hello
world
{
entry
&&
entry
.
entryTitle
}
<
/h1
>
<
YammerFeed
divHeight
=
{
800
}
divWidth
=
{
400
}
/
>
<
Link
to
=
"
/zenInfo
"
>
ZenInfo
<
/Link
>
<
/MainLayout
>
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment