Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All changes #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions app/(pages)/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const Page = () => {
return (
<>
<Hero2 data={hero2Data} />
<Stats {...statsData} />
{/* <Stats {...statsData} /> */}
<Features4 {...featuresData3} />
<FAQs {...faqsData} />
{/* <FAQs {...faqsData} /> */}
</>
);
};
Expand Down
6 changes: 3 additions & 3 deletions app/(pages)/pricing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export const metadata: Metadata = {
const Page = () => {
return (
<>
<Pricing {...pricingData} />
<Comparison {...comparisonData} />
<FAQs3 {...faqs3Data} />
{/* <Pricing {...pricingData} /> */}
{/* <Comparison {...comparisonData} /> */}
{/* <FAQs3 {...faqs3Data} /> */}
</>
);
};
Expand Down
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { SITE } from '~/config.js';

import Providers from '~/components/atoms/Providers';
import Header from '~/components/widgets/Header';
import Announcement from '~/components/widgets/Announcement';
// import Announcement from '~/components/widgets/Announcement';
import Footer2 from '~/components/widgets/Footer2';

import { Inter as CustomFont } from 'next/font/google';
Expand Down Expand Up @@ -33,7 +33,7 @@ export default function RootLayout({ children }: LayoutProps) {
</head>
<body className="bg-white tracking-tight text-gray-900 antialiased dark:bg-slate-900 dark:text-slate-300">
<Providers>
<Announcement />
{/* <Announcement /> */}
<Header />
<main>{children}</main>
<Footer2 />
Expand Down
17 changes: 10 additions & 7 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,21 @@ export const metadata: Metadata = {
export default function Page() {
return (
<>
<Hero data={heroData} />
{
<Hero data={heroData} />
/*
<SocialProof {...socialProofData} />
<Features3 {...featuresData} />
<Content {...contentData} />
<Content {...content2Data} />
<Steps />
<Steps /> */}
<Testimonial />
<FAQs2 {...faqsData2} />
<Pricing {...pricingData} />
<Team />
<Contact />
<CallToAction2 {...callToActionData} />
{/* <FAQs2 {...faqsData2} /> */}
{/* <Pricing {...pricingData} /> */}
{/* <Team /> */}
{/* <Contact /> */}
{/* <CallToAction2 {...callToActionData} /> */}

</>
);
}
7 changes: 6 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {

trailingSlash: SITE.trailingSlash,
basePath: SITE.basePathname !== '/' ? SITE.basePathname : '',

output: "export",
swcMinify: true,
poweredByHeader: false,
images: {
Expand All @@ -20,6 +20,11 @@ module.exports = {
hostname: 'source.unsplash.com',
},
],
domains: ['s3.amazonaws.com'],
unoptimized: true
},
experimental: { appDir: true },
env: {
s3_url: 'https://s3.amazonaws.com/codecracksolutions.com/'
}
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "next build && next export",
"start": "next start",
"lint": "next lint",
"postbuild": "next-sitemap",
Expand Down
72 changes: 36 additions & 36 deletions src/components/widgets/Announcement.tsx
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
/* eslint-disable @next/next/no-img-element */
import { announcementData } from '~/shared/data';
// import { announcementData } from '~/shared/data';

const Announcement = () => {
const { title, callToAction, callToAction2 } = announcementData;
// const Announcement = () => {
// const { title, callToAction, callToAction2 } = announcementData;

return (
<div className="hidden overflow-hidden text-ellipsis whitespace-nowrap border-b border-blue-900 bg-blue-900 px-3 py-2 text-sm text-gray-200 md:block">
<span className="bg-blue-800 py-0.5 px-1 text-xs font-semibold">{title}</span>{' '}
{callToAction && callToAction.text && callToAction.href && (
<a
href={callToAction.href}
target="_blank"
rel="noreferrer noopened"
className="cursor-pointer text-gray-100 hover:underline"
>
{callToAction.icon && <callToAction.icon className="mr-1 -ml-1.5 h-5 w-5" />} {callToAction.text}
</a>
)}
{callToAction2 && callToAction2.text && callToAction2.href && (
<a
href={callToAction2.href}
target="_blank"
rel="noreferrer"
className="float-right"
title={callToAction2.text}
>
<img
src="https://img.shields.io/twitter/url/https/twitter.com/onwidget.svg?style=social&amp;label=Follow%20%40onWidget"
alt="Follow @onWidget"
width="125"
height="20"
/>
</a>
)}
</div>
);
};
// return (
// <div className="hidden overflow-hidden text-ellipsis whitespace-nowrap border-b border-blue-900 bg-blue-900 px-3 py-2 text-sm text-gray-200 md:block">
// <span className="bg-blue-800 py-0.5 px-1 text-xs font-semibold">{title}</span>{' '}
// {callToAction && callToAction.text && callToAction.href && (
// <a
// href={callToAction.href}
// target="_blank"
// rel="noreferrer noopened"
// className="cursor-pointer text-gray-100 hover:underline"
// >
// {callToAction.icon && <callToAction.icon className="mr-1 -ml-1.5 h-5 w-5" />} {callToAction.text}
// </a>
// )}
// {callToAction2 && callToAction2.text && callToAction2.href && (
// <a
// href={callToAction2.href}
// target="_blank"
// rel="noreferrer"
// className="float-right"
// title={callToAction2.text}
// >
// <img
// src="https://img.shields.io/twitter/url/https/twitter.com/onwidget.svg?style=social&amp;label=Follow%20%40onWidget"
// alt="Follow @onWidget"
// width="125"
// height="20"
// />
// </a>
// )}
// </div>
// );
// };

export default Announcement;
// export default Announcement;
4 changes: 2 additions & 2 deletions src/components/widgets/Contact2.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { contact2Data } from '~/shared/data';
import { contactData } from '~/shared/data';
import Form from '../common/Form';
import HeaderWidget from '../common/HeaderWidget';

const Contact2 = () => {
const { header, form } = contact2Data;
const { header, form } = contactData;

return (
<section className="bg-primary-50 dark:bg-slate-800" id="contactTwo">
Expand Down
5 changes: 3 additions & 2 deletions src/components/widgets/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ToggleDarkMode from '~/components/atoms/ToggleDarkMode';
import Link from 'next/link';
import Logo from '~/components/atoms/Logo';
import ToggleMenu from '../atoms/ToggleMenu';
import { headerData } from '~/shared/data';
import { headerData, logoData } from '~/shared/data';
import CTA from '../common/CTA';
import CallToAction from './CallToAction';

Expand Down Expand Up @@ -48,6 +48,7 @@ const Header = () => {
setIsToggleMenuOpen(!isToggleMenuOpen);
};


return (
<header
className={`top-0 z-40 mx-auto w-full flex-none bg-white transition-all duration-100 ease-in dark:bg-slate-900 md:bg-white/90 md:backdrop-blur-sm dark:md:bg-slate-900/90 ${
Expand All @@ -64,7 +65,7 @@ const Header = () => {
isToggleMenuOpen ? handleToggleMenuOnClick() : setIsDropdownOpen(updatedIsDropdownOpen as boolean[])
}
>
<Logo />
<Logo data= {logoData}/>
</Link>
<div className="flex items-center md:hidden">
<ToggleMenu handleToggleMenuOnClick={handleToggleMenuOnClick} isToggleMenuOpen={isToggleMenuOpen} />
Expand Down
8 changes: 4 additions & 4 deletions src/components/widgets/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ const Hero = (props: { data: HeroProps }) => {
<div className="mx-auto max-w-7xl px-4 sm:px-6">
<div className="py-12 md:py-20">
<div className="mx-auto max-w-4xl pb-10 text-center md:pb-16">
{title && (
{/* {title && (
<h1 className="leading-tighter font-heading mb-6 text-5xl font-bold tracking-tighter md:text-6xl">
{title}
</h1>
)}
<div className="mx-auto max-w-3xl">
)} */}
{/* <div className="mx-auto max-w-3xl">
{subtitle && <p className="mb-6 text-xl font-normal text-gray-600 dark:text-slate-400">{subtitle}</p>}
<div className="flex max-w-none flex-col flex-nowrap gap-4 px-4 sm:flex-row sm:justify-center">
{callToAction && <CTA data={callToAction} />}
{callToAction2 && <CTA data={callToAction2} />}
</div>
</div>
</div> */}
</div>
{image && (
<div className="relative m-auto max-w-5xl">
Expand Down
47 changes: 47 additions & 0 deletions src/components/widgets/Testimonial.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.dashboard {
/* padding: 24px; */
background-color: red;
position: absolute;

}

/* .testimonial-comment {
m-b-30;
font-light;
dark:text-slate-400;
} */

.comment {
/* padding: 24px; */
background-color: red;
position: absolute;
width: 519px;

}

.icon {
background-color: orange;
margin-top: 100px;
}

.root {
box-sizing: border-box;
}

/* Create two equal columns that floats next to each other */
.column {
float: bottom;
width: 50%;
padding: 10px;
height: 300px;
background-color: orange; /* Should be removed. Only for demonstration */
border-radius: 15px;
border-color: blue;
}

/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
18 changes: 9 additions & 9 deletions src/components/widgets/Testimonial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,33 @@ const Testimonial = () => {
{testimonials.map(({ name, occupation, comment, image, icon: Icon, href }, index) => (
<div
key={`item-testimonial-${index}`}
className="col-span-3 flex sm:col-span-1 md:col-span-1 lg:col-span-1 xl:col-span-1"
className="flex-col col-span-3 flex sm:col-span-1 md:col-span-1 lg:col-span-1 xl:col-span-1"
>
<div className="flex-flow card flex border-b-[3px] border-transparent text-center hover:border-primary-600 hover:shadow-lg hover:transition hover:duration-100">
<div className="flex-col flex-flow card flex border-b-[3px] border-transparent text-center hover:border-primary-600 hover:shadow-lg hover:transition hover:duration-100">
<a
href={href}
target="_blank"
rel="noopener noreferrer"
key={`item-testimonial-${index}`}
className="card-body"
>
<div className="mb-4 flex">
<div className="mb-4">
{image && (
<Image
src={image.src}
width={48}
height={48}
width={348}
height={348}
alt={image.alt}
className="mr-4 h-12 w-12 rounded-full object-cover shadow-lg"
className="object-cover h-48 w-96 shadow-lg"
/>
)}
<div className="text-left">
<div className="text-center my-4">
<h3 className="font-semibold">{name}</h3>
<span className="">{occupation}</span>
{/* <span className="">{occupation}</span> */}
</div>
</div>
{comment && (
<p className="m-b-30 font-light dark:text-slate-400">{`"${comment.slice(0, 150)}..."`}</p>
<p className="text-left work-break list-disc">{`${comment}`}</p>
)}
{href && Icon && <Icon className="mx-auto mt-4 h-6 w-6 text-primary-600 dark:text-slate-200" />}
</a>
Expand Down
Binary file added src/public/aws.jpg
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 src/public/cicd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file added src/public/logo.jpg
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 src/public/resources-hire.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# *
User-agent: *
Allow: /

# Host
Host: https://tailnext.vercel.app/

# Sitemaps
Sitemap: https://tailnext.vercel.app/sitemap.xml
15 changes: 15 additions & 0 deletions src/public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://tailnext.vercel.app</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/pricing</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/terms</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/faqs</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/about</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/blog</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/contact</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/demo-post-1</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/demo-post-2</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/demo-post-3</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/demo-post-4</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://tailnext.vercel.app/privacy</loc><lastmod>2023-12-01T17:57:30.546Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
4 changes: 4 additions & 0 deletions src/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>https://tailnext.vercel.app/sitemap-0.xml</loc></sitemap>
</sitemapindex>
File renamed without changes
Binary file added src/public/web-development.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading