Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
26 changes: 25 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,32 @@ const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: 'Thyme - Time Tracking for Business Central | KnowAll.ai',
description:
'Modern time tracking application that syncs with Microsoft Dynamics 365 Business Central. Built by KnowAll.ai.',
'Modern time tracking application that syncs with Microsoft Dynamics 365 Business Central. Track time, manage projects, and keep your data in sync. Built by KnowAll.ai.',
keywords: ['time tracking', 'business central', 'dynamics 365', 'timesheet', 'knowall'],
authors: [{ name: 'KnowAll.ai', url: 'https://knowall.ai' }],
creator: 'KnowAll.ai',
publisher: 'KnowAll.ai',
metadataBase: new URL('https://thyme.knowall.ai'),
openGraph: {
title: 'Thyme - Time Tracking for Business Central',
description:
'Modern time tracking application that syncs with Microsoft Dynamics 365 Business Central. Track time, manage projects, and keep your data in sync.',
url: 'https://thyme.knowall.ai',
siteName: 'Thyme by KnowAll.ai',
locale: 'en_US',
type: 'website',
},
twitter: {
card: 'summary_large_image',
title: 'Thyme - Time Tracking for Business Central',
description:
'Modern time tracking that syncs with Microsoft Dynamics 365 Business Central. Built by KnowAll.ai.',
creator: '@knowall_ai',
},
robots: {
index: true,
follow: true,
},
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
Expand Down
177 changes: 177 additions & 0 deletions src/app/opengraph-image.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
import { ImageResponse } from 'next/og';

export const runtime = 'edge';

export const alt = 'Thyme - Time Tracking for Business Central';
export const size = {
width: 1200,
height: 630,
};
export const contentType = 'image/png';

export default async function Image() {
return new ImageResponse(
<div
style={{
background: 'linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%)',
width: '100%',
height: '100%',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
fontFamily: 'Inter, system-ui, sans-serif',
position: 'relative',
}}
>
{/* Grid pattern overlay */}
<div
style={{
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
backgroundImage:
'linear-gradient(to right, rgba(30, 41, 59, 0.3) 1px, transparent 1px), linear-gradient(to bottom, rgba(30, 41, 59, 0.3) 1px, transparent 1px)',
backgroundSize: '60px 60px',
}}
/>

{/* Gradient glow effect */}
<div
style={{
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: '800px',
height: '800px',
background: 'radial-gradient(circle, rgba(0, 210, 106, 0.15) 0%, transparent 70%)',
borderRadius: '50%',
}}
/>

{/* Logo and brand */}
<div
style={{
display: 'flex',
alignItems: 'center',
gap: '20px',
marginBottom: '40px',
}}
>
{/* Clock icon in green box */}
<div
style={{
width: '80px',
height: '80px',
borderRadius: '16px',
background: '#00D26A',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 0 40px rgba(0, 210, 106, 0.4)',
}}
>
<svg
width="48"
height="48"
viewBox="0 0 24 24"
fill="none"
stroke="#020617"
strokeWidth="2.5"
strokeLinecap="round"
strokeLinejoin="round"
>
<circle cx="12" cy="12" r="10" />
<polyline points="12,6 12,12 16,14" />
</svg>
</div>
<div style={{ display: 'flex', flexDirection: 'column' }}>
<span
style={{
fontSize: '64px',
fontWeight: 700,
color: 'white',
letterSpacing: '-1px',
}}
>
Thyme
</span>
<span
style={{
fontSize: '24px',
color: '#94a3b8',
marginTop: '-8px',
}}
>
by KnowAll.ai
</span>
</div>
</div>

{/* Tagline */}
<div
style={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: '8px',
}}
>
<span
style={{
fontSize: '42px',
fontWeight: 600,
color: 'white',
}}
>
Time Tracking,
</span>
<span
style={{
fontSize: '42px',
fontWeight: 600,
color: '#00D26A',
}}
>
Perfectly Synced
</span>
</div>

{/* Subtitle */}
<div
style={{
marginTop: '32px',
display: 'flex',
alignItems: 'center',
gap: '12px',
padding: '12px 24px',
background: 'rgba(30, 41, 59, 0.6)',
borderRadius: '100px',
border: '1px solid rgba(51, 65, 85, 0.8)',
}}
>
{/* Microsoft logo */}
<svg width="24" height="24" viewBox="0 0 21 21" fill="none">
<rect x="1" y="1" width="9" height="9" fill="#F25022" />
<rect x="11" y="1" width="9" height="9" fill="#7FBA00" />
<rect x="1" y="11" width="9" height="9" fill="#00A4EF" />
<rect x="11" y="11" width="9" height="9" fill="#FFB900" />
</svg>
<span
style={{
fontSize: '20px',
color: '#cbd5e1',
}}
>
Powered by Microsoft Dynamics 365 Business Central
</span>
</div>
</div>,
{
...size,
}
);
}
Comment thread
BenGWeeks marked this conversation as resolved.
177 changes: 177 additions & 0 deletions src/app/twitter-image.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
import { ImageResponse } from 'next/og';

export const runtime = 'edge';

export const alt = 'Thyme - Time Tracking for Business Central';
export const size = {
width: 1200,
height: 630,
};
export const contentType = 'image/png';

export default async function Image() {
return new ImageResponse(
<div
style={{
background: 'linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%)',
width: '100%',
height: '100%',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
fontFamily: 'Inter, system-ui, sans-serif',
position: 'relative',
}}
>
{/* Grid pattern overlay */}
<div
style={{
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
backgroundImage:
'linear-gradient(to right, rgba(30, 41, 59, 0.3) 1px, transparent 1px), linear-gradient(to bottom, rgba(30, 41, 59, 0.3) 1px, transparent 1px)',
backgroundSize: '60px 60px',
}}
/>

{/* Gradient glow effect */}
<div
style={{
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
width: '800px',
height: '800px',
background: 'radial-gradient(circle, rgba(0, 210, 106, 0.15) 0%, transparent 70%)',
borderRadius: '50%',
}}
/>

{/* Logo and brand */}
<div
style={{
display: 'flex',
alignItems: 'center',
gap: '20px',
marginBottom: '40px',
}}
>
{/* Clock icon in green box */}
<div
style={{
width: '80px',
height: '80px',
borderRadius: '16px',
background: '#00D26A',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 0 40px rgba(0, 210, 106, 0.4)',
}}
>
<svg
width="48"
height="48"
viewBox="0 0 24 24"
fill="none"
stroke="#020617"
strokeWidth="2.5"
strokeLinecap="round"
strokeLinejoin="round"
>
<circle cx="12" cy="12" r="10" />
<polyline points="12,6 12,12 16,14" />
</svg>
</div>
<div style={{ display: 'flex', flexDirection: 'column' }}>
<span
style={{
fontSize: '64px',
fontWeight: 700,
color: 'white',
letterSpacing: '-1px',
}}
>
Thyme
</span>
<span
style={{
fontSize: '24px',
color: '#94a3b8',
marginTop: '-8px',
}}
>
by KnowAll.ai
</span>
</div>
</div>

{/* Tagline */}
<div
style={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: '8px',
}}
>
<span
style={{
fontSize: '42px',
fontWeight: 600,
color: 'white',
}}
>
Time Tracking,
</span>
<span
style={{
fontSize: '42px',
fontWeight: 600,
color: '#00D26A',
}}
>
Perfectly Synced
</span>
</div>

{/* Subtitle */}
<div
style={{
marginTop: '32px',
display: 'flex',
alignItems: 'center',
gap: '12px',
padding: '12px 24px',
background: 'rgba(30, 41, 59, 0.6)',
borderRadius: '100px',
border: '1px solid rgba(51, 65, 85, 0.8)',
}}
>
{/* Microsoft logo */}
<svg width="24" height="24" viewBox="0 0 21 21" fill="none">
<rect x="1" y="1" width="9" height="9" fill="#F25022" />
<rect x="11" y="1" width="9" height="9" fill="#7FBA00" />
<rect x="1" y="11" width="9" height="9" fill="#00A4EF" />
<rect x="11" y="11" width="9" height="9" fill="#FFB900" />
</svg>
<span
style={{
fontSize: '20px',
color: '#cbd5e1',
}}
>
Powered by Microsoft Dynamics 365 Business Central
</span>
</div>
</div>,
{
...size,
}
);
}
Comment thread
BenGWeeks marked this conversation as resolved.