Skip to content

Commit 9ca4553

Browse files
authored
Merge pull request #52 from Logging-Stuff/v0-inc
V0 integration
2 parents ecf1e27 + 75cc6d3 commit 9ca4553

File tree

160 files changed

+7050
-4296
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+7050
-4296
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ on:
44
release:
55
types:
66
- published
7-
7+
88
jobs:
99
build-and-deploy:
1010
runs-on: ubuntu-latest
1111

1212
steps:
1313
- name: Check out the repository
1414
uses: actions/checkout@v4
15-
15+
1616
- name: Setup Docker Buildx
1717
uses: docker/setup-buildx-action@v3
18-
18+
1919
- name: DockerHub login
2020
uses: docker/login-action@v3
2121
with:
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
docker build -t devarifhossain/retroui:1.1.9 ./
2828
docker push devarifhossain/retroui:1.1.9
29-
29+
3030
# - name: Set up SSH
3131
# uses: webfactory/[email protected]
3232
# with:
@@ -35,7 +35,7 @@ jobs:
3535
# - name: Add VPS to known_hosts
3636
# run: |
3737
# ssh-keyscan -H ${{ secrets.VPS_HOST }} >> ~/.ssh/known_hosts
38-
38+
3939
# - name: Deploy to VPS
4040
# run: |
41-
# ssh ${{ secrets.VPS_USERNAME }}@${{ secrets.VPS_HOST }} "cd /root/retroui && git pull && docker compose -f ./infra/docker-compose.prod.yml up web --build -d"
41+
# ssh ${{ secrets.VPS_USERNAME }}@${{ secrets.VPS_HOST }} "cd /root/retroui && git pull && docker compose -f ./infra/docker-compose.prod.yml up web --build -d"

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"tabWidth": 2,
3+
"semi": true,
4+
"printWidth": 80
5+
}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Thank you for your interest in contributing to RetroUI 🙏. I hope this guide t
3737

3838
## Adding a New Component
3939

40-
1. Create the main component in `/components/ui/NewComponent/NewComponent.tsx`
40+
1. Create the main component in `/components/retroui/NewComponent/NewComponent.tsx`
4141

4242
```ts
4343
export function NewComponent() {
4444
return <div>This is your component.</div>;
4545
}
4646
```
4747

48-
2. Export your component in `/components/ui/NewComponent/index.ts` and `/components/ui/index.ts`
48+
2. Export your component in `/components/retroui/NewComponent/index.ts` and `/components/retroui/index.ts`
4949

5050
```ts
5151
export * from "./NewComponent";

app/(docs)/docs/[[...slug]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { allDocs } from "contentlayer/generated";
33
import { notFound } from "next/navigation";
44
import { format } from "date-fns";
55
import MDX from "@/components/MDX";
6-
import { Text } from "@/components/ui";
6+
import { Text } from "@/components/retroui/Text";
77
import { Metadata } from "next";
88
import { MoveRightIcon, MoveUpRightIcon } from "lucide-react";
99

app/(marketing)/blogs/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { allBlogs } from "contentlayer/generated";
33
import { notFound } from "next/navigation";
44
import { format } from "date-fns";
55
import MDX from "@/components/MDX";
6-
import { Avatar, Badge, Button, Text } from "@/components/ui";
6+
import { Avatar, Badge, Button, Text } from "@/components/retroui";
77
import { Metadata } from "next";
88
import { MoveRightIcon, MoveUpRightIcon } from "lucide-react";
99
import Image from "next/image";

app/(marketing)/blogs/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { allBlogs } from "@/.contentlayer/generated";
2-
import { Card, Text } from "@/components/ui";
2+
import { Card, Text } from "@/components/retroui";
33
import Image from "next/image";
44
import Link from "next/link";
55
import React from "react";

app/(marketing)/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
Card,
99
Avatar,
1010
Badge,
11-
} from "@/components/ui";
11+
} from "@/components/retroui";
1212
import AccordionStyleDefault from "@/preview/components/accordion-style-default";
1313
import AlertStyleDefaultIcon from "@/preview/components/alert-style-with-icon";
1414
import AvatarStyleCircle from "@/preview/components/avatar-style-circle-sizes";
@@ -32,7 +32,7 @@ async function getContributors(): Promise<
3232
headers: {
3333
"Content-Type": "application/json",
3434
},
35-
}
35+
},
3636
);
3737

3838
const contributorsList = await request.json();
@@ -47,7 +47,7 @@ async function getContributors(): Promise<
4747
avatar: c.avatar_url,
4848
username: c.login,
4949
url: c.html_url,
50-
})
50+
}),
5151
),
5252
];
5353
}

app/(sink)/demo/components/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import {
1515
TabsPanels,
1616
TabsTrigger,
1717
TabsTriggerList,
18-
} from "@/components/ui";
19-
import { Card } from "@/components/ui/Card";
18+
} from "@/components/retroui";
19+
import { Card } from "@/components/retroui/Card";
2020
import BadgeStyleVariants from "@/preview/components/badge-style-variants";
2121
import TestimonialCard from "@/preview/components/card-style-testimonial";
2222
import { CheckCircle } from "lucide-react";

app/global.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,11 @@
7474

7575
.text-outlined {
7676
letter-spacing: 2px;
77-
text-shadow: 0px 0px 0 var(--color-primary), 0px 0px 0 var(--color-primary),
78-
4px 4px 0 var(--color-primary), 4px 4px 0 var(--color-primary);
77+
text-shadow:
78+
0px 0px 0 var(--color-primary),
79+
0px 0px 0 var(--color-primary),
80+
4px 4px 0 var(--color-primary),
81+
4px 4px 0 var(--color-primary);
7982
}
8083

8184
/* Syntax Highlighting stuff */

app/robots.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import type { MetadataRoute } from 'next'
2-
1+
import type { MetadataRoute } from "next";
2+
33
export default function robots(): MetadataRoute.Robots {
44
return {
55
rules: {
6-
userAgent: '*',
7-
allow: '/',
6+
userAgent: "*",
7+
allow: "/",
88
},
9-
sitemap: 'https://retroui.dev/sitemap.xml',
10-
}
11-
}
9+
sitemap: "https://retroui.dev/sitemap.xml",
10+
};
11+
}

0 commit comments

Comments
 (0)