Finishing Touches

This commit is contained in:
2024-12-09 23:03:12 -05:00
parent 11f89c9997
commit d28ad3ee9d
15 changed files with 183 additions and 9 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 319 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

+83 -9
View File
@@ -1,17 +1,96 @@
import moment from 'moment';
import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/react'
var headers = ['header','header1']
var headers = [{
src: "/images/planes/20230920_181416.jpg",
width: 4000,
height: 1868,
model: "AN124",
manufacturer: "Antonov",
date: "09/20/2023",
location: "KBGR",
reg: "UR-82072"
},
{
src: "/images/planes/20241207_151807.jpg",
width: 4000,
height: 1419,
model: "A300-600ST",
manufacturer: "Airbus",
date: "12/07/2024",
location: "KBGR",
reg: "F-GSTC"
},
{
src: "/images/planes/20230926_144016.jpg",
width: 4000,
height: 1868,
model: "206",
manufacturer: "Cessna",
date: "09/26/2023",
location: "KBGR",
reg: "01970"
},
{
src: "/images/planes/20230926_135151.jpg",
width: 4000,
height: 1868,
model: "UH-60",
manufacturer: "Sikorsky",
date: "09/26/2023",
location: "KBGR",
reg: "6039"
},
{
src: "/images/planes/20230625_175812.jpg",
width: 1868,
height: 1051,
model: "A10 / F35",
manufacturer: "Various",
date: "06/25/2023",
location: "KBGR",
reg: "Various"
},
{
src: "/images/planes/20230728_161709.jpg",
width: 4000,
height: 1514,
model: "MV-22",
manufacturer: "Boeing",
date: "07/28/2023",
location: "KBXM",
reg: "N/A"
},
{
src: "/images/planes/20230625_180016.jpg",
width: 4000,
height: 1868,
model: "C-130",
manufacturer: "Lockheed",
date: "06/25/2023",
location: "KBGR",
reg: "65849"
}]
export function Header() {
var image = headers[Math.floor(Math.random() * (headers.length))]
return (
<header className="pt-5 w-1/1 flex justify-center">
<div className="shadow-lg w-[98%] bg-slate-900 flex rounded-lg h-[400px] max-lg:ml-5 max-lg:mr-5">
<div className="self-end pb-5">
<header className="w-[96%] h-[400px] ml-[2%] mr-[2%] mb-5 pt-5 w-1/1 flex justify-center">
<div className='w-[98%] ml-[2%] mr-[2%] h-[400px] z-0 absolute brightness-[75%] flex items-center'>
<img className="w-full h-[400px] object-cover rounded-lg" src={image.src}/>
</div>
<div className="shadow-lg w-[98%] ml-[2%] mr-[2%] fixed absolute rounded-lg h-[400px] flex">
<div className="self-end pb-5 w-full">
<div className="pl-5 self-end text-[50px]">Nicholas Pease</div>
<div className="pl-5 self-end text-[15px]">My portfolio and project place.</div>
</div>
<div className='place-self-end w-fit mr-5 mb-5'>
<a href="/personal/plane-spotting" className='max-md:hidden text-nowrap'>{image.manufacturer} {image.model} [{image.date}]</a>
</div>
</div>
</header>
);
}
@@ -45,11 +124,6 @@ function PersonalNav() {
<Menu>
<MenuButton className="pl-2 pr-2 hover:bg-slate-600">Personal</MenuButton>
<MenuItems anchor="bottom start" className="bg-slate-900 text-center mt-3 rounded-lg">
<MenuItem className="p-2">
<a className="block data-[focus]:bg-slate-600" href="/personal/about-me">
About Me
</a>
</MenuItem>
<MenuItem className="p-2">
<a className="block data-[focus]:bg-slate-600" href="/personal/plane-spotting">
Plane Spotting
@@ -52,6 +52,36 @@ const PLANES = [{
location: "KBGR",
reg: "UR-82072"
},
{
src: "/images/planes/20230920_181428.jpg",
width: 4000,
height: 1868,
model: "AN124",
manufacturer: "Antonov",
date: "09/20/2023",
location: "KBGR",
reg: "UR-82072"
},
{
src: "/images/planes/20230920_181432.jpg",
width: 4000,
height: 1868,
model: "AN124",
manufacturer: "Antonov",
date: "09/20/2023",
location: "KBGR",
reg: "UR-82072"
},
{
src: "/images/planes/20230926_144016.jpg",
width: 4000,
height: 1868,
model: "206",
manufacturer: "Cessna",
date: "09/26/2023",
location: "KBGR",
reg: "01970"
},
{
src: "/images/planes/20231014_151149.jpg",
width: 4000,
@@ -66,6 +96,76 @@ const PLANES = [{
date: "12/01/2024",
location: "KBGR",
reg: "F-GSTC"
},
{
src: "/images/planes/20241207_151807.jpg",
width: 4000,
height: 1419,
model: "A300-600ST",
manufacturer: "Airbus",
date: "12/07/2024",
location: "KBGR",
reg: "F-GSTC"
},
{
src: "/images/planes/20230625_175812.jpg",
width: 1868,
height: 1051,
model: "A10 / F35",
manufacturer: "Various",
date: "06/25/2023",
location: "KBGR",
reg: "Various"
},
{
src: "/images/planes/20230603_120656.jpg",
width: 4000,
height: 1868,
model: "E145",
manufacturer: "Embraer",
date: "06/03/2023",
location: "KBGR",
reg: "SE-DZA"
},
{
src: "/images/planes/20230926_135151.jpg",
width: 4000,
height: 1868,
model: "UH-60",
manufacturer: "Sikorsky",
date: "09/26/2023",
location: "KBGR",
reg: "6039"
},
{
src: "/images/planes/20230728_161709.jpg",
width: 4000,
height: 1514,
model: "MV-22",
manufacturer: "Boeing",
date: "07/28/2023",
location: "KBXM",
reg: "N/A"
},
{
src: "/images/planes/20230728_160853.jpg",
width: 4000,
height: 1868,
model: "VC-25",
manufacturer: "Boeing",
date: "07/28/2023",
location: "KBXM",
reg: "29000"
},
{
src: "/images/planes/20230625_180016.jpg",
width: 4000,
height: 1868,
model: "C-130",
manufacturer: "Lockheed",
date: "06/25/2023",
location: "KBGR",
reg: "65849"
}]