|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="{{ with .Site.Params.isoCode | default (.Site.LanguageCode | default "en") }}{{- . -}}{{ end }}" dir="{{ if .Site.Params.rtl | default false }}rtl{{ else }}ltr{{ end }}" |
| 3 | + class="scroll-smooth" |
| 4 | + data-default-appearance="{{ .Site.Params.defaultAppearance | default "light" }}" |
| 5 | + data-auto-appearance="{{ .Site.Params.autoSwitchAppearance | default "true" }}"> |
| 6 | + |
| 7 | + {{- partial "head.html" . -}} |
| 8 | + |
| 9 | + <body class="bg-neutral text-neutral-900 dark:bg-neutral-800 dark:text-neutral"> |
| 10 | + |
| 11 | + <!-- Layout container to center all content --> |
| 12 | + <div class="flex flex-col min-h-screen w-full max-w-7xl mx-auto px-6 sm:px-14 md:px-24 lg:px-32 scrollbar-thin scrollbar-track-neutral-200 scrollbar-thumb-neutral-400 dark:scrollbar-track-neutral-800 dark:scrollbar-thumb-neutral-600"> |
| 13 | + |
| 14 | + <div id="the-top" class="absolute flex self-center"> |
| 15 | + <a class="px-3 py-1 text-sm -translate-y-8 rounded-b-lg bg-primary-200 focus:translate-y-0 dark:bg-neutral-600" |
| 16 | + href="#main-content"> |
| 17 | + <span class="font-bold text-primary-600 ltr:pr-2 rtl:pl-2 dark:text-primary-400">↓</span>{{ i18n "nav.skip_to_main" }} |
| 18 | + </a> |
| 19 | + </div> |
| 20 | + |
| 21 | + {{ $header := print "partials/header/" .Site.Params.header.layout ".html" }} |
| 22 | + {{ if templates.Exists $header }} |
| 23 | + {{ partial $header . }} |
| 24 | + {{ else }} |
| 25 | + {{ partial "partials/header/basic.html" . }} |
| 26 | + {{ end }} |
| 27 | + |
| 28 | + <div class="relative flex flex-col grow"> |
| 29 | + <main id="main-content" class="grow pb-[120px]"> |
| 30 | + {{ block "main" . }}{{ end }} |
| 31 | + {{ if and (.Site.Params.footer.showScrollToTop | default true) (gt .WordCount 1) }} |
| 32 | + {{- partial "scroll-to-top.html" . -}} |
| 33 | + {{ end }} |
| 34 | + </main> |
| 35 | + |
| 36 | + {{- partial "footer.html" . -}} |
| 37 | + |
| 38 | + {{ if .Site.Params.enableSearch | default false }} |
| 39 | + {{- partial "search.html" . -}} |
| 40 | + {{ end }} |
| 41 | + </div> |
| 42 | + |
| 43 | + </div> <!-- End container --> |
| 44 | + |
| 45 | + <script |
| 46 | + async |
| 47 | + src="https://widget.kapa.ai/kapa-widget.bundle.js" |
| 48 | + data-website-id="10bca275-31d7-43dc-a7d7-160913512ad4" |
| 49 | + data-project-name="Developer Portal" |
| 50 | + data-project-color="#38393a" |
| 51 | + data-project-logo="{{ "logo-ai.webp" | relURL }}" |
| 52 | + data-button-image="{{ "logo-ai-new.webp" | relURL }}" |
| 53 | + data-modal-disclaimer="This custom large language model (LLM), trained on official documentation from espressif.com, is designed to provide technical support and answers related to Espressif’s products and services. Give it a try, share your thoughts, and let us know your feedback—we truly appreciate it! |
| 54 | +\n\n*Note*: AI-generated information may be incomplete or inaccurate. Always verify critical information with official sources." |
| 55 | + data-modal-example-questions="How do I put an ESP32-DevkitC into download mode?" |
| 56 | + data-button-text-font-size="0px" |
| 57 | + data-button-border-radius="50%" |
| 58 | + data-button-bg-color="#38393a" |
| 59 | + data-button-border="#38393a" |
| 60 | + data-button-height="52px" |
| 61 | + data-button-width="52px" |
| 62 | + data-button-animation-enabled="false" |
| 63 | + data-button-image-height="100%" |
| 64 | + data-button-image-width="100%" |
| 65 | + data-button-padding="0" |
| 66 | + data-button-hover-animation-enabled="false" |
| 67 | + data-button-position-right="16px" |
| 68 | + data-button-position-bottom="96px" |
| 69 | + data-button-box-shadow="0px 6px 12px 1px rgba(0,0,0,0.16)" |
| 70 | + data-bot-protection-mechanism="hcaptcha" |
| 71 | + ></script> |
| 72 | + </body> |
| 73 | +</html> |
0 commit comments