Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mamaleshrh committed Feb 1, 2023
1 parent ada2a8d commit 5b70571
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion src/Udgam/components/main-page/main-page.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
src: url('./Ellen-Luff_Leyton-Free-Font_170217/LeytonPersonal-Bold.otf');
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
.namesdiv {
z-index: 8;
color: white;
Expand All @@ -35,10 +36,12 @@
padding: 20px;
text-align: center;
/* font-weight: 900; */
font-weight: bolder;
/* font-weight: bolder; */
font-size: 30px;
/* height: 10vh; */
width: 30vw;
/* font-family:titlefont; */
font-family: 'Poppins', sans-serif;
}
.title-udgam {
width: 50vw;
Expand Down
6 changes: 3 additions & 3 deletions src/Udgam/components/main-page/main-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ function UDGmain() {
{/* <img src={arrimg[(counter + 1) % arrimg.length]} /> */}
</motion.div>
<motion.div className="namesdiv" key={counter} initial={{ x: '50vw', opacity: 0 }} animate={{ x: '30vw', opacity: 1 }} transition={{ duration: 3 }}>
<p>
clicked by - <strong>{names[(counter + 1) % names.length]}</strong>
</p>
{/* <p> */}
Captured by - {names[(counter + 1) % names.length]}
{/* </p> */}
</motion.div>
<div className="moving " style={{ backgroundImage: `url(${arrimg[counter % arrimg.length]})`, zIndex: '0' }}></div>
</div>
Expand Down

0 comments on commit 5b70571

Please sign in to comment.