-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: all website done. No mobile responsive & no project animation
- Loading branch information
Showing
25 changed files
with
528 additions
and
135 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,7 @@ | ||
import { Gasoek_One, Montserrat } from "next/font/google"; | ||
|
||
export const montserrat = Montserrat({ subsets: ['latin'] }) | ||
export const gasoekOne = Gasoek_One({ | ||
subsets: ['latin'], | ||
weight: "400" | ||
}) |
Binary file not shown.
Binary file not shown.
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
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,101 +1,19 @@ | ||
import Image from "next/image"; | ||
import AboutSection from "@/components/sections/about"; | ||
import FaqSection from "@/components/sections/faq"; | ||
import Footer from "@/components/sections/footer"; | ||
import Header from "@/components/sections/header"; | ||
import ProjectsSection from "@/components/sections/projects"; | ||
import TeamSection from "@/components/sections/team"; | ||
|
||
export default function Home() { | ||
return ( | ||
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]"> | ||
<main className="flex flex-col gap-8 row-start-2 items-center sm:items-start"> | ||
<Image | ||
className="dark:invert" | ||
src="https://nextjs.org/icons/next.svg" | ||
alt="Next.js logo" | ||
width={180} | ||
height={38} | ||
priority | ||
/> | ||
<ol className="list-inside list-decimal text-sm text-center sm:text-left font-[family-name:var(--font-geist-mono)]"> | ||
<li className="mb-2"> | ||
Get started by editing{" "} | ||
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold"> | ||
src/app/page.tsx | ||
</code> | ||
. | ||
</li> | ||
<li>Save and see your changes instantly.</li> | ||
</ol> | ||
|
||
<div className="flex gap-4 items-center flex-col sm:flex-row"> | ||
<a | ||
className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5" | ||
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<Image | ||
className="dark:invert" | ||
src="https://nextjs.org/icons/vercel.svg" | ||
alt="Vercel logomark" | ||
width={20} | ||
height={20} | ||
/> | ||
Deploy now | ||
</a> | ||
<a | ||
className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:min-w-44" | ||
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Read our docs | ||
</a> | ||
</div> | ||
</main> | ||
<footer className="row-start-3 flex gap-6 flex-wrap items-center justify-center"> | ||
<a | ||
className="flex items-center gap-2 hover:underline hover:underline-offset-4" | ||
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&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 | ||
className="flex items-center gap-2 hover:underline hover:underline-offset-4" | ||
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&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 | ||
className="flex items-center gap-2 hover:underline hover:underline-offset-4" | ||
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&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 className="text-gray-50"> | ||
<Header /> | ||
<ProjectsSection /> | ||
<AboutSection /> | ||
<TeamSection /> | ||
<FaqSection /> | ||
<Footer /> | ||
</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,37 @@ | ||
import cn from "@/utils/function"; | ||
|
||
interface ArrowProps { | ||
color?: 50 | 900; | ||
rotate?: boolean; | ||
} | ||
|
||
|
||
|
||
const Arrow = ({ color, rotate }: ArrowProps) => { | ||
|
||
const hexaColor = color === 50 | ||
? '#f9fafb' | ||
: '#111827'; | ||
|
||
return ( | ||
<svg | ||
width="10" | ||
height="12" | ||
viewBox="0 0 10 12" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
className={cn( | ||
rotate && ' -rotate-90' | ||
)}> | ||
<mask id="path-1-inside-1_195_37" fill="white"> | ||
<path d="M0 1.01831H10V11.0183H0L0 1.01831Z"/> | ||
</mask> | ||
<path d="M10 11.0183V12.0183H11V11.0183H10ZM9 1.01831V11.0183H11V1.01831H9ZM10 10.0183H0L0 12.0183H10V10.0183Z" fill={hexaColor} mask="url(#path-1-inside-1_195_37)"/> | ||
<path d="M0.422852 1.06903L9 10.0002" stroke={hexaColor} /> | ||
</svg> | ||
|
||
|
||
); | ||
} | ||
|
||
export default Arrow; |
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,79 @@ | ||
import { gasoekOne } from "@/app/font" | ||
import cn from "@/utils/function" | ||
import Arrow from "./arrow" | ||
|
||
export default function Content() { | ||
return ( | ||
<div className='max-w-[1700px] mx-auto py-8 px-5 lg:px-10 h-full w-full flex flex-col justify-between'> | ||
<Nav /> | ||
<BottomFooter /> | ||
</div> | ||
) | ||
} | ||
|
||
|
||
const BottomFooter = () => { | ||
return ( | ||
<div className="flex flex-col gap-8"> | ||
<h2 className={cn( | ||
gasoekOne.className, | ||
'uppercase text-8xl text-gray-900' | ||
)}> | ||
404 Devinci | ||
</h2> | ||
<div className="w-full h-[1px] bg-gray-900" /> | ||
<div className='flex items-center justify-between text-gray-900'> | ||
<p>2024 © All Rights Reserved</p> | ||
<p>Legal notices</p> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
const Nav = () => { | ||
return ( | ||
<div className="w-full flex justify-between"> | ||
<div className="flex flex-col gap-3 text-gray-900"> | ||
<h3 className="uppercase text-xl font-semibold">Social media</h3> | ||
<div className="flex flex-col"> | ||
<div> | ||
<a | ||
href="https://www.linkedin.com/company/la-404-devinci/" | ||
target="_blank" | ||
className="inline-flex items-center gap-2 group" | ||
> | ||
<div className="group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition"> | ||
<Arrow rotate /> | ||
</div> | ||
</a> | ||
</div> | ||
<div> | ||
<a | ||
href="https://instagram.com/la404.devinci" | ||
target="_blank" | ||
className="inline-flex items-center gap-2 group" | ||
> | ||
<div className="group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition"> | ||
<Arrow rotate /> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div className="w-56 h-16 rounded-full border border-black flex items-center | ||
justify-center text-gray-900 text-xl relative group overflow-hidden" | ||
> | ||
<a href="mailto:[email protected]" className="z-10"> | ||
[email protected] | ||
</a> | ||
<div className="absolute -bottom-full left-1/2 -translate-x-1/2 h-full rounded-[100%] | ||
bg-blue-400 w-full group-hover:w-[140%] group-hover:bottom-1/2 group-hover:translate-y-1/2 | ||
transition-all duration-500 group-hover:h-[130%]" /> | ||
</div> | ||
|
||
</div> | ||
) | ||
} |
Oops, something went wrong.