add new section template (#15271)

…links.### Description
<!-- Describe your changes. -->
New section + many small changes


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->

---------

Co-authored-by: brev <46505951+cassiebreviu@users.noreply.github.com>
Co-authored-by: MaanavD <maanavdalal@microsoft.com>
This commit is contained in:
Maanav Dalal 2023-04-21 05:40:28 -07:00 committed by GitHub
parent 39d89d811f
commit e3c2c804b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1056 additions and 694 deletions

File diff suppressed because it is too large Load diff

View file

@ -6,34 +6,34 @@
<h3 class="footer-heading">Get Started</h3>
<ul class="list-unstyled text-small">
<li class="mb-2">
<a target="_blank" href="./index.html#getStartedTable">
<span class="link-content">Install</span><span class="link-arrow fa fa-angle-right"></span></a>
<a href="./index.html#getStartedTable">
<span class="link-content">Install</span><span class="link-arrow fa fa-angle-right fa-xs"></span></a>
</li>
<li class="mb-2">
<a target="_blank" href="./pytorch">
<span class="link-content">PyTorch</span><span class="link-arrow fa fa-angle-right"></span></a>
<a href="/pytorch">
<span class="link-content">PyTorch</span><span class="link-arrow fa fa-angle-right fa-xs"></span></a>
</li>
</ul>
</div>
<div class="col-12 col-sm-6 col-md-3 pr-xl-5 pr-lg-4 mb-md-0 mb-4">
<h3 class="footer-heading">Contribute</h3>
<a class="mr-xl-5" target="_blank" href="https://github.com/microsoft/onnxruntime">
<span class="link-content">Join us on GitHub</span><span class="link-arrow fa fa-angle-right"></span></a>
<span class="link-content">Join us on GitHub</span><span class="link-arrow fa fa-angle-right fa-xs"></span></a>
</div>
<div class="col-12 col-sm-6 col-md-3 pr-xl-5 pr-lg-4 mb-md-0 mb-4">
<h3 class="footer-heading">Follow Us</h3>
<ul class="list-unstyled text-small">
<li class="mb-2">
<a target="_blank" href="https://twitter.com/onnxruntime">
<span class="link-content">Twitter</span><span class="link-arrow fa fa-angle-right"></span></a>
<span class="link-content">Twitter</span><span class="link-arrow fa fa-angle-right fa-xs"></span></a>
</li>
<li class="mb-2">
<a target="_blank" href="https://www.linkedin.com/company/onnxruntime">
<span class="link-content">LinkedIn</span><span class="link-arrow fa fa-angle-right"></span></a>
<span class="link-content">LinkedIn</span><span class="link-arrow fa fa-angle-right fa-xs"></span></a>
</li>
<li class="mb-2">
<a target="_blank" href="https://www.youtube.com/onnxruntime">
<span class="link-content">YouTube</span><span class="link-arrow fa fa-angle-right"></span></a>
<span class="link-content">YouTube</span><span class="link-arrow fa fa-angle-right fa-xs"></span></a>
</li>
</ul>
</div>
@ -45,12 +45,12 @@
<span class="link-content">Blogs</span><span class="link-arrow fa fa-angle-right"></span></a>
</li>
<li class="mb-2">
<a target="_blank" href="https://www.onnxruntime.ai/docs/tutorials/">
<span class="link-content">Tutorials</span><span class="link-arrow fa fa-angle-right"></span></a>
<a href="docs/tutorials/">
<span class="link-content">Tutorials</span><span class="link-arrow fa fa-angle-right fa-xs"></span></a>
</li>
<li class="mb-2">
<a target="_blank" href="https://www.onnxruntime.ai/docs/api/">
<span class="link-content"><abbr title="Application Program Interface">APIs</abbr></span><span class="link-arrow fa fa-angle-right"></span></a>
<a href="docs/api/">
<span class="link-content"><abbr title="Application Program Interface">APIs</abbr></span><span class="link-arrow fa fa-angle-right fa-xs"></span></a>
</li>
</ul>
</div>

1006
index.html

File diff suppressed because it is too large Load diff

7
js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -235,4 +235,21 @@ function carouselNormalization() {
this.removeClass("open")
}.bind(this));
}
})(jQuery);
})(jQuery);
let copyText = (e) => {
// console.log(e.target.previousSibling.innerHTML.replace( /(<([^>]+)>)/ig, ''))
text = e.target.previousSibling.innerText;
navigator.clipboard.writeText(text);
$(e.target).popover({
content: "Copied!",
placement: "Left",
trigger: "manual"
});
$(e.target).popover("show");
// Hide the popover after 2 seconds
setTimeout(() => {
$(e.target).popover("hide");
}, 1500);
}