diff --git a/src/components/Author.astro b/src/components/Author.astro new file mode 100644 index 0000000..c842ee0 --- /dev/null +++ b/src/components/Author.astro @@ -0,0 +1,18 @@ +--- +interface Props { + name: string +} + +const { name } = Astro.props +--- + +

+ {name} +

+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 76c4c7c..d0f8822 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -4,7 +4,9 @@ import BaseLayout from "../layouts/BaseLayout.astro";
-

NX Academy

+

+ NX Academy +

Passez au niveau supérieur

Suivre le projet sur GitHub @@ -31,6 +33,28 @@ import BaseLayout from "../layouts/BaseLayout.astro"; color: #FEFEFE; } + h1:hover .first-letter { + animation: change-color .8s ease-out infinite; + } + + h1:hover .second-letter { + animation: change-color .8s ease-out .4s infinite; + } + + @keyframes change-color { + 0% { + color: #FEFEFE; + } + + 50% { + color: #4effa0; + } + + 100% { + color: #FEFEFE; + } + } + p { font-size: 1.25rem; margin-top: 0;