Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed accessibility issues, changed word animation. #20513

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/routes/components/hero.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import FaRegClipboard from 'svelte-icons/fa/FaRegClipboard.svelte';
import OnnxLight from '../../images/ONNX-Light.svelte';
import OnnxDark from '../../images/ONNX-Dark.svelte';
import { fade, fly, blur } from 'svelte/transition';
import { quintOut } from 'svelte/easing';
import { fade } from 'svelte/transition';
import { quartInOut } from 'svelte/easing';

let words = [
'Cross-Platform',
Expand Down Expand Up @@ -86,7 +86,7 @@
{#key activeWord}
<span
class="lg:text-5xl text-4xl"
in:fly={{ delay: 0, duration: 300, x: 200, y: 0, opacity: 1, easing: quintOut }}
in:fade={{ delay: 0, duration: 1000, easing: quartInOut }}
>
{activeWord}
</span>
Expand Down
8 changes: 4 additions & 4 deletions src/routes/components/training-and-inference.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="bg-slate-300 p-4 rounded">
<div class="grid xl:grid-cols-4 place-items-center">
<div class="col-span-3 text-black">
<h1 class="text-2xl pb-2">Web Browsers</h1>
<h3 class="text-2xl pb-2">Web Browsers</h3>
<p class="text-lg">
Run PyTorch and other ML models in the web browser with ONNX Runtime Web.
</p>
Expand All @@ -34,7 +34,7 @@
<div class="bg-slate-300 p-4 rounded">
<div class="grid md:grid-cols-4 place-items-center">
<div class="col-span-3 text-black">
<h1 class="text-2xl pb-2">Mobile Devices</h1>
<h3 class="text-2xl pb-2">Mobile Devices</h3>
<p class="text-lg">
Infuse your Android and iOS mobile apps with AI using ONNX Runtime Mobile.
</p>
Expand All @@ -58,7 +58,7 @@
<div class="bg-slate-300 p-4 rounded">
<div class="grid xl:grid-cols-4 place-items-center">
<div class="col-span-3 text-black">
<h1 class="text-2xl pb-2">Large Model Training</h1>
<h3 class="text-2xl pb-2">Large Model Training</h3>
<p class="text-lg">
Accelerate training of popular models, including <a
href="https://huggingface.co/"
Expand All @@ -78,7 +78,7 @@
<div class="bg-slate-300 p-4 rounded">
<div class="grid md:grid-cols-4 place-items-center">
<div class="col-span-3 text-black">
<h1 class="text-2xl pb-2">On-Device Training</h1>
<h3 class="text-2xl pb-2">On-Device Training</h3>
<p class="text-lg">
On-device training with ONNX Runtime lets developers take an inference model and train
it locally to deliver a more personalized and privacy-respecting experience for
Expand Down
Loading