Skip to content

Commit a0a0d4c

Browse files
committed
refactor: update icon
1 parent 414a617 commit a0a0d4c

File tree

10 files changed

+40
-21
lines changed

10 files changed

+40
-21
lines changed

apps/website/app/[locale]/layout.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ import { Header } from "@/components/Header";
99
import type { Metadata } from "next";
1010

1111
export const metadata: Metadata = {
12+
metadataBase: new URL("https://dokploy.com"),
1213
title: {
1314
default: "Dokploy - Effortless Deployment Solutions",
1415
template: "%s | Simplify Your DevOps",
1516
},
17+
icons: {
18+
icon: "icon.svg",
19+
apple: "apple-touch-icon.png",
20+
},
1621
alternates: {
1722
canonical: "https://dokploy.com",
1823
languages: {
@@ -45,7 +50,13 @@ export const metadata: Metadata = {
4550
siteName: "Dokploy",
4651
images: [
4752
{
48-
url: "http://dokploy.com/og.png",
53+
url: "https://dokploy.com/og.png",
54+
},
55+
{
56+
url: "https://dokploy.com/icon.svg",
57+
width: 24,
58+
height: 24,
59+
alt: "Dokploy Logo",
4960
},
5061
],
5162
},

apps/website/app/icon.svg

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/website/app/layout.tsx

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,38 @@
1+
import type { Metadata } from "next";
12
import type { ReactNode } from "react";
23

34
type Props = {
45
children: ReactNode;
56
};
67

8+
// export const metadata: Metadata = {
9+
// metadataBase: new URL("https://dokploy.com"),
10+
// title: "Dokploy - Deploy your applications with ease",
11+
// description: "Deploy your applications with ease using Dokploy",
12+
// icons: {
13+
// icon: "icon.svg",
14+
// apple: "apple-touch-icon.png",
15+
// },
16+
// openGraph: {
17+
// title: "Dokploy - Deploy your applications with ease",
18+
// description: "Deploy your applications with ease using Dokploy",
19+
// images: "favicon.ico",
20+
// type: "website",
21+
// },
22+
// twitter: {
23+
// card: "summary_large_image",
24+
// title: "Dokploy - Deploy your applications with ease",
25+
// description: "Deploy your applications with ease using Dokploy",
26+
// images: ["/og.png"],
27+
// },
28+
// };
29+
730
// Since we have a `not-found.tsx` page on the root, a layout file
831
// is required, even if it's just passing children through.
932
export default function RootLayout({ children }: Props) {
10-
return children;
33+
return (
34+
<html lang="en">
35+
<body>{children}</body>
36+
</html>
37+
);
1138
}

apps/website/components/Hero.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -205,20 +205,6 @@ export function Hero() {
205205
)}
206206
/>
207207
</div>
208-
<a
209-
href="https://www.producthunt.com/posts/dokploy-cloud?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dokploy&#0045;cloud"
210-
target="_blank"
211-
rel="noreferrer"
212-
>
213-
<img
214-
className="absolute bottom-6 right-8 h-[54px] w-[250px]"
215-
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=596245&theme=dark"
216-
alt="Dokploy&#0032;Cloud - The&#0032;open&#0032;source&#0032;alternative&#0032;to&#0032;Vercel&#0044;&#0032;Heroku&#0032;and&#0032;Netlify | Product Hunt"
217-
// style="width: 250px; height: 54px;"
218-
width="250"
219-
height="54"
220-
/>
221-
</a>
222208
</div>
223209
);
224210
}
15.8 KB
Loading
54.6 KB
Loading
14.1 KB
Loading
730 Bytes
Loading
1.84 KB
Loading

apps/website/public/favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)