Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
ulughann committed Aug 22, 2023
1 parent baa3685 commit 9530c57
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions public/text.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,7 @@ html {
opacity: 0;
}
}

.animate-code {
animation: blink 1s infinite;
}
15 changes: 12 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />

<title>Astro</title>
<title>Onrir</title>
<script>
import "boxicons";

Expand All @@ -19,6 +19,14 @@
rem.remove();
}
});

let sc;
document.getElementById("secret").addEventListener("click", el => {
if(!sc)
el.target.innerHTML = "The difference between the sun and the moon is <span class='text-red-500'>night and day</span>.";
sc = true;
});

</script>
</head>
<body>
Expand Down Expand Up @@ -448,10 +456,11 @@
</a>

<a
id="secret"
class="group flex flex-col bg-white border shadow-sm rounded-xl hover:shadow-md transition dark:bg-slate-800 dark:border-gray-800"
href="#https://github.com/onrirr/onrir"
href="#https://github.com/onrirr/portfolio"
>
<div class="p-4 md:p-5">
<div class="p-4 md:p-5" >
<div class="flex justify-between items-center">
<div>
<h3
Expand Down

0 comments on commit 9530c57

Please sign in to comment.