feat: 🚧 Add IP video

This commit is contained in:
Louis Gallet 2023-06-22 16:21:46 +02:00
parent 64d28d0591
commit 31eea43260
Signed by: lgallet
SSH Key Fingerprint: SHA256:qnW7pk4EoMRR0UftZLZQKSMUImbEFsiruLC7jbCHJAY
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
import { useState, useEffect } from 'react'
import './App.css'
import axios from 'axios'
import video from './assets/GarfieldIP.mp4'
function App() {
const [ip, setIP] = useState('')
@ -20,6 +21,7 @@ function App() {
<div className='App'>
<h2>Your IP Address is </h2>
<h4>{ip || "loading"}</h4>
<video src={video} width="750" height="500" controls autoPlay></video>
</div>
</>
)

BIN
src/assets/GarfieldIP.mp4 Normal file

Binary file not shown.