added cognito initial config
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
import React, { FunctionComponent } from 'react';
|
||||
import style from '../web.module.scss';
|
||||
import YouTube from 'react-youtube';
|
||||
|
||||
type ComponentProps = {
|
||||
};
|
||||
|
||||
export const Home: FunctionComponent<ComponentProps> = (props): JSX.Element => {
|
||||
|
||||
const opts = {
|
||||
height: '696',
|
||||
width: '1024'
|
||||
};
|
||||
return (
|
||||
<div className={style.mainBody}>
|
||||
<div className={style.chalice} />
|
||||
@@ -16,11 +21,10 @@ export const Home: FunctionComponent<ComponentProps> = (props): JSX.Element => {
|
||||
<div className={style.twitchHome}>
|
||||
<a href='https://www.twitch.tv/catherine_faito_crab' rel='noopener noreferrer' target='_blank'> </a>
|
||||
</div>
|
||||
<div className={style.players0801} />
|
||||
<div className={style.players0802} />
|
||||
<div className={style.players0808} />
|
||||
<div className={style.players0809} />
|
||||
<div className={style.players0815} />
|
||||
<YouTube
|
||||
videoId={'oetCaugzOew'}
|
||||
opts={opts}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -141,6 +141,7 @@ app.get('/api/contact', (req: any, res: any) => {
|
||||
);
|
||||
});
|
||||
|
||||
app.use('/admin', express.static('admin'));
|
||||
app.use('/players', express.static('client'));
|
||||
app.use('/tournaments*', express.static('client'));
|
||||
app.use('/about', express.static('client'));
|
||||
|
||||
Reference in New Issue
Block a user