diff --git a/apps/app/components/atoms/AppIconButton.vue b/apps/app/components/atoms/AppIconButton.vue index e63a459..70b8e79 100644 --- a/apps/app/components/atoms/AppIconButton.vue +++ b/apps/app/components/atoms/AppIconButton.vue @@ -22,6 +22,9 @@ const apps: { [key: string]: { url: string } } = { solidity: { url: "https://soliditylang.org/?utm_source=menthor.io", }, + html: { + url: "https://developer.mozilla.org/pt-BR/docs/Web/HTML?utm_source=menthor.io", + }, }; diff --git a/apps/app/components/content/ProseA.vue b/apps/app/components/content/ProseA.vue index 8ef422e..e0b8b1c 100644 --- a/apps/app/components/content/ProseA.vue +++ b/apps/app/components/content/ProseA.vue @@ -13,7 +13,12 @@ defineProps({ diff --git a/apps/app/components/content/ProseUl.vue b/apps/app/components/content/ProseUl.vue new file mode 100644 index 0000000..a0263cd --- /dev/null +++ b/apps/app/components/content/ProseUl.vue @@ -0,0 +1,5 @@ + diff --git a/apps/app/public/app/logos/html.svg b/apps/app/public/app/logos/html.svg new file mode 100644 index 0000000..395458c --- /dev/null +++ b/apps/app/public/app/logos/html.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/apps/app/stores/components/defaultAside.ts b/apps/app/stores/components/defaultAside.ts index 3329633..27d42c5 100644 --- a/apps/app/stores/components/defaultAside.ts +++ b/apps/app/stores/components/defaultAside.ts @@ -1,11 +1,11 @@ import { defineStore } from "pinia"; -export type RootState = { +export type DefaultAside = { opened: boolean; }; export const useDefaultAsideStore = defineStore("defaultAside", { - state: (): RootState => ({ + state: (): DefaultAside => ({ opened: false, }), }); diff --git a/apps/app/stores/components/enrollmentModal.ts b/apps/app/stores/components/enrollmentModal.ts index 4a5d9bc..ffe26a9 100644 --- a/apps/app/stores/components/enrollmentModal.ts +++ b/apps/app/stores/components/enrollmentModal.ts @@ -1,11 +1,11 @@ import { defineStore } from "pinia"; -export type RootState = { +export type Enrollment = { opened: boolean; }; export const useEnrollmentModalStore = defineStore("enrollmentModal", { - state: (): RootState => ({ + state: (): Enrollment => ({ opened: false, }), }); diff --git a/packages/assets/styles/content.css b/packages/assets/styles/content.css index 9150e13..879f403 100644 --- a/packages/assets/styles/content.css +++ b/packages/assets/styles/content.css @@ -24,14 +24,18 @@ @apply text-zinc-800 mb-4; } - #nuxt_content p a { - @apply font-bold border-b border-pink-500 hover:border-b-[2px]; - } - #nuxt_content code .line { @apply px-4; } + #nuxt_content a code { + @apply !border-dashed border-2 hover:border-pink-500; + } + + #nuxt_content a a { + @apply !border-none; + } + #nuxt_content code .line.highlight { @apply pl-3 pr-4 border-l-[2px] border-zinc-950 bg-zinc-50; }