Skip to content

Commit

Permalink
add framer motion
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-bee committed Jan 10, 2024
1 parent 2f4d44b commit d678df2
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 8 deletions.
44 changes: 44 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"framer-motion": "^10.17.12",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
21 changes: 13 additions & 8 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
import { useState } from 'react'
import './App.css'
import { useState } from 'react';
import { motion } from 'framer-motion';
import './App.css';

function App() {
const [count, setCount] = useState(0)
const [count, setCount] = useState(0);

return (
<>

<h1 style={{ fontSize: "7em" }}>💻</h1>
<motion.h1
style={{ fontSize: "7em" }}
whileHover={{ scale: 1.25 }}
onHoverEnd={() => { }}
>
💻
</motion.h1>
<h1>adam boettcher</h1>
<h2>gpts</h2>
<h2>apps</h2>
<br />
<br />
<br />
<h3>[email protected]</h3>

</>
)
);
}

export default App
export default App;

0 comments on commit d678df2

Please sign in to comment.