diff --git a/src/components/A.astro b/src/components/A.astro new file mode 100644 index 0000000..4017b33 --- /dev/null +++ b/src/components/A.astro @@ -0,0 +1,8 @@ +--- +const {class: classname, href: href, nt: nt} = Astro.props; +let classmod = "font-bold text-yellow-500 " +if (classname) { + classmod = classmod.concat(classname) +} +--- +{nt ? : } diff --git a/src/components/Heading.astro b/src/components/Heading.astro index 2bb1547..c42c3a5 100644 --- a/src/components/Heading.astro +++ b/src/components/Heading.astro @@ -6,4 +6,4 @@ if (classname) { } --- -

+


diff --git a/src/components/Nav.astro b/src/components/Nav.astro index f04d600..9d7cdf5 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -8,7 +8,8 @@
Home About - Projects + Projects + Services