Skip to content

Commit 23914d7

Browse files
committed
addjusted devstrons icon
1 parent d824e35 commit 23914d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/pages/index.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const HomePage: NextPage = () => {
99
<Page title="Home">
1010
<div className="flex h-screen overflow-y-auto bg-slate-900">
1111
<section className="m-auto flex flex-col items-center gap-4">
12-
<div className="relative -mb-8 h-40 w-40 shrink-0">
13-
<Image src="/assets/waving-devtrons-icon.gif" layout="fill" />
12+
<div className="relative -m-8 h-40 w-40 shrink-0">
13+
<Image src="/assets/waving-devtrons-icon.gif" layout="fill" priority />
1414
</div>
1515
<div className="">
1616
<h1 data-text="DEVSTRONS'" className={styles['water-effect']} />
@@ -20,7 +20,7 @@ const HomePage: NextPage = () => {
2020
<span className="inline-block px-4 uppercase transition-all hover:text-[1.1em] hover:text-sky-500">
2121
Learn
2222
</span>
23-
<span className="inline-block px-4 uppercase transition-all text-sky-500 hover:text-[1.1em] hover:text-white">
23+
<span className="inline-block px-4 uppercase text-sky-500 transition-all hover:text-[1.1em] hover:text-inherit">
2424
Code
2525
</span>
2626
<span className="inline-block px-4 uppercase transition-all hover:text-[1.1em] hover:text-sky-500">

src/styles/home-page.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
@layer components {
44
.water-effect {
5-
@apply relative font-poppins text-[clamp(3rem,10vw,7rem)] font-semibold uppercase leading-none text-sky-500;
5+
@apply relative font-poppins text-[clamp(3rem,10vw,7rem)] font-semibold leading-none text-sky-500;
66
&::before,
77
&::after {
88
@apply block content-[attr(data-text)];

0 commit comments

Comments
 (0)