Skip to content

Commit

Permalink
refactor: update icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Jan 2, 2025
1 parent 414a617 commit a0a0d4c
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 21 deletions.
13 changes: 12 additions & 1 deletion apps/website/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ import { Header } from "@/components/Header";
import type { Metadata } from "next";

export const metadata: Metadata = {
metadataBase: new URL("https://dokploy.com"),
title: {
default: "Dokploy - Effortless Deployment Solutions",
template: "%s | Simplify Your DevOps",
},
icons: {
icon: "icon.svg",
apple: "apple-touch-icon.png",
},
alternates: {
canonical: "https://dokploy.com",
languages: {
Expand Down Expand Up @@ -45,7 +50,13 @@ export const metadata: Metadata = {
siteName: "Dokploy",
images: [
{
url: "http://dokploy.com/og.png",
url: "https://dokploy.com/og.png",
},
{
url: "https://dokploy.com/icon.svg",
width: 24,
height: 24,
alt: "Dokploy Logo",
},
],
},
Expand Down
5 changes: 0 additions & 5 deletions apps/website/app/icon.svg

This file was deleted.

29 changes: 28 additions & 1 deletion apps/website/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@
import type { Metadata } from "next";
import type { ReactNode } from "react";

type Props = {
children: ReactNode;
};

// export const metadata: Metadata = {
// metadataBase: new URL("https://dokploy.com"),
// title: "Dokploy - Deploy your applications with ease",
// description: "Deploy your applications with ease using Dokploy",
// icons: {
// icon: "icon.svg",
// apple: "apple-touch-icon.png",
// },
// openGraph: {
// title: "Dokploy - Deploy your applications with ease",
// description: "Deploy your applications with ease using Dokploy",
// images: "favicon.ico",
// type: "website",
// },
// twitter: {
// card: "summary_large_image",
// title: "Dokploy - Deploy your applications with ease",
// description: "Deploy your applications with ease using Dokploy",
// images: ["/og.png"],
// },
// };

// Since we have a `not-found.tsx` page on the root, a layout file
// is required, even if it's just passing children through.
export default function RootLayout({ children }: Props) {
return children;
return (
<html lang="en">
<body>{children}</body>
</html>
);
}
14 changes: 0 additions & 14 deletions apps/website/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,20 +205,6 @@ export function Hero() {
)}
/>
</div>
<a
href="https://www.producthunt.com/posts/dokploy-cloud?embed=true&utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dokploy&#0045;cloud"
target="_blank"
rel="noreferrer"
>
<img
className="absolute bottom-6 right-8 h-[54px] w-[250px]"
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=596245&theme=dark"
alt="Dokploy&#0032;Cloud - The&#0032;open&#0032;source&#0032;alternative&#0032;to&#0032;Vercel&#0044;&#0032;Heroku&#0032;and&#0032;Netlify | Product Hunt"
// style="width: 250px; height: 54px;"
width="250"
height="54"
/>
</a>
</div>
);
}
Binary file added apps/website/public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/website/public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/website/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/website/public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/website/public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/website/public/favicon.ico
Binary file not shown.

0 comments on commit a0a0d4c

Please sign in to comment.