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

style: format code with Prettier #23

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
44 changes: 22 additions & 22 deletions src/components/Sections/Features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ import { Button } from "../ui/button";
import Image from "next/image";

const Features = () => {
return (
<div className="w-full flex flex-col items-start gap-6 mt-24">
<div className="flex items-start gap-4 w-full">
<div className="flex flex-col items-start gap-4 w-[40%]">
<h1 className="text-4xl">Why Careersync Stands Out</h1>
<p className="text-xl text-gray-800 dark:text-gray-400">
Careersync is the ultimate resume builder for tech professionals. We
offer a variety of features that will help you create a jaw-dropping
resume in minutes.
</p>
<Link href="/builder">
<Button size="sm">Explore Resumes</Button>
</Link>
</div>
<div className="w-[60%] rounded-lg bg-slate-800 h-[500px] backdrop-blur-md bg-opacity-40 p-4 shadow-lg relative"></div>
</div>
<div className="flex items-start w-full gap-10">
<div className="w-[50%] rounded-lg bg-slate-800 h-[500px] backdrop-blur-md bg-opacity-40 p-4 shadow-lg"></div>
<div className="w-[50%] rounded-lg bg-slate-800 h-[500px] backdrop-blur-md bg-opacity-40 p-4 shadow-lg"></div>
</div>
</div>
);
return (
<div className="w-full flex flex-col items-start gap-6 mt-24">
<div className="flex items-start gap-4 w-full">
<div className="flex flex-col items-start gap-4 w-[40%]">
<h1 className="text-4xl">Why Careersync Stands Out</h1>
<p className="text-xl text-gray-800 dark:text-gray-400">
Careersync is the ultimate resume builder for tech professionals. We
offer a variety of features that will help you create a jaw-dropping
resume in minutes.
</p>
<Link href="/builder">
<Button size="sm">Explore Resumes</Button>
</Link>
</div>
<div className="w-[60%] rounded-lg bg-slate-800 h-[500px] backdrop-blur-md bg-opacity-40 p-4 shadow-lg relative"></div>
</div>
<div className="flex items-start w-full gap-10">
<div className="w-[50%] rounded-lg bg-slate-800 h-[500px] backdrop-blur-md bg-opacity-40 p-4 shadow-lg"></div>
<div className="w-[50%] rounded-lg bg-slate-800 h-[500px] backdrop-blur-md bg-opacity-40 p-4 shadow-lg"></div>
</div>
</div>
);
};

export default Features;
63 changes: 32 additions & 31 deletions src/components/Sections/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,38 @@ import { Button } from "../ui/button";
import Image from "next/image";

const Hero = () => {
return (
<div className="w-full min-h-[80vh] my-8 bg-gray-900 py-4 px-16 rounded-lg flex items-center justify-between relative overflow-hidden">
<div className="flex flex-col items-start gap-4 w-[50%]">
<p className="font-thin text-slate-200">
Level Up Your Career in Tech with CareerSync: The Ultimate Resume
Builder
</p>
<h1 className="text-5xl text-white">
Create a jaw-dropping resume effortlessly, customized for tech
professionals.
</h1>
<Link href="/builder">
<Button
size="sm"
className="bg-white text-primary hover:bg-slate-300">
Build My Resume Now
</Button>
</Link>
</div>
<div className="flex items-center justify-end w-[50%]">
<div className="h-[700px] w-[595px] rounded-lg relative">
<Image
src="/images/Figmer.png"
layout="fill"
objectFit="contain"
alt="Figmer"
/>
</div>
</div>
</div>
);
return (
<div className="w-full min-h-[80vh] my-8 bg-gray-900 py-4 px-16 rounded-lg flex items-center justify-between relative overflow-hidden">
<div className="flex flex-col items-start gap-4 w-[50%]">
<p className="font-thin text-slate-200">
Level Up Your Career in Tech with CareerSync: The Ultimate Resume
Builder
</p>
<h1 className="text-5xl text-white">
Create a jaw-dropping resume effortlessly, customized for tech
professionals.
</h1>
<Link href="/builder">
<Button
size="sm"
className="bg-white text-primary hover:bg-slate-300"
>
Build My Resume Now
</Button>
</Link>
</div>
<div className="flex items-center justify-end w-[50%]">
<div className="h-[700px] w-[595px] rounded-lg relative">
<Image
src="/images/Figmer.png"
layout="fill"
objectFit="contain"
alt="Figmer"
/>
</div>
</div>
</div>
);
};

export default Hero;
37 changes: 19 additions & 18 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,27 @@ import { Syne } from "@next/font/google";
import { ThemeProvider } from "@/providers/theme-provider";

const syne = Syne({
subsets: ["latin-ext"],
variable: "--font-syne",
subsets: ["latin-ext"],
variable: "--font-syne",
});

export default function App({ Component, pageProps }: AppProps) {
let persistor = persistStore(store);
let persistor = persistStore(store);

return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<ThemeProvider
attribute="class"
defaultTheme="light"
enableSystem
disableTransitionOnChange>
<main className={`${syne.variable} font-sans`}>
<Component {...pageProps} />
</main>
</ThemeProvider>
</PersistGate>
</Provider>
);
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<ThemeProvider
attribute="class"
defaultTheme="light"
enableSystem
disableTransitionOnChange
>
<main className={`${syne.variable} font-sans`}>
<Component {...pageProps} />
</main>
</ThemeProvider>
</PersistGate>
</Provider>
);
}