import "./AboutMe.scss";
import { Link } from "react-router-dom";
import { Tooltip } from "antd";
import { useState, useEffect } from "react";
import axios from "axios";
const TelegramOutlinedSvg = () => {
return (
);
};
const LastFmLi = () => {
const [nowPlayingSong, setNowPlayingSong] = useState("nothing");
const [nowPlayingArtist, setNowPlayingArtist] = useState("no-one");
const updateNowPlaying = async () => {
try {
const songData = await axios.get(
"https://jsonplaceholder.typicode.com/posts"
);
console.log(songData.data);
} catch (err) {
console.error(err);
}
};
useEffect(() => {
updateNowPlaying();
const interval = setInterval(updateNowPlaying, 10000);
return () => {
clearInterval(interval);
};
}, []);
return listening to ____ by ____;
};
const Age = () => {
const [age, setAge] = useState(
Math.round((new Date().getTime() - 1021004428000) / 1000)
);
const UpdateAge = () => {
setAge(Math.round((new Date().getTime() - 1021004428000) / 1000));
};
useEffect(() => {
UpdateAge();
const interval = setInterval(UpdateAge, 1000);
return () => {
clearInterval(interval);
};
}, []);
return (
{age} seconds old{" "}
);
};
export const AboutMe = () => {
const EmailHandler = () => {
const email = "Y29udGFjdEBqYWtlY292ZXIubWU=";
window.prompt("Thanks for being a human! Here's my email:", atob(email));
};
return (
Hi! I'm Jake!
A bit about me:
-
Name: Jake Cover
- Occupation: Student
- Location: Southern California
-
Projects:{" "}
-
Resume: Over here
-
Find Me:
I'm:
-
doing (general stuff - in class, projects, sleeping, games)
);
};