-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Cvičení: Znovupoužitelnost komponent | ||
|
||
::exc[cvlekce/karty] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Znovupoužitlné karty | ||
lead: Vytvořte znovupoužitelnou komponentu `Card` s nadpisem a popisem a dalšími prvky. | ||
demand: 3 | ||
context: lekce | ||
solutionAccess: protected | ||
--- | ||
|
||
Na webových stránkách velmi často zobrazujeme informace v podobě takzvaných _karet_. Vytvořte znovupoužitelnou komponentu `Card`, která bude nabízet následující možnosti: | ||
|
||
- bude umožňovat zobrazit obrázek a to buď nahoře nebo dole, | ||
- bude umožňovat zobrazit nadpis a obsah, kde obsah bude moci být libovolný JSX kód, | ||
- bude umožňovat zobrazit patičku karty, kde můžete zobrazit libovolný obsah. | ||
|
||
Inspirujte se návrhem karet na [pointjupiter.com](https://pointjupiter.com/ultimate-ux-ui-guide-card-design-web-sites-apps). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Znovupoužitlné karty | ||
lead: Vytvořte znovupoužitelnou komponentu `Card` s nadpisem a popisem a dalšími prvky. | ||
demand: 3 | ||
context: lekce | ||
solutionAccess: protected | ||
--- | ||
|
||
Na webových stránkách velmi často zobrazujeme informace v podobě takzvaných _karet_. Vytvořte znovupoužitelnou komponentu `Card`, která bude nabízet následující možnosti: | ||
|
||
- bude umožňovat zobrazit obrázek a to buď nahoře nebo dole, | ||
- bude umožňovat zobrazit nadpis a obsah, kde obsah bude moci být libovolný JSX kód, | ||
- bude umožňovat zobrazit patičku karty, kde můžete zobrazit libovolný obsah. | ||
|
||
Inspirujte se návrhem karet na [pointjupiter.com](https://pointjupiter.com/ultimate-ux-ui-guide-card-design-web-sites-apps). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ sections: | |
- detail-seznamu | ||
- znovupouzitelnost | ||
- children-prop | ||
- cv-znovupouzitelnost | ||
- shrnuti |