Skip to content

Commit

Permalink
initial home page composition
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Oct 23, 2022
1 parent fec83d3 commit c063a01
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import fetch from 'node-fetch';
import '../components/cast-and-crew/cast-and-crew.js';
import '../components/upcoming-events/upcoming-events.js';
import '../components/spotify-playlist/spotify-playlist.js';

export default class Home extends HTMLElement {
async connectedCallback() {
Expand All @@ -16,6 +18,10 @@ export default class Home extends HTMLElement {
<tt-upcoming-events
events='${JSON.stringify(events).replace(/'/g, '\\"')}'
></tt-upcoming-events>
<tt-cast-crew></tt-cast-crew>
<tt-spotify-playlist></tt-spotify-playlist>
`;
}
}

0 comments on commit c063a01

Please sign in to comment.