-
Notifications
You must be signed in to change notification settings - Fork 15
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
1 parent
c9677f3
commit c7ab98c
Showing
4 changed files
with
13 additions
and
27 deletions.
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
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 |
---|---|---|
|
@@ -254,9 +254,9 @@ | |
" DiceBearAvatar(\"user\"), \n", | ||
" # DivVStacked stacks things vertically together and centers it with flex\n", | ||
" DivVStacked(\n", | ||
" PLarge(\"John Doe\"),\n", | ||
" PMuted(\"[email protected]\"), \n", | ||
" PMuted(\"+1-123-456-7890\"), cls=''))" | ||
" P(\"John Doe\", cls=TextT.lg),\n", | ||
" P(\"[email protected]\", cls=TextT.muted), \n", | ||
" P(\"+1-123-456-7890\"), cls=TextT.muted))" | ||
] | ||
}, | ||
{ | ||
|
@@ -339,7 +339,7 @@ | |
" DivVStacked( # Center and veritcally stack the plan name and price\n", | ||
" H2(plan),\n", | ||
" H3(price, cls='text-primary'),\n", | ||
" PMuted('per month'),\n", | ||
" P('per month',cls=TextT.muted),\n", | ||
" cls='space-y-1'),\n", | ||
" # DivHStacked makes green check and feature Li show up on same row instead of newline\n", | ||
" Ul(*[DivHStacked(UkIcon('check', cls='text-green-500 mr-2'), Li(feature)) for feature in features], \n", | ||
|
@@ -430,7 +430,7 @@ | |
" FooterLinkGroup(\"Resources\", resource),\n", | ||
" FooterLinkGroup(\"Legal\", legal)), \n", | ||
" DividerLine(),\n", | ||
" PSmall(\"© 2024 Company Name. All rights reserved.\", cls=TextT.lead),\n", | ||
" P(\"© 2024 Company Name. All rights reserved.\", cls=TextT.lead+TextT.sm),\n", | ||
" cls='space-y-8 p-8'))" | ||
] | ||
}, | ||
|
@@ -466,7 +466,7 @@ | |
" # Page header\n", | ||
" DivVStacked( # Stacks vertically and centers the title/subtitle\n", | ||
" H2(\"Welcome back, Isaac!\"),\n", | ||
" PMuted(\"Here's what's happening with your projects today.\")),\n", | ||
" P(\"Here's what's happening with your projects today.\",cls=TextT.muted)),\n", | ||
"\n", | ||
" # DivHStacked puts all the stats cards on the same row\n", | ||
" DivHStacked(*(StatsCard(label, value, change)\n", | ||
|
@@ -555,7 +555,7 @@ | |
" DivCentered(cls='mt-8')(\n", | ||
" P(\"\"\"Duis aute irure dolor in reprehenderit in voluptate velit esse \n", | ||
" cillum dolore eu fugiat nulla pariatur.\"\"\", \n", | ||
" cls=(TextT.large, TextT.bold, TextT.center, TextT.italic, \"text-primary\"))),\n", | ||
" cls=(TextT.lg, TextT.bold, TextT.center, TextT.italic, \"text-primary\"))),\n", | ||
"\n", | ||
" P(\"\"\"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui \n", | ||
" officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde \n", | ||
|
@@ -583,7 +583,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.12.2" | ||
"version": "3.12.8" | ||
} | ||
}, | ||
"nbformat": 4, | ||
|
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