Merge pull request #612 from svenson95/add-challenge-simple-animations

feat: challenge 46 Simple Animations
This commit is contained in:
Laforge Thomas
2024-02-26 09:58:48 +01:00
committed by GitHub
28 changed files with 426 additions and 18 deletions

View File

@@ -0,0 +1,5 @@
{
"name": "Sven Brodny",
"linkedin": "https://www.linkedin.com/in/sven-brodny-0ba603237/",
"github": "https://github.com/svenson95"
}

View File

@@ -10,6 +10,8 @@ sidebar:
## Information
This is the second of two animation challenges, the goal of this series is to master animations in Angular.
The View Transition API is a brand new API that provides a set of features that allow developers to control and manipulate the transitions and animations between views within an application.
It plays a pivotal role in enhancing the user experience (UX), bringing applications to life with engaging and captivating transitions to guide users through different pages or sections of the app.

View File

@@ -0,0 +1,48 @@
---
title: 🟢 Simple Animations
description: Challenge 46 is about learning Angular's integrated animation API
author: sven-brodny
challengeNumber: 46
command: angular-simple-animations
sidebar:
order: 17
badge: New
---
## Information
This is the first of two animation challenges, the goal of this series is to master animations in Angular.
Well-designed animations can make your application more fun and straightforward to use, but they aren't just cosmetic. Animations can improve your application and user experience in a number of ways:
- Without animations, web page transitions can seem abrupt and jarring.
- Motion greatly enhances the user experience, so animations give users a chance to detect the application's response to their actions.
- Good animations intuitively call the user's attention to where it is needed.
I would recommend you read the [official documentation](https://angular.io/guide/animations). You will learn everything that is necessary to successfully complete the challenge.
Otherwise look at this [working example](https://svenson95.github.io/ng-xmp-animations/) and [git repo](https://github.com/svenson95/ng-xmp-animations) to get inspired.
## Statement
The goal of this challenge is to add animations, they should run when the user arrives on the page or reload the page.
## Constraints
- Don't use any CSS and utilize Angular's integrated `@angular/animations` API.
- Don't trigger the animations with a button like in the examples, rather when the user enter or reload the page.
### Level 1
Add a fading or moving animation for the paragraphs on the left side.
<video controls src="https://github.com/svenson95/angular-challenges/assets/46655156/d3e2c8de-335c-4189-be1b-cc7c0d68e89d">
</video>
### Level 2
Add a stagger animation for the list on the right side.
<video controls src="https://github.com/svenson95/angular-challenges/assets/46655156/7b5e770f-38bb-43a2-9dd1-cc1329cab82f">
</video>

View File

@@ -13,7 +13,7 @@ hero:
icon: right-arrow
variant: primary
- text: Ir al Desafío más reciente
link: /es/challenges/angular/43-signal-input/
link: /es/challenges/angular/46-simple-animations/
icon: rocket
- text: Dar una estrella
link: https://github.com/tomalaforge/angular-challenges
@@ -26,8 +26,8 @@ import MyIcon from '../../../components/MyIcon.astro';
import SubscriptionForm from '../../../components/SubscriptionForm.astro';
<CardGrid>
<Card title="45 Desafíos">
Este repositorio contiene 45 Desafíos relacionados con <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> y <b>Typescript</b>.
<Card title="46 Desafíos">
Este repositorio contiene 46 Desafíos relacionados con <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> y <b>Typescript</b>.
Estos desafíos se resuelven en torno a problemas de la vida real o características específicas para mejorar tus habilidades.
</Card>

View File

@@ -15,7 +15,7 @@ hero:
icon: right-arrow
variant: primary
- text: Aller au dernier Challenge
link: /fr/challenges/angular/44-view-transition/
link: /fr/challenges/angular/46-simple-animations/
icon: rocket
- text: Donne une étoile
link: https://github.com/tomalaforge/angular-challenges
@@ -28,8 +28,8 @@ import MyIcon from '../../../components/MyIcon.astro';
import SubscriptionForm from '../../../components/SubscriptionForm.astro';
<CardGrid>
<Card title="45 Défis">
Ce répertoire rassemble 45 Défis liés à <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> et <b>Typescript</b>. Ces défis portent sur des problèmes réels ou des fonctionnalités spécifiques pour améliorer vos compétences.
<Card title="46 Défis">
Ce répertoire rassemble 46 Défis liés à <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> et <b>Typescript</b>. Ces défis portent sur des problèmes réels ou des fonctionnalités spécifiques pour améliorer vos compétences.
</Card>
<Card title="Subscribe to get notify of latest challenges">

View File

@@ -13,7 +13,7 @@ hero:
icon: right-arrow
variant: primary
- text: Go to the latest Challenge
link: /challenges/angular/45-react-in-angular/
link: /challenges/angular/46-simple-animations/
icon: rocket
- text: Give a star
link: https://github.com/tomalaforge/angular-challenges
@@ -27,8 +27,8 @@ import MyIcon from '../../components/MyIcon.astro';
import SubscriptionForm from '../../components/SubscriptionForm.astro';
<CardGrid>
<Card title="45 Challenges">
This repository gathers 45 Challenges related to <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> and <b>Typescript</b>.
<Card title="46 Challenges">
This repository gathers 46 Challenges related to <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> and <b>Typescript</b>.
These challenges resolve around real-life issues or specific features to elevate your skills.
</Card>

View File

@@ -10,6 +10,8 @@ sidebar:
## Informação
Este é o segundo de três desafios animation, sendo o objetivo dominar animations em Angular.
A View Transition API é uma nova API que fornece um conjunto de funcionalidades, permitindo desenvolvedores controlarem e manipularem as transições e animações entre views dentro de uma aplicação.
Isso tem um papel importante na melhoria da experiência do usuário (UX), trazendo vida a aplicações com transições atraentes e cativantes afim de guiar usuários por diferentes páginas e seções da aplicação.

View File

@@ -13,7 +13,7 @@ hero:
icon: right-arrow
variant: primary
- text: Ir para o desafio mais recente
link: /pt/challenges/angular/44-view-transition/
link: /pt/challenges/angular/46-simple-animations/
icon: rocket
- text: Dar uma estrela
link: https://github.com/tomalaforge/angular-challenges
@@ -26,14 +26,15 @@ import MyIcon from '../../../components/MyIcon.astro';
import SubscriptionForm from '../../../components/SubscriptionForm.astro';
<CardGrid>
<Card title="45 Desafios">
Este repositório possui 45 Desafios relacionados a <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>,
<Card title="46 Desafios">
Este repositório possui 46 Desafios relacionados a <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>,
<b>Ngrx</b> e <b>Typescript</b>.
Esses desafios são voltados para problemas reais ou funcionalidades específicas afim de
melhorar suas habilidades.
</Card>
{' '}
<Card title="Inscreva-se para ser notificado do desafio mais recente">
<SubscriptionForm isNote={false} lang="pt" />
</Card>

View File

@@ -13,7 +13,7 @@ hero:
icon: right-arrow
variant: primary
- text: Перейти к последней задаче
link: /ru/challenges/angular/44-view-transition/
link: /ru/challenges/angular/46-simple-animations/
icon: rocket
- text: Добавить звезду
link: https://github.com/tomalaforge/angular-challenges
@@ -26,8 +26,8 @@ import MyIcon from '../../../components/MyIcon.astro';
import SubscriptionForm from '../../../components/SubscriptionForm.astro';
<CardGrid>
<Card title="45 Испытания">
Этот репозиторий содержит 45 Испытания, связанных с <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> and <b>Typescript</b>.
<Card title="46 Испытания">
Этот репозиторий содержит 46 Испытания, связанных с <b>Angular</b>, <b>Nx</b>, <b>RxJS</b>, <b>Ngrx</b> and <b>Typescript</b>.
Испытания основаны на реальных задачах или инструментах для того, чтобы прокачать вас.
</Card>