From c36fb8da50668b3c6ec10d121d34f35cc22c0877 Mon Sep 17 00:00:00 2001 From: Freddy Boulton Date: Mon, 24 Feb 2025 15:21:13 -0500 Subject: [PATCH] logos (#68) Co-authored-by: Freddy Boulton --- docs/gradio-logo-with-title.svg | 20 +++++++++ docs/gradio-logo.svg | 1 + docs/hf-logo-with-title.svg | 9 ++++ docs/hf-logo.svg | 8 ++++ docs/index.md | 9 +++- mkdocs.yml | 1 + overrides/partials/header.html | 78 +++++++++++++++++++++++++++++++++ 7 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 docs/gradio-logo-with-title.svg create mode 100644 docs/gradio-logo.svg create mode 100644 docs/hf-logo-with-title.svg create mode 100644 docs/hf-logo.svg create mode 100644 overrides/partials/header.html diff --git a/docs/gradio-logo-with-title.svg b/docs/gradio-logo-with-title.svg new file mode 100644 index 0000000..ff8df41 --- /dev/null +++ b/docs/gradio-logo-with-title.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/docs/gradio-logo.svg b/docs/gradio-logo.svg new file mode 100644 index 0000000..7f57eba --- /dev/null +++ b/docs/gradio-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/hf-logo-with-title.svg b/docs/hf-logo-with-title.svg new file mode 100644 index 0000000..7e25408 --- /dev/null +++ b/docs/hf-logo-with-title.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/docs/hf-logo.svg b/docs/hf-logo.svg new file mode 100644 index 0000000..ab959d1 --- /dev/null +++ b/docs/hf-logo.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/docs/index.md b/docs/index.md index e412cc9..8a490bd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -209,4 +209,11 @@ Learn more about the [Stream](userguide/streams) in the user guide. ## Examples -See the [cookbook](/cookbook). \ No newline at end of file +See the [cookbook](/cookbook). + +Follow and join or [organization](https://huggingface.co/fastrtc) on Hugging Face! + +
+ + +
diff --git a/mkdocs.yml b/mkdocs.yml index 39c14a3..f46d377 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,7 @@ repo_name: fastrtc repo_url: https://github.com/freddyaboulton/gradio-webrtc theme: name: material + custom_dir: overrides palette: scheme: fastrtc-dark features: diff --git a/overrides/partials/header.html b/overrides/partials/header.html new file mode 100644 index 0000000..edf6d1b --- /dev/null +++ b/overrides/partials/header.html @@ -0,0 +1,78 @@ +{#- +This file was automatically generated - do not edit +-#} +{% set class = "md-header" %} +{% if "navigation.tabs.sticky" in features %} +{% set class = class ~ " md-header--shadow md-header--lifted" %} +{% elif "navigation.tabs" not in features %} +{% set class = class ~ " md-header--shadow" %} +{% endif %} +
+ + {% if "navigation.tabs.sticky" in features %} + {% if "navigation.tabs" in features %} + {% include "partials/tabs.html" %} + {% endif %} + {% endif %} +
\ No newline at end of file