From 747198aa1726964e20bf8d826c77a9d59b4eb072 Mon Sep 17 00:00:00 2001 From: Ali Shafiyev <110842696+Ali-Shafiyev@users.noreply.github.com> Date: Sat, 15 Jul 2023 11:38:52 +0400 Subject: [PATCH] Add files via upload --- docusourus_meta/about.htm | 29 +++++++++++++++++++++++ docusourus_meta/contact.htm | 29 +++++++++++++++++++++++ docusourus_meta/docusourus.js | 11 +++++++++ docusourus_meta/index.html | 28 ++++++++++++++++++++++ docusourus_meta/style.css | 44 +++++++++++++++++++++++++++++++++++ 5 files changed, 141 insertions(+) create mode 100644 docusourus_meta/about.htm create mode 100644 docusourus_meta/contact.htm create mode 100644 docusourus_meta/docusourus.js create mode 100644 docusourus_meta/index.html create mode 100644 docusourus_meta/style.css diff --git a/docusourus_meta/about.htm b/docusourus_meta/about.htm new file mode 100644 index 000000000000..dbff292f64c5 --- /dev/null +++ b/docusourus_meta/about.htm @@ -0,0 +1,29 @@ + + + + + + + About - My Docusaurus Project + + +
+ +
+ +
+
+

About

+

This is the about page of the Docusaurus project.

+
+
+ + + + diff --git a/docusourus_meta/contact.htm b/docusourus_meta/contact.htm new file mode 100644 index 000000000000..ec67469c4542 --- /dev/null +++ b/docusourus_meta/contact.htm @@ -0,0 +1,29 @@ + + + + + + + Contact - My Docusaurus Project + + +
+ +
+ +
+
+

Contact

+

Contact us for any inquiries or feedback.

+
+
+ + + + diff --git a/docusourus_meta/docusourus.js b/docusourus_meta/docusourus.js new file mode 100644 index 000000000000..e9287438ccba --- /dev/null +++ b/docusourus_meta/docusourus.js @@ -0,0 +1,11 @@ +// Add some interactivity + +// Example: Changing the page title dynamically +const currentPage = window.location.pathname.split("/").pop(); +document.title = currentPage.charAt(0).toUpperCase() + currentPage.slice(1) + " - My Docusaurus Project"; + +// Example: Adding active class to the current page link in the navigation +const currentLink = document.querySelector(`nav ul li a[href="${currentPage}"]`); +if (currentLink) { + currentLink.classList.add("active"); +} diff --git a/docusourus_meta/index.html b/docusourus_meta/index.html new file mode 100644 index 000000000000..bbd9c273240e --- /dev/null +++ b/docusourus_meta/index.html @@ -0,0 +1,28 @@ + + + + + + + My Docusaurus Project + + +
+ +
+ +
+
+

Welcome to My Docusaurus Project

+
+
+ + + + diff --git a/docusourus_meta/style.css b/docusourus_meta/style.css new file mode 100644 index 000000000000..12539b455632 --- /dev/null +++ b/docusourus_meta/style.css @@ -0,0 +1,44 @@ +body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; + } + + header { + background-color: #f2f2f2; + padding: 20px; + } + + nav ul { + list-style: none; + margin: 0; + padding: 0; + display: flex; + } + + nav ul li { + margin-right: 20px; + } + + nav ul li a { + text-decoration: none; + color: #333; + font-weight: bold; + } + + nav ul li a:hover { + color: #555; + } + + main { + padding: 20px; + } + + section { + margin-bottom: 20px; + } + + h1 { + margin-top: 0; + } + \ No newline at end of file