diff --git a/public/template_2/index/opening-pc.png b/public/template_2/index/opening-pc.png new file mode 100644 index 0000000..78ba9e8 Binary files /dev/null and b/public/template_2/index/opening-pc.png differ diff --git a/src/components/template_2/Header.astro b/src/components/template_2/Header.astro index 4e7abaf..85e2b25 100644 --- a/src/components/template_2/Header.astro +++ b/src/components/template_2/Header.astro @@ -1,8 +1,10 @@ --- -import { getConfig } from "../../../utils/config"; +import { getConfig, getExtra } from "../../../utils/config"; import { Image } from 'astro:assets'; -import { TP2_COLUMN_ABOUT_US, TP2_COLUMN_ABOUT_US_URL, TP2_COLUMN_CONTACT_US, TP2_COLUMN_CONTACT_US_URL, TP2_COLUMN_NEWS, TP2_COLUMN_NEWS_URL } from "../../../utils/const"; +import { TP2_COLUMN_ABOUT_US, TP2_COLUMN_ABOUT_US_URL, TP2_COLUMN_CONTACT_US, TP2_COLUMN_CONTACT_US_URL, TP2_COLUMN_NEWS, TP2_COLUMN_NEWS_URL, TP2_COLUMN_DOWNLOAD, TP2_COLUMN_DOWNLOAD_URL } from "../../../utils/const"; +import { extractDirectives } from "astro/runtime/server/hydration.js"; const config = getConfig(Astro) +const extra = getExtra(config.app_extra_tag) ---