Skip to content

feta: v3 make the layout file in components folder for meta #2864

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

Open
wants to merge 1 commit into
base: feat/v3
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/Input/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Input, InputField, InputIcon, InputSlot } from '@/components/ui/input';
import { FormControl } from '@/components/ui/form-control';
import { VStack } from '@/components/ui/vstack';
Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/Input/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
4 changes: 4 additions & 0 deletions apps/website/app/ui/docs/components/accordion/index.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Accordion, AccordionItem, AccordionHeader, AccordionTrigger, AccordionTitleText, AccordionContent, AccordionContentText, AccordionIcon } from '@/components/ui/accordion';
import { Divider } from '@/components/ui/divider';
import { ChevronDownIcon, ChevronUpIcon, AddIcon, RemoveIcon } from '@/components/ui/icon';

<Meta pageTitle="Accordion" pageDescription="Explore gluestack's Accordion component for Expo, next.js, React & React Native. Build sleek, interactive accordions with ease." />


import {Tabs,TabItem} from '@/docs-components/tabs'
import {Table,TableHeader,TableCell,TableHeaderCell,TableBody,TableRow} from '@/docs-components/table'
import {InlineCode} from '@/docs-components/inline-code'
Expand Down
25 changes: 25 additions & 0 deletions apps/website/app/ui/docs/components/accordion/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {
"title": "Accordion Component | gluestack-ui | Installation, Usage & API",
"description": "Explore gluestack's Accordion component for Expo, next.js, React & React Native. Build sleek, interactive accordions with ease.",
"pageTitle": "Accordion",
"pageDescription": "Explore gluestack's Accordion component for Expo, next.js, React & React Native. Build sleek, interactive accordions with ease.",
"showHeader": true
}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/actionsheet/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Actionsheet, ActionsheetContent, ActionsheetItem, ActionsheetItemText, ActionsheetDragIndicator, ActionsheetDragIndicatorWrapper, ActionsheetBackdrop, ActionsheetIcon, ActionsheetVirtualizedList, ActionsheetFlatList, ActionsheetSectionList, ActionsheetSectionHeaderText } from '@/components/ui/actionsheet';
import { Button, ButtonText, ButtonGroup } from '@/components/ui/button';
import { VStack } from '@/components/ui/vstack';
Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/actionsheet/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/alert-dialog/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogBody, AlertDialogBackdrop } from '@/components/ui/alert-dialog';
import { Button, ButtonText } from '@/components/ui/button';
import { Text } from '@/components/ui/text';
Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/alert-dialog/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/alert/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Alert, AlertText, AlertIcon } from '@/components/ui/alert';
import { InfoIcon, Icon, CloseIcon, EyeIcon, EyeOffIcon } from '@/components/ui/icon';
import { VStack } from '@/components/ui/vstack';
Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/alert/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';

import AllComponents from "@/components/page-components/all-components";

Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/all-components/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/avatar/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Avatar, AvatarFallbackText, AvatarImage, AvatarBadge, AvatarGroup } from '@/components/ui/avatar';
import { Heading } from '@/components/ui/heading';
import { HStack } from '@/components/ui/hstack';
Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/avatar/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/badge/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Badge, BadgeText, BadgeIcon } from '@/components/ui/badge';
import { GlobeIcon } from '@/components/ui/icon';
import { Avatar, AvatarFallbackText, AvatarImage } from '@/components/ui/avatar';
Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/badge/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/bottomsheet/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';

# BottomSheet

Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/bottomsheet/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/box/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Box } from '@/components/ui/box';
import { Text } from '@/components/ui/text';

Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/box/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/button/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Button, ButtonText, ButtonSpinner, ButtonIcon } from '@/components/ui/button';
import { EditIcon, ArrowUpIcon, InfoIcon, AddIcon, ArrowLeftIcon } from '@/components/ui/icon';
import { Box } from '@/components/ui/box';
Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/button/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/card/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Card } from '@/components/ui/card';
import { Heading } from '@/components/ui/heading';
import { Text } from '@/components/ui/text';
Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/card/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/center/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Center } from '@/components/ui/center';
import { Text } from '@/components/ui/text';

Expand Down
21 changes: 21 additions & 0 deletions apps/website/app/ui/docs/components/center/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

import React from 'react';
import { Metadata } from 'next';

export const metadata: Metadata = {

}

export default function Layout({
children,
}: {
children: React.ReactNode;
}) {


return (
<>
{children}
</>
);
}
1 change: 1 addition & 0 deletions apps/website/app/ui/docs/components/checkbox/index.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { CodePreviewer } from '@/components/custom/code-previewer';
import { Meta } from '@/components/custom/meta';
import { Checkbox, CheckboxIndicator, CheckboxLabel, CheckboxIcon, CheckboxGroup } from '@/components/ui/checkbox';
import { CheckIcon } from '@/components/ui/icon';
import { VStack } from '@/components/ui/vstack';
Expand Down
Loading