Skip to content

Commit

Permalink
Update Back.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
jyc0011 authored Jul 12, 2024
1 parent 9168b4b commit 518d0f6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions kaupc-2024/src/app/_components/Back.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ import React, { forwardRef } from 'react';
const Back = forwardRef((props, ref) => {
return (
<div className="video-background" ref={ref}>
<video autoPlay muted loop id="background-video">
<source src="/images/back1.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
<img src="/images/back1.webp" alt="Background" id="background-image" />
</div>
);
});

Back.displayName = 'Back';

export default Back;
export default Back;

0 comments on commit 518d0f6

Please sign in to comment.