feat: contributing

This commit is contained in:
davidontop 2024-05-23 19:32:27 +02:00
parent e9e824bd6d
commit 0d66f9b51f
Signed by: DavidOnTop
GPG key ID: 5D05538A45D5149F
4 changed files with 25 additions and 2 deletions

8
src/components/A.astro Normal file
View file

@ -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 ? <a class={classmod} href={href} target="_blank" rel="noreferrer noopener"><slot /></a> : <a class={classmod} href={href}><slot /></a>}

View file

@ -6,4 +6,4 @@ if (classname) {
} }
--- ---
<h1 class={classmod}><slot /></h1> <h1 class={classmod}><slot /></h1><br>

View file

@ -8,7 +8,8 @@
<div> <div>
<a href="/" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">Home</a> <a href="/" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">Home</a>
<a href="/about" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">About</a> <a href="/about" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">About</a>
<a href="/projects" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">Projects</a> <a href="https://git.davidon.top" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">Projects</a>
<a href="https://dash.davidon.top" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">Services</a>
</div> </div>
<div class="dropdown dropdown-hover dropdown-end"> <div class="dropdown dropdown-hover dropdown-end">
<div role="button" tabindex="-1" class="text-white btn btn-ghost !min-h-8 h-1 px-3">Contact Me</div> <div role="button" tabindex="-1" class="text-white btn btn-ghost !min-h-8 h-1 px-3">Contact Me</div>

View file

@ -0,0 +1,14 @@
---
import Layout from "../layouts/Layout.astro";
import Text from "../components/Text.astro";
import Heading from "../components/Heading.astro";
import A from "../components/A.astro";
---
<Layout>
<Text class="pt-12">
<Heading>Contributing</Heading>
Just use <A href="mailto:git@davidon.top">mail</A> to report issues and <A nt="true" href="https://git-send-email.io/">git send-email</A> --to=git@davidon.top to submit patches for now.<br><br>
Im developing an <A nt="true" href="https://git.davidon.top/iomail.git">issue and mailing list management</A> software specificly for this because i couldn't find one i liked. Once thats ready ill switch to it insted of just private mail.
</Text>
</Layout>