import React from 'react';
import AuthLayout from '../src/components/layout/AuthLayout';

/* const link = 'https://www.youtube.com/embed/LACbVhgtx9I'; */
const route = 'video/info-video.mp4';
const isFirstTime = false;

const videoTutorial: React.FC = () => (
  <AuthLayout
    title="Video Informativo"
    mainClassName="infoVideo"
    auth={isFirstTime}
  >
    <div className="mainWrapper">
      <div className="videoBox">
        <div className="videoWrapper">
          <iframe
            src={route}
            frameBorder="0"
            allow="accelerometer; encrypted-media; gyroscope; picture-in-picture"
            allowFullScreen
            title="Video Informativo"
          />
        </div>
      </div>
    </div>
  </AuthLayout>
);

export default videoTutorial;
