diff --git a/app/app.config.ts b/app/app.config.ts index 7833cab..0f2447b 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -37,6 +37,40 @@ export default defineAppConfig({ header: 'bg-[#121110] border-[#201e1b]', }, }, + // Exact colors measured on the old site's ::alert boxes (note=info, + // tip=success, warning=warning, caution=danger/error). + callout: { + compoundVariants: [ + { + color: 'info', + class: { + base: 'border-[#002235] bg-[#00131D] text-[#64C7FF]', + icon: 'text-[#64C7FF]', + }, + }, + { + color: 'success', + class: { + base: 'border-[#002817] bg-[#00190F] text-[#3CEEA5]', + icon: 'text-[#3CEEA5]', + }, + }, + { + color: 'warning', + class: { + base: 'border-[#292100] bg-[#1B1500] text-[#FFDC4E]', + icon: 'text-[#FFDC4E]', + }, + }, + { + color: 'error', + class: { + base: 'border-[#340A01] bg-[#1C0301] text-[#FFA692]', + icon: 'text-[#FFA692]', + }, + }, + ], + }, }, header: { slots: { diff --git a/app/components/prose/ProseCaution.vue b/app/components/prose/ProseCaution.vue new file mode 100644 index 0000000..186ccd5 --- /dev/null +++ b/app/components/prose/ProseCaution.vue @@ -0,0 +1,22 @@ + + + diff --git a/app/components/prose/ProseNote.vue b/app/components/prose/ProseNote.vue new file mode 100644 index 0000000..137d6bc --- /dev/null +++ b/app/components/prose/ProseNote.vue @@ -0,0 +1,21 @@ + + + diff --git a/app/components/prose/ProseTip.vue b/app/components/prose/ProseTip.vue new file mode 100644 index 0000000..edb080c --- /dev/null +++ b/app/components/prose/ProseTip.vue @@ -0,0 +1,21 @@ + + + diff --git a/app/components/prose/ProseWarning.vue b/app/components/prose/ProseWarning.vue new file mode 100644 index 0000000..196ac71 --- /dev/null +++ b/app/components/prose/ProseWarning.vue @@ -0,0 +1,22 @@ + + + diff --git a/content/en/2.general/1.networking/1.nat.md b/content/en/2.general/1.networking/1.nat.md index 25b3c95..4b72e0a 100644 --- a/content/en/2.general/1.networking/1.nat.md +++ b/content/en/2.general/1.networking/1.nat.md @@ -5,9 +5,8 @@ description: Learn how NAT, port forwarding, and DHCP work on a home router. Con :ellipsis{left=0px width=40rem top=10rem blur=140px zIndex=60} -# Router and NAT -::note +::note{icon=""} 🎯 __Goals:__ - Understand how port forwarding works