create a JulienCalixte's logo

This commit is contained in:
Julien Calixte
2022-03-05 18:15:48 +01:00
parent 10d8be5f53
commit 45a575aa73
4 changed files with 36 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
<script setup lang="ts">
const fontSize = {
small: "12px",
normal: "inherit",
big: "44px",
};
interface Props {
size?: keyof typeof fontSize;
}
const props = withDefaults(defineProps<Props>(), { size: "normal" });
const style = `font-size: ${fontSize[props.size]}`;
</script>
<template>
<span class="julien-calixte" :style="style">Julien Calixte</span>
</template>
<style scoped lang="scss">
@import url("https://fonts.googleapis.com/css2?family=Meow+Script&display=swap");
.julien-calixte {
font-family: "Meow Script", cursive;
}
</style>