diff --git a/css/admonition.css b/css/admonition.css deleted file mode 100644 index 3e7b251..0000000 --- a/css/admonition.css +++ /dev/null @@ -1,81 +0,0 @@ -:root { - --md-admonition-icon--note: url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--abstract: url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--info: url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--tip: url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--success: url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--question: url("data:image/svg+xml;charset=utf-8,"); - --md-admonition-icon--warning: url("data:image/svg+xml;charset=utf-8,"); -} - -.md-typeset .admonition { - display: flex; - border-radius: 0.25rem; - margin: 1rem 0; - padding: 1rem; - position: relative; -} - -.md-typeset .admonition.note { - background-color: var(--md-admonition-background-color--note, #f9fafb); - border: 1px solid var(--md-admonition-border-color--note, #e9ecef); -} - -.md-typeset .admonition.abstract { - background-color: var(--md-admonition-background-color--abstract, #f9f9f9); - border: 1px solid var(--md-admonition-border-color--abstract, #e1e4e8); -} - -.md-typeset .admonition.info { - background-color: var(--md-admonition-background-color--info, #e7f1fb); - border: 1px solid var(--md-admonition-border-color--info, #addbee); -} - -.md-typeset .admonition.tip { - background-color: var(--md-admonition-background-color--tip, #e5f8ec); - border: 1px solid var(--md-admonition-border-color--tip, #a3e1b1); -} - -.md-typeset .admonition.success { - background-color: var(--md-admonition-background-color--success, #d4edda); - border: 1px solid var(--md-admonition-border-color--success, #c3e6cb); -} - -.md-typeset .admonition.question { - background-color: var(--md-admonition-background-color--question, #fefefe); - border: 1px solid var(--md-admonition-border-color--question, #dadada); -} - -.md-typeset .admonition.warning { - background-color: var(--md-admonition-background-color--warning, #fff3cd); - border: 1px solid var(--md-admonition-border-color--warning, #ffeeba); -} - -.md-typeset .admonition-title { - font-size: 1rem; - font-weight: 700; - margin: 0; -} - -.md-typeset .admonition-content { - margin: 0; - padding: 0 1rem; - flex: 1; -} - -.md-typeset .admonition-icon { - display: flex; - align-items: center; - justify-content: center; - width: 2.5rem; - height: 2.5rem; - position: absolute; - top: 0; - left: 0; -} - -.md-typeset .admonition-icon > svg { - fill: var(--md-admonition-icon-fill, #212529); - width: 1.5rem; - height: 1.5rem; -} diff --git a/css/index.css b/css/index.css index c9da336..a5decac 100644 --- a/css/index.css +++ b/css/index.css @@ -6,7 +6,6 @@ @import "tailwindcss/base"; @import "layout.css"; @import "tailwindcss/components"; -@import "admonition.css"; @import "tailwindcss/utilities"; /* Google Fonts */ diff --git a/static/images/0.svg b/static/images/0.svg deleted file mode 100644 index 2c91d0b..0000000 --- a/static/images/0.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/images/1.svg b/static/images/1.svg deleted file mode 100644 index 492416d..0000000 --- a/static/images/1.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/static/images/2.svg b/static/images/2.svg deleted file mode 100644 index d05116b..0000000 --- a/static/images/2.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/images/3.svg b/static/images/3.svg deleted file mode 100644 index fcb321e..0000000 --- a/static/images/3.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/images/cyberwall.png b/static/images/cyberwall.png deleted file mode 100644 index d9c339a..0000000 Binary files a/static/images/cyberwall.png and /dev/null differ diff --git a/static/images/favicon.png b/static/images/favicon.png index e77322a..40b4c0b 100644 Binary files a/static/images/favicon.png and b/static/images/favicon.png differ diff --git a/static/images/revolutionizing_data_center.png b/static/images/revolutionizing_data_center.png deleted file mode 100644 index 18aed69..0000000 Binary files a/static/images/revolutionizing_data_center.png and /dev/null differ diff --git a/static/images/tf9_depin_hub.png b/static/images/tf9_depin_hub.png deleted file mode 100644 index 72efdbe..0000000 Binary files a/static/images/tf9_depin_hub.png and /dev/null differ diff --git a/static/images/tf9_dunia_yetu.png b/static/images/tf9_dunia_yetu.png deleted file mode 100644 index ca93b9b..0000000 Binary files a/static/images/tf9_dunia_yetu.png and /dev/null differ diff --git a/static/images/usecases_cyber.png b/static/images/usecases_cyber.png deleted file mode 100644 index 9d0b7e0..0000000 Binary files a/static/images/usecases_cyber.png and /dev/null differ diff --git a/static/images/usecases_digital_zone.png b/static/images/usecases_digital_zone.png deleted file mode 100644 index 5df98d3..0000000 Binary files a/static/images/usecases_digital_zone.png and /dev/null differ diff --git a/static/images/usecases_sovereign.png b/static/images/usecases_sovereign.png deleted file mode 100644 index 90aa9fc..0000000 Binary files a/static/images/usecases_sovereign.png and /dev/null differ diff --git a/static/images/usecases_tfgrid.png b/static/images/usecases_tfgrid.png deleted file mode 100644 index fae8ffd..0000000 Binary files a/static/images/usecases_tfgrid.png and /dev/null differ diff --git a/static/images/usecases_tiers.png b/static/images/usecases_tiers.png deleted file mode 100644 index bebbb75..0000000 Binary files a/static/images/usecases_tiers.png and /dev/null differ diff --git a/templates/partials/header.html b/templates/partials/header.html index d627eae..f6fc0e4 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -3,139 +3,165 @@ Read the documentation to get started: https://tailwindui.com/documentation --> +{%- set section = get_section(path="header/_index.md") %} +{% set header_items = section.content | safe | split(pat="
  • ") %} - -{% set section = get_section(path="_index.md") %} -{% set subsections_str = section.subsections | join(sep=" ") %} -{% set logo_path = get_url(path=section.extra.logo_path | default(value='')) %} - -{% if "header/_index.md" in subsections_str %} - {% set section = get_section(path="header/_index.md") %} - {% set header_items = section.content | safe | split(pat="
  • ") %} - {% include "partials/header_custom.html" %} -{% else %} -
    - {% set header_class = config.extra.header_class | default(value='') %} -
    -
    -
    -
    - - Logo - -
    -
    - - -
    - -
    -
    - {% for subsection in section.subsections %} - {% if subsection == "footer/_index.md" %} {% continue %} {% endif %} - {% set submenu_id = subsection ~ "-menu" | slugify %} - - - - {% endfor %} - - - -
  • ") %} + {% set header_label = header_arr[0] %} + {% if ' + {{link_label}} + + {% else %} + + {{link_label}} + + {% endif %} + {% else %} +
    + {% set button_id = header_label ~ "-menu-btn" | slugify %} + +
    + {% endif %} +{% endif %} +{% endfor %} + + + + + + + - - - - + +{% for header_item in header_items %} +{% if not loop.first %} + {% set header_arr = header_item | split(pat="") %} + {% set header_label = header_arr[0] %} + {% set header_menu = header_arr[1] %} + {% set menu_id = header_label ~ "-menu" | slugify %} + + + + {% endif %} +{% endfor %} + + + + + + + diff --git a/templates/partials/header_custom.html b/templates/partials/header_custom.html deleted file mode 100644 index f6fc0e4..0000000 --- a/templates/partials/header_custom.html +++ /dev/null @@ -1,167 +0,0 @@ - - -{%- set section = get_section(path="header/_index.md") %} -{% set header_items = section.content | safe | split(pat="
  • ") %} - -
    -
    -
    -
    -
    - - Logo - -
    -
    - - -
    -
  • ") %} - {% set header_label = header_arr[0] %} - {% if ' - {{link_label}} - - {% else %} - - {{link_label}} - - {% endif %} - {% else %} -
    - {% set button_id = header_label ~ "-menu-btn" | slugify %} - -
    - {% endif %} -{% endif %} -{% endfor %} - - - - - - - - - - -{% for header_item in header_items %} -{% if not loop.first %} - {% set header_arr = header_item | split(pat="") %} - {% set header_label = header_arr[0] %} - {% set header_menu = header_arr[1] %} - {% set menu_id = header_label ~ "-menu" | slugify %} - - - - -{% endif %} -{% endfor %} - - - - - - - - - diff --git a/templates/shortcodes/admonition.html b/templates/shortcodes/admonition.html deleted file mode 100644 index 0fff67e..0000000 --- a/templates/shortcodes/admonition.html +++ /dev/null @@ -1,65 +0,0 @@ - - -{% set classes = "" %} - -{% set first_line = body | split(pat="\n") | first %} -{% set parsed_first_line = first_line | split(pat=" ") %} -{% set admonition = parsed_first_line | first %} -{% set style = "" %} - -{% set content = body | split(pat="\n") | slice(start=2) | join(sep="\n") %} - - -{% if admonition == "!!!" %} - {% set classes = "admonition" %} -{% elif admonition == "???" %} - {% set style = "collapsible closed" %} - {% set classes = "admonition" %} -{% elif admonition == "???+" %} - {% set style = "collapsible open" %} - {% set classes = "admonition" %} -{% else %} - {% set classes = "hidden" %} -{% endif %} - -{% if "inline end" in first_line %} - {% set classes = classes ~ " inline end" %} - {% set parsed_first_line = parsed_first_line | slice(end=-2)%} -{% elif "inline" in first_line %} - {% set classes = classes ~ " inline" %} - {% set parsed_first_line = parsed_first_line | slice(end=-1)%} -{% endif %} - -{% if classes != "hidden"%} - {% if parsed_first_line[1] %} - {% set classes = classes ~ " " ~ parsed_first_line[1] %} - {% endif %} - {% if parsed_first_line[2] %} - {% if not parsed_first_line[2] == '""' %} - {% set title = parsed_first_line | slice(start=2) | join(sep=" ") %} - {% endif %} - {% else %} - {% if parsed_first_line[1] %} - {% set title = parsed_first_line[1] | title %} - {% endif %} - {% endif %} -{% endif %} - - -{% if "collapsible" in style %} -
    - {% if title %} - {{ title | trim_start_matches(pat='"') | trim_end_matches(pat='"') }} -

    {{ content }}

    - {% endif %} -
    -{% else %} -
    - {% if title %} -
    {{ title | trim_start_matches(pat='"') | trim_end_matches(pat='"') }}
    - {% endif %} -

    {{ content }}

    -
    -{% endif %}