Recreated the logo with divs and an h1

It wasn't too difficult to do this. Also I did this so that I can
eventually make the purple and magenta squares rotate.
This commit is contained in:
Puppet committed 2025-08-17 12:14:29 -07:00
1 parent 4b22d31989
commit db017c238a
3 files changed
+6 -4

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

+1 -1
View File
@@ -17,5 +17,5 @@ h1, h2, h3, p {
}
.logo-container {
@apply fixed right-30 top-1/2 -translate-y-1/2;
@apply fixed right-100 top-1/2 -translate-y-1/2;
}
+5 -3
View File
@@ -1,6 +1,4 @@
import { Metadata } from 'next'
import Image from 'next/image'
import codefly from './assets/logo.png'
export const metadata: Metadata = {
title: 'Code Fly - Home'
@@ -17,7 +15,11 @@ export default function Home () {
</div>
<div className='logo-container'>
<Image src={codefly} alt='Code Fly Logo' width={600} height={600} />
<div className='absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-[#4400ff] w-100 h-100 rounded-2xl rotate-345'></div>
<div className='absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-[#ea00ff] w-100 h-100 rounded-2xl rotate-15'></div>
<div className='absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-[#000000] w-70 h-70 rounded-2xl'>
<h1 className='absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 !text-[#9900ff] text-5xl whitespace-nowrap'>Code Fly</h1>
</div>
</div>
</>
)