feat: add shortcodes to build Hextra home page (#90)

* feat: add feature grid and card shortcodes

* feat: add markdown content to hextra home

* chore: add button for hextra home

* chore: add heading and subtitle

* chore: finish moving hextra home to shortcodes

* chore: regenerate css

* chore: improve hextra home layout shortcodes

* chore: update css

* chore: decrease button size
This commit is contained in:
Xin
2023-09-26 08:15:31 +01:00
committed by GitHub
parent 01f7e3a425
commit 3c4ede96df
11 changed files with 181 additions and 132 deletions

View File

@ -40,7 +40,6 @@
"path",
"pre",
"script",
"section",
"span",
"strong",
"style",
@ -94,7 +93,6 @@
"bg-black/[.05]",
"bg-blue-100",
"bg-clip-text",
"bg-gradient-to-b",
"bg-gradient-to-r",
"bg-gray-100",
"bg-neutral-50",
@ -228,6 +226,7 @@
"data-[state=selected]:text-primary-600",
"decoration-from-font",
"duration-200",
"ease-in",
"ease-in-out",
"filename",
"first:mt-0",
@ -246,7 +245,6 @@
"footnote-backref",
"footnote-ref",
"footnotes",
"from-gray-800",
"from-gray-900",
"gap-1",
"gap-2",
@ -274,6 +272,7 @@
"hamburger-menu",
"hextra-card",
"hextra-cards",
"hextra-feature-card",
"hextra-filetree",
"hextra-filetree-folder",
"hextra-footer",
@ -320,6 +319,7 @@
"leading-5",
"leading-6",
"leading-7",
"leading-none",
"leading-tight",
"left-[24px]",
"left-[36px]",
@ -367,6 +367,7 @@
"mb-16",
"mb-2",
"mb-4",
"mb-6",
"mb-8",
"md:aspect-[1.1/1]",
"md:h-[calc(100vh-var(--navbar-height)-var(--menu-height))]",
@ -439,6 +440,7 @@
"pl-[max(env(safe-area-inset-left),1.5rem)]",
"placeholder:text-gray-500",
"pointer-events-none",
"pr-2",
"pr-4",
"pr-[calc(env(safe-area-inset-right)-1.5rem)]",
"pr-[max(env(safe-area-inset-left),1.5rem)]",
@ -513,7 +515,6 @@
"sm:flex",
"sm:grid-cols-2",
"sm:items-start",
"sm:px-4",
"sm:text-xl",
"sm:w-[110%]",
"sr-only",