Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaynegi45 committed Sep 30, 2024
1 parent de52d26 commit 9eb276c
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 92 deletions.
Binary file removed src/app/favicon.ico
Binary file not shown.
Binary file added src/app/fonts/DepartureMono-Regular.woff
Binary file not shown.
4 changes: 4 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ a {
color-scheme: dark;
}
}

h1{
font-family: var(----departure-mono);
}
13 changes: 10 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ const geistMono = localFont({
weight: "100 900",
});


const departureMono = localFont({
src: "./fonts/DepartureMono-Regular.woff",
variable: "--departure-mono",
weight: "100 900",
});

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: "Convert Files - Secure & Fast",
description: "Fast and secure file converter that transforms any file type into compatible formats directly on your device. Powered by WebAssembly, your files stay safe as nothing is uploaded to a server. Enjoy hassle-free, offline file conversions tool that keeps your data private.",
};

export default function RootLayout({
Expand All @@ -25,7 +32,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
<body className={`${departureMono.variable} ${geistSans.variable} ${geistMono.variable} `}>
{children}
</body>
</html>
Expand Down
5 changes: 5 additions & 0 deletions src/app/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,8 @@ a.secondary {
filter: invert();
}
}


#heading{
font-family: var(----departure-mono);
}
92 changes: 3 additions & 89 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,95 +1,9 @@
import Image from "next/image";
import styles from "./page.module.css";

export default function Home() {
return (
<div className={styles.page}>
<main className={styles.main}>
<Image
className={styles.logo}
src="https://nextjs.org/icons/next.svg"
alt="Next.js logo"
width={180}
height={38}
priority
/>
<ol>
<li>
Get started by editing <code>src/app/page.tsx</code>.
</li>
<li>Save and see your changes instantly.</li>
</ol>

<div className={styles.ctas}>
<a
className={styles.primary}
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
className={styles.logo}
src="https://nextjs.org/icons/vercel.svg"
alt="Vercel logomark"
width={20}
height={20}
/>
Deploy now
</a>
<a
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
className={styles.secondary}
>
Read our docs
</a>
</div>
</main>
<footer className={styles.footer}>
<a
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="https://nextjs.org/icons/file.svg"
alt="File icon"
width={16}
height={16}
/>
Learn
</a>
<a
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="https://nextjs.org/icons/window.svg"
alt="Window icon"
width={16}
height={16}
/>
Examples
</a>
<a
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
target="_blank"
rel="noopener noreferrer"
>
<Image
aria-hidden
src="https://nextjs.org/icons/globe.svg"
alt="Globe icon"
width={16}
height={16}
/>
Go to nextjs.org →
</a>
</footer>
</div>
<>
<h1 id={styles.heading}>Hello Convert Files</h1>
</>
);
}

0 comments on commit 9eb276c

Please sign in to comment.