2022-08-07 19:05:50 +05:30
|
|
|
<script lang="ts">
|
2023-01-01 17:57:24 +05:30
|
|
|
export let url: string = "";
|
2022-08-14 15:28:57 +05:30
|
|
|
let classes: string = "";
|
2022-08-14 19:10:23 +05:30
|
|
|
export { classes as class };
|
2022-08-07 19:05:50 +05:30
|
|
|
</script>
|
|
|
|
|
2022-12-27 20:58:47 +05:30
|
|
|
<a
|
|
|
|
href={url}
|
|
|
|
class="border-none rounded-2 p-2 cursor-pointer font-primary text-secondary decoration-none w-fit text-xl flex items-center {classes}"
|
|
|
|
>
|
2022-08-08 10:50:03 +05:30
|
|
|
<slot />
|
2022-08-07 19:05:50 +05:30
|
|
|
</a>
|
|
|
|
|
|
|
|
<style>
|
2022-08-08 10:50:03 +05:30
|
|
|
.web,
|
2022-08-07 19:05:50 +05:30
|
|
|
.email,
|
|
|
|
.picture,
|
2022-08-24 21:37:30 +05:30
|
|
|
.pgp,
|
|
|
|
.link {
|
2022-12-27 20:58:47 +05:30
|
|
|
@apply bg-alt text-alt-text transition-all duration-250;
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.web:hover,
|
|
|
|
.email:hover,
|
|
|
|
.picture:hover,
|
|
|
|
.pgp:hover {
|
2022-12-27 20:58:47 +05:30
|
|
|
@apply bg-accent text-alt;
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
|
|
|
|
2022-08-08 10:50:03 +05:30
|
|
|
.matrixcolored {
|
2022-12-27 20:58:47 +05:30
|
|
|
@apply bg-alt text-alt-text;
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.discordcolored {
|
2022-12-27 20:58:47 +05:30
|
|
|
@apply bg-[#5865f2] text-white;
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
|
|
|
|
2022-08-11 18:00:23 +05:30
|
|
|
.gitcolored {
|
2022-12-27 20:58:47 +05:30
|
|
|
@apply bg-[#f05032] text-white;
|
2022-09-03 20:55:53 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.githubcolored {
|
2022-12-27 20:58:47 +05:30
|
|
|
@apply bg-alt text-alt-text;
|
2022-08-07 19:05:50 +05:30
|
|
|
}
|
2023-01-03 00:42:06 +05:30
|
|
|
|
|
|
|
.torcolored {
|
|
|
|
@apply bg-[#7d4698] text-white;
|
|
|
|
}
|
2022-08-12 16:45:39 +05:30
|
|
|
</style>
|