-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: ✨ updated landing page * fix: 🐛 fixed build issue * feat: ✨ added one more faq entry * feat: ⬆️ upgraded dependencies
- Loading branch information
Showing
31 changed files
with
889 additions
and
522 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
import { GoogleAnalytics } from '@next/third-parties/google'; | ||
import { Provider as AnalyticsProvider } from '@ultra-reporter/analytics/client'; | ||
import '@ultra-reporter/ui/global.css'; | ||
import { Footer } from '@ultra-reporter/ui/home/footer'; | ||
import { ScrollToTop } from '@ultra-reporter/ui/home/scroll-to-top'; | ||
import { ThemeProvider } from '@ultra-reporter/ui/utils/theme-provider'; | ||
import { isProd } from '@ultra-reporter/utils/constants'; | ||
import type { Metadata } from 'next'; | ||
import { DetailedHTMLProps, HtmlHTMLAttributes } from 'react'; | ||
|
||
export const metadata: Metadata = { | ||
title: { | ||
default: 'Ultra Reporter - Beautiful Test Reports in One Click', | ||
template: '%s | Ultra Reporter', | ||
}, | ||
description: | ||
'Convert your TestNG test results into beautiful, comprehensive reports instantly with Ultra Reporter. Visualize your data and improve your testing workflow.', | ||
keywords: [ | ||
'TestNG', | ||
'TestNG Reporter', | ||
'test reports', | ||
'test visualization', | ||
'QA tools', | ||
'software testing', | ||
'Ultra Reporter', | ||
'TestNG reports', | ||
'TestNG visualization', | ||
], | ||
authors: [{ name: 'Wasiq Bhamla' }], | ||
creator: 'Wasiq Bhamla', | ||
publisher: 'Wasiq Bhamla', | ||
formatDetection: { | ||
email: false, | ||
address: false, | ||
telephone: false, | ||
}, | ||
openGraph: { | ||
type: 'website', | ||
locale: 'en_US', | ||
url: 'https://ultra-reporter.com', | ||
title: 'Ultra Reporter - Beautiful Test Reports in One Click', | ||
description: | ||
'Convert your TestNG test results into beautiful, comprehensive reports instantly with Ultra Reporter. Visualize your data and improve your testing workflow.', | ||
siteName: 'Ultra Reporter', | ||
}, | ||
twitter: { | ||
card: 'summary_large_image', | ||
title: 'Ultra Reporter - Beautiful Test Reports in One Click', | ||
description: | ||
'Convert your TestNG test results into beautiful, comprehensive reports instantly with Ultra Reporter. Visualize your data and improve your testing workflow.', | ||
creator: '@WasiqBhamla', | ||
}, | ||
robots: { | ||
index: true, | ||
follow: true, | ||
googleBot: { | ||
index: true, | ||
follow: true, | ||
'max-video-preview': -1, | ||
'max-image-preview': 'large', | ||
'max-snippet': -1, | ||
}, | ||
}, | ||
}; | ||
|
||
const RootLayout = ({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
}>): DetailedHTMLProps< | ||
HtmlHTMLAttributes<HTMLHtmlElement>, | ||
HTMLHtmlElement | ||
> => { | ||
return ( | ||
<html lang='en' suppressHydrationWarning> | ||
<head> | ||
<link rel='icon' href='/favicon.png' sizes='any' type='image/png' /> | ||
</head> | ||
<body className={'antialiased'}> | ||
<ThemeProvider | ||
attribute='class' | ||
defaultTheme='light' | ||
enableSystem | ||
disableTransitionOnChange | ||
> | ||
{children} | ||
<ScrollToTop /> | ||
<Footer /> | ||
<AnalyticsProvider /> | ||
</ThemeProvider> | ||
</body> | ||
{isProd && <GoogleAnalytics gaId='G-CNW9F6PH7P' />} | ||
</html> | ||
); | ||
}; | ||
|
||
export default RootLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Button } from '@ultra-reporter/ui/components/button'; | ||
import { FileQuestion } from 'lucide-react'; | ||
import Link from 'next/link'; | ||
|
||
export default function NotFound() { | ||
return ( | ||
<div className='bg-background text-foreground flex min-h-screen flex-col items-center justify-center'> | ||
<FileQuestion className='text-primary mb-8 h-24 w-24' /> | ||
<h1 className='mb-4 text-4xl font-bold'>404 - Page Not Found</h1> | ||
<p className='mb-8 max-w-md text-center text-xl'> | ||
Oops! It seems what you're looking for has gone missing in our data | ||
center. | ||
</p> | ||
<Button asChild> | ||
<Link href='/'>Return to Homepage</Link> | ||
</Button> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { MetadataRoute } from 'next'; | ||
|
||
const robots = (): MetadataRoute.Robots => { | ||
return { | ||
rules: { | ||
userAgent: '*', | ||
allow: '/', | ||
disallow: '/private/', | ||
}, | ||
sitemap: 'https://ultra-reporter.com/sitemap.xml', | ||
}; | ||
}; | ||
|
||
export default robots; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { MetadataRoute } from 'next'; | ||
|
||
const baseUrl = 'https://ultra-reporter.com'; | ||
|
||
const sitemap = (): MetadataRoute.Sitemap => { | ||
const routes = ['', '/pricing', '/features', '/faq'].map((route) => ({ | ||
url: `${baseUrl}${route}`, | ||
lastModified: new Date().toISOString().split('T')[0], | ||
changeFrequency: 'weekly' as const, | ||
priority: route === '' ? 1 : 0.8, | ||
})); | ||
|
||
return routes; | ||
}; | ||
|
||
export default sitemap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ const nextConfig = { | |
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
reactStrictMode: true, | ||
}; | ||
|
||
export default nextConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { default } from '@ultra-reporter/tailwind-config/postcss.config'; | ||
export { default } from '@ultra-reporter/ui/postcss.config'; |
Oops, something went wrong.