Skip to content

Commit de7c9ee

Browse files
committed
docs: update the pages
1 parent d6eca74 commit de7c9ee

File tree

19 files changed

+90
-112
lines changed

19 files changed

+90
-112
lines changed

components/docs/profile-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function ProfileMenu() {
2020
<MenuHandler>
2121
<Avatar
2222
variant="circular"
23-
alt="candice wu"
23+
alt="tania andrew"
2424
className="cursor-pointer"
2525
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1480&q=80"
2626
/>

components/docs/react/dialog/dialog-with-image.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function DialogWithImage() {
3737
<Avatar
3838
size="sm"
3939
variant="circular"
40-
alt="candice wu"
40+
alt="tania andrew"
4141
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1480&q=80"
4242
/>
4343
<div className="-mt-px flex flex-col">
@@ -46,7 +46,7 @@ export function DialogWithImage() {
4646
color="blue-gray"
4747
className="font-medium"
4848
>
49-
Candice Wu
49+
Tania Andrew
5050
</Typography>
5151
<Typography
5252
variant="small"

components/docs/react/navbar/complex-navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function ProfileMenu() {
6565
<Avatar
6666
variant="circular"
6767
size="sm"
68-
alt="candice wu"
68+
alt="tania andrew"
6969
className="border border-blue-500 p-0.5"
7070
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1480&q=80"
7171
/>

components/docs/react/rating/rating-with-comment.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function RatingWithComment() {
1313
size="lg"
1414
/>
1515
<Typography variant="h6" className="mt-4">
16-
Candic Wu
16+
Tania Andrew
1717
</Typography>
1818
<Typography color="gray" className="mb-4 font-normal">
1919
Lead Frontend Developer

components/docs/react/stepper/stepper-with-content.tsx

Lines changed: 14 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import React from "react";
22
import { Stepper, Step, Button, Typography } from "@material-tailwind/react";
3-
import {
4-
CogIcon,
5-
UserIcon,
6-
BuildingLibraryIcon,
7-
} from "@heroicons/react/24/outline";
3+
import { CogIcon, UserIcon, BuildingLibraryIcon } from "@heroicons/react/24/outline";
84

95
export function StepperWithContent() {
106
const [activeStep, setActiveStep] = React.useState(0);
@@ -15,7 +11,7 @@ export function StepperWithContent() {
1511
const handlePrev = () => !isFirstStep && setActiveStep((cur) => cur - 1);
1612

1713
return (
18-
<div className="w-full py-4 px-24">
14+
<div className="w-full px-24 py-4">
1915
<Stepper
2016
activeStep={activeStep}
2117
isLastStep={(value) => setIsLastStep(value)}
@@ -24,51 +20,33 @@ export function StepperWithContent() {
2420
<Step onClick={() => setActiveStep(0)}>
2521
<UserIcon className="h-5 w-5" />
2622
<div className="absolute -bottom-[4.5rem] w-max text-center">
27-
<Typography
28-
variant="h6"
29-
color={activeStep === 0 ? "blue" : "blue-gray"}
30-
>
31-
Personal Details
23+
<Typography variant="h6" color={activeStep === 0 ? "blue" : "blue-gray"}>
24+
Step 1
3225
</Typography>
33-
<Typography
34-
color={activeStep === 0 ? "blue" : "gray"}
35-
className="font-normal"
36-
>
37-
Your name and email address.
26+
<Typography color={activeStep === 0 ? "blue" : "gray"} className="font-normal">
27+
Details about yout account.
3828
</Typography>
3929
</div>
4030
</Step>
4131
<Step onClick={() => setActiveStep(1)}>
4232
<CogIcon className="h-5 w-5" />
4333
<div className="absolute -bottom-[4.5rem] w-max text-center">
44-
<Typography
45-
variant="h6"
46-
color={activeStep === 1 ? "blue" : "blue-gray"}
47-
>
48-
Security Details
34+
<Typography variant="h6" color={activeStep === 1 ? "blue" : "blue-gray"}>
35+
Step 2
4936
</Typography>
50-
<Typography
51-
color={activeStep === 1 ? "blue" : "gray"}
52-
className="font-normal"
53-
>
54-
Your password and secret key.
37+
<Typography color={activeStep === 1 ? "blue" : "gray"} className="font-normal">
38+
Details about yout account.
5539
</Typography>
5640
</div>
5741
</Step>
5842
<Step onClick={() => setActiveStep(2)}>
5943
<BuildingLibraryIcon className="h-5 w-5" />
6044
<div className="absolute -bottom-[4.5rem] w-max text-center">
61-
<Typography
62-
variant="h6"
63-
color={activeStep === 2 ? "blue" : "blue-gray"}
64-
>
65-
Organization Details
45+
<Typography variant="h6" color={activeStep === 2 ? "blue" : "blue-gray"}>
46+
Step 3
6647
</Typography>
67-
<Typography
68-
color={activeStep === 2 ? "blue" : "gray"}
69-
className="font-normal"
70-
>
71-
Your company details.
48+
<Typography color={activeStep === 2 ? "blue" : "gray"} className="font-normal">
49+
Details about yout account.
7250
</Typography>
7351
</div>
7452
</Step>

documentation/html/card.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ See below our beautiful card example that you can use in your Tailwind CSS proje
857857
Natali Craig
858858
</div>
859859
<img
860-
alt="candice wu"
860+
alt="tania andrew"
861861
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
862862
className="relative inline-block h-9 w-9 rounded-full border-2 border-white object-cover object-center hover:z-10"
863863
data-tooltip-target="author-2"
@@ -866,7 +866,7 @@ See below our beautiful card example that you can use in your Tailwind CSS proje
866866
data-tooltip="author-2"
867867
class="absolute z-50 whitespace-normal break-words rounded-lg bg-black py-1.5 px-3 font-sans text-sm font-normal text-white focus:outline-none"
868868
>
869-
Candice Wu
869+
Tania Andrew
870870
</div>
871871
</div>
872872
<p className="block font-sans text-base font-normal leading-relaxed text-inherit antialiased">
@@ -908,7 +908,7 @@ See below our beautiful card example that you can use in your Tailwind CSS proje
908908
Natali Craig
909909
</div>
910910
<img
911-
alt="candice wu"
911+
alt="tania andrew"
912912
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
913913
class="relative inline-block h-9 w-9 rounded-full border-2 border-white object-cover object-center hover:z-10"
914914
data-tooltip-target="author-2"
@@ -917,7 +917,7 @@ See below our beautiful card example that you can use in your Tailwind CSS proje
917917
data-tooltip="author-2"
918918
class="absolute z-50 whitespace-normal break-words rounded-lg bg-black py-1.5 px-3 font-sans text-sm font-normal text-white focus:outline-none"
919919
>
920-
Candice Wu
920+
Tania Andrew
921921
</div>
922922
</div>
923923
<p class="block font-sans text-base font-normal leading-relaxed text-inherit antialiased">
@@ -946,10 +946,10 @@ See below our beautiful card example that you can use in your Tailwind CSS proje
946946
How we design and code open-source projects?
947947
</h2>
948948
<h5 className="mb-4 block font-sans text-xl font-semibold leading-snug tracking-normal text-gray-400 antialiased">
949-
Candice Wu
949+
Tania Andrew
950950
</h5>
951951
<img
952-
alt="candice wu"
952+
alt="tania andrew"
953953
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
954954
className="relative inline-block h-[74px] w-[74px] rounded-full border-2 border-white object-cover object-center"
955955
/>
@@ -967,10 +967,10 @@ See below our beautiful card example that you can use in your Tailwind CSS proje
967967
How we design and code open-source projects?
968968
</h2>
969969
<h5 class="mb-4 block font-sans text-xl font-semibold leading-snug tracking-normal text-gray-400 antialiased">
970-
Candice Wu
970+
Tania Andrew
971971
</h5>
972972
<img
973-
alt="candice wu"
973+
alt="tania andrew"
974974
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
975975
class="relative inline-block h-[74px] w-[74px] rounded-full border-2 border-white object-cover object-center"
976976
/>
@@ -1399,13 +1399,13 @@ See below our beautiful card example that you can use in your Tailwind CSS proje
13991399
<div className="relative mx-0 mt-4 flex items-center gap-4 overflow-hidden rounded-xl bg-transparent bg-clip-border pt-0 pb-8 text-gray-700 shadow-none">
14001400
<img
14011401
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
1402-
alt="candice wu"
1402+
alt="tania andrew"
14031403
className="relative inline-block h-[58px] w-[58px] !rounded-full object-cover object-center"
14041404
/>
14051405
<div className="flex w-full flex-col gap-0.5">
14061406
<div className="flex items-center justify-between">
14071407
<h5 className="block font-sans text-xl font-semibold leading-snug tracking-normal text-blue-gray-900 antialiased">
1408-
Candice Wu
1408+
Tania Andrew
14091409
</h5>
14101410
<div className="5 flex items-center gap-0">
14111411
<svg
@@ -1495,13 +1495,13 @@ See below our beautiful card example that you can use in your Tailwind CSS proje
14951495
<div class="relative mx-0 mt-4 flex items-center gap-4 overflow-hidden rounded-xl bg-transparent bg-clip-border pt-0 pb-8 text-gray-700 shadow-none">
14961496
<img
14971497
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
1498-
alt="candice wu"
1498+
alt="tania andrew"
14991499
class="relative inline-block h-[58px] w-[58px] !rounded-full object-cover object-center"
15001500
/>
15011501
<div class="flex w-full flex-col gap-0.5">
15021502
<div class="flex items-center justify-between">
15031503
<h5 class="block font-sans text-xl font-semibold leading-snug tracking-normal text-blue-gray-900 antialiased">
1504-
Candice Wu
1504+
Tania Andrew
15051505
</h5>
15061506
<div class="5 flex items-center gap-0">
15071507
<svg

documentation/html/chip.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,14 @@ Use the example below for a chip containing an avatar.
269269
<div className="center relative inline-block select-none whitespace-nowrap rounded-full bg-teal-500 px-3.5 py-1.5 align-baseline font-sans text-xs font-bold uppercase leading-none text-white">
270270
<div className="absolute top-2/4 left-1 h-5 w-5 -translate-y-2/4">
271271
<img
272-
alt="candice wu"
272+
alt="tania andrew"
273273
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
274274
className="relative inline-block h-5 w-5 translate-x-px translate-y-px rounded-full object-cover object-center"
275275
/>
276276
</div>
277277
<div className="ml-4 mt-px">
278278
<p className="block font-sans text-sm font-medium capitalize leading-none text-white antialiased">
279-
Candice Wu
279+
Tania Andrew
280280
</p>
281281
</div>
282282
</div>
@@ -286,14 +286,14 @@ Use the example below for a chip containing an avatar.
286286
<div class="center relative inline-block select-none whitespace-nowrap rounded-full bg-teal-500 px-3.5 py-1.5 align-baseline font-sans text-xs font-bold uppercase leading-none text-white">
287287
<div class="absolute top-2/4 left-1 h-5 w-5 -translate-y-2/4">
288288
<img
289-
alt="candice wu"
289+
alt="tania andrew"
290290
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
291291
class="relative inline-block h-5 w-5 translate-x-px translate-y-px rounded-full object-cover object-center"
292292
/>
293293
</div>
294294
<div class="ml-4 mt-px">
295295
<p class="block font-sans text-sm font-medium capitalize leading-none text-white antialiased">
296-
Candice Wu
296+
Tania Andrew
297297
</p>
298298
</div>
299299
</div>

documentation/html/dialog.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,13 +1031,13 @@ Use the example below to create a dialog with an image inside, similar to unspla
10311031
<div className="flex shrink-0 items-center justify-between p-4 font-sans text-2xl font-semibold leading-snug text-blue-gray-900 antialiased">
10321032
<div className="flex items-center gap-3">
10331033
<img
1034-
alt="candice wu"
1034+
alt="tania andrew"
10351035
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
10361036
className="relative inline-block h-9 w-9 rounded-full object-cover object-center"
10371037
/>
10381038
<div className="-mt-px flex flex-col">
10391039
<p className="block font-sans text-sm font-medium leading-normal text-blue-gray-900 antialiased">
1040-
Candice Wu
1040+
Tania Andrew
10411041
</p>
10421042
<p className="block font-sans text-xs font-normal text-gray-700 antialiased">
10431043
@canwu
@@ -1147,13 +1147,13 @@ Use the example below to create a dialog with an image inside, similar to unspla
11471147
<div className="flex shrink-0 items-center justify-between p-4 font-sans text-2xl font-semibold leading-snug text-blue-gray-900 antialiased">
11481148
<div className="flex items-center gap-3">
11491149
<img
1150-
alt="candice wu"
1150+
alt="tania andrew"
11511151
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
11521152
className="relative inline-block h-9 w-9 rounded-full object-cover object-center"
11531153
/>
11541154
<div className="-mt-px flex flex-col">
11551155
<p className="block font-sans text-sm font-medium leading-normal text-blue-gray-900 antialiased">
1156-
Candice Wu
1156+
Tania Andrew
11571157
</p>
11581158
<p className="block font-sans text-xs font-normal text-gray-700 antialiased">
11591159
@canwu

documentation/html/menu.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,13 @@ You can created nested/multi-level menus by setting the <Link href="/docs/html/p
281281
className="flex w-full cursor-pointer select-none items-center gap-4 rounded-md px-3 py-2 pr-8 pl-2 text-start leading-tight outline-none transition-all hover:bg-blue-gray-50 hover:bg-opacity-80 hover:text-blue-gray-900 focus:bg-blue-gray-50 focus:bg-opacity-80 focus:text-blue-gray-900 active:bg-blue-gray-50 active:bg-opacity-80 active:text-blue-gray-900"
282282
>
283283
<img
284-
alt="candice wu"
284+
alt="tania andrew"
285285
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
286286
className="relative inline-block h-12 w-12 !rounded-full object-cover object-center"
287287
/>
288288
<div className="flex flex-col gap-1">
289289
<p className="block font-sans text-sm font-normal leading-normal text-gray-700 antialiased">
290-
<span className="font-medium text-blue-gray-900">Wu</span> send
290+
<span className="font-medium text-blue-gray-900">Tania</span> send
291291
you a message
292292
</p>
293293
<p className="flex items-center gap-1 font-sans text-xs font-light text-gray-600 antialiased">
@@ -401,13 +401,13 @@ You can created nested/multi-level menus by setting the <Link href="/docs/html/p
401401
className="flex w-full cursor-pointer select-none items-center gap-4 rounded-md px-3 py-2 pr-8 pl-2 text-start leading-tight outline-none transition-all hover:bg-blue-gray-50 hover:bg-opacity-80 hover:text-blue-gray-900 focus:bg-blue-gray-50 focus:bg-opacity-80 focus:text-blue-gray-900 active:bg-blue-gray-50 active:bg-opacity-80 active:text-blue-gray-900"
402402
>
403403
<img
404-
alt="candice wu"
404+
alt="tania andrew"
405405
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
406406
className="relative inline-block h-12 w-12 !rounded-full object-cover object-center"
407407
/>
408408
<div className="flex flex-col gap-1">
409409
<p className="block font-sans text-sm font-normal leading-normal text-gray-700 antialiased">
410-
<span className="font-medium text-blue-gray-900">Wu</span> send you a
410+
<span className="font-medium text-blue-gray-900">Tania</span> send you a
411411
message
412412
</p>
413413
<p className="flex items-center gap-1 font-sans text-xs font-light text-gray-600 antialiased">
@@ -513,7 +513,7 @@ You can created nested/multi-level menus by setting the <Link href="/docs/html/p
513513
component={
514514
<>
515515
<img
516-
alt="candice wu"
516+
alt="tania andrew"
517517
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
518518
className="relative inline-block h-12 w-12 cursor-pointer rounded-full object-cover object-center"
519519
data-popover-target="profile-menu"
@@ -660,7 +660,7 @@ You can created nested/multi-level menus by setting the <Link href="/docs/html/p
660660
>
661661
```html
662662
<img
663-
alt="candice wu"
663+
alt="tania andrew"
664664
src="https://images.unsplash.com/photo-1633332755192-727a05c4013d?ixlib=rb-1.2.1&amp;ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&amp;auto=format&amp;fit=crop&amp;w=1480&amp;q=80"
665665
className="relative inline-block h-12 w-12 cursor-pointer rounded-full object-cover object-center"
666666
data-popover-target="profile-menu"

0 commit comments

Comments
 (0)