Skip to content

Commit cd54f27

Browse files
committed
cleanup: Small changes across the progect
- Update the page title for the print page to include the name of the website - Change the hover effect on the h1 element to have a smooth transition
1 parent 6edaf5b commit cd54f27

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/index.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export default function Home() {
127127
pdfDocument.write(`
128128
<html>
129129
<head>
130-
<title>Print Document</title>
130+
<title>Print Document - Keímeno</title>
131131
</head>
132132
<body>
133133
<pre>${content}</pre>
@@ -193,7 +193,7 @@ export default function Home() {
193193

194194
useEffect(() => {
195195
const hoverElement = document.querySelector("h1");
196-
const originalColor = "var(--color-text)";
196+
const originalColor = "inherit";
197197

198198
if (hoverElement) {
199199
hoverElement.addEventListener("mouseenter", function () {
@@ -254,7 +254,7 @@ export default function Home() {
254254
Shortcuts
255255
</button>
256256
<h1
257-
className={`text-center font-black text-5xl mb-10 cursor-pointer tracking-tight hover:text-neutral-400 hover:underline transition-colors`}
257+
className={`text-center font-black text-5xl mb-10 cursor-pointer tracking-tight hover:text-neutral-400 hover:underline transition-color duration-500`}
258258
title="Clear text (Shift + C)"
259259
onClick={clearText}
260260
>
@@ -297,7 +297,7 @@ export default function Home() {
297297
</a>
298298
</p>
299299
<p className="font-bold dark:text-neutral-500 text-neutral-800 mt-3">
300-
© 2023 Gabriel Cozma. All rights reserved.
300+
© 2023-present Gabriel Cozma. All rights reserved.
301301
</p>
302302
<section className="flex justify-center gap-4 mt-3">
303303
<p

0 commit comments

Comments
 (0)