mirror of
https://github.com/Alee14/alure-website.git
synced 2025-01-22 10:51:53 -05:00
Added navbar, and homepage
This commit is contained in:
parent
1a18c9a67b
commit
3a684e3505
4 changed files with 155 additions and 113 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -33,3 +33,5 @@ yarn-error.log*
|
|||
# typescript
|
||||
*.tsbuildinfo
|
||||
next-env.d.ts
|
||||
|
||||
.idea/
|
||||
|
|
|
@ -1,17 +1,62 @@
|
|||
import './globals.css'
|
||||
import { Inter } from 'next/font/google'
|
||||
import { Exo } from 'next/font/google'
|
||||
import Link from 'next/link'
|
||||
import Image from "next/image";
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] })
|
||||
const exo = Exo({ subsets: ['latin'] })
|
||||
|
||||
export const metadata = {
|
||||
title: 'Create Next App',
|
||||
description: 'Generated by create next app',
|
||||
title: 'Government of Alure Regions',
|
||||
description: 'Information about Alure Regions',
|
||||
}
|
||||
|
||||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}</body>
|
||||
<body className={exo.className}>
|
||||
<nav className="border-gray-200">
|
||||
<div className="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4">
|
||||
<Link href="/" className="flex items-center">
|
||||
<Image src="/alure_flag.svg" className="mr-5" alt="Alure Flag" width={70} height={70}/>
|
||||
<span className="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">Alure Regions</span>
|
||||
</Link>
|
||||
<button data-collapse-toggle="navbar-default" type="button"
|
||||
className="transition duration-150 ease-out hover:ease-in inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
|
||||
aria-controls="navbar-default" aria-expanded="false">
|
||||
<span className="sr-only">Open main menu</span>
|
||||
<svg className="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
|
||||
viewBox="0 0 17 14">
|
||||
<path stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"
|
||||
d="M1 1h15M1 7h15M1 13h15"/>
|
||||
</svg>
|
||||
</button>
|
||||
<div className="hidden w-full md:block md:w-auto" id="navbar-default">
|
||||
<ul className="font-medium flex flex-col p-4 md:p-0 mt-4 rounded-lg md:flex-row md:space-x-8 md:mt-0">
|
||||
{[
|
||||
['Home', '/'],
|
||||
['About', '#'],
|
||||
['Services', '#'],
|
||||
['ExploreAlure', '#'],
|
||||
].map(([title, url]) => (
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
<li>
|
||||
<Link href={url}
|
||||
className="transition duration-150 ease-out hover:ease-in block py-2 pl-3 pr-4 rounded md:border-0 md:p-0 text-white md:hover:text-blue-500 hover:bg-gray-700 hover:text-white md:hover:bg-transparent">{title}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
{ /*<li>
|
||||
<a href="#"
|
||||
className="block py-2 pl-3 pr-4 text-white bg-blue-700 rounded md:bg-transparent md:text-blue-700 md:p-0 dark:text-white md:dark:text-blue-500"
|
||||
aria-current="page">Home</a>
|
||||
</li> */}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
|
|
110
app/page.js
110
app/page.js
|
@ -1,113 +1,7 @@
|
|||
import Image from 'next/image'
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main className="flex min-h-screen flex-col items-center justify-between p-24">
|
||||
<div className="z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex">
|
||||
<p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
|
||||
Get started by editing
|
||||
<code className="font-mono font-bold">app/page.js</code>
|
||||
</p>
|
||||
<div className="fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:h-auto lg:w-auto lg:bg-none">
|
||||
<a
|
||||
className="pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0"
|
||||
href="https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
By{' '}
|
||||
<Image
|
||||
src="/vercel.svg"
|
||||
alt="Vercel Logo"
|
||||
className="dark:invert"
|
||||
width={100}
|
||||
height={24}
|
||||
priority
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="relative flex place-items-center before:absolute before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 before:lg:h-[360px] z-[-1]">
|
||||
<Image
|
||||
className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert"
|
||||
src="/next.svg"
|
||||
alt="Next.js Logo"
|
||||
width={180}
|
||||
height={37}
|
||||
priority
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="mb-32 grid text-center lg:mb-0 lg:grid-cols-4 lg:text-left">
|
||||
<a
|
||||
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
||||
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h2 className={`mb-3 text-2xl font-semibold`}>
|
||||
Docs{' '}
|
||||
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
||||
->
|
||||
</span>
|
||||
</h2>
|
||||
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
||||
Find in-depth information about Next.js features and API.
|
||||
</p>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
||||
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800 hover:dark:bg-opacity-30"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h2 className={`mb-3 text-2xl font-semibold`}>
|
||||
Learn{' '}
|
||||
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
||||
->
|
||||
</span>
|
||||
</h2>
|
||||
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
||||
Learn about Next.js in an interactive course with quizzes!
|
||||
</p>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
||||
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h2 className={`mb-3 text-2xl font-semibold`}>
|
||||
Templates{' '}
|
||||
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
||||
->
|
||||
</span>
|
||||
</h2>
|
||||
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
||||
Explore the Next.js 13 playground.
|
||||
</p>
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
|
||||
className="group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<h2 className={`mb-3 text-2xl font-semibold`}>
|
||||
Deploy{' '}
|
||||
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
|
||||
->
|
||||
</span>
|
||||
</h2>
|
||||
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
|
||||
Instantly deploy your Next.js site to a shareable URL with Vercel.
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
<main className="flex flex-col justify-between p-2">
|
||||
<h1 className="text-2xl font-bold">Welcome to Alure Regions</h1>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
|
101
public/alure_flag.svg
Executable file
101
public/alure_flag.svg
Executable file
|
@ -0,0 +1,101 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="211.211mm"
|
||||
height="105.605mm"
|
||||
viewBox="0 0 211.211 105.605"
|
||||
version="1.1"
|
||||
id="svg342"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
sodipodi:docname="sei_flag.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview344"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.33896955"
|
||||
inkscape:cx="541.34655"
|
||||
inkscape:cy="653.45102"
|
||||
inkscape:window-width="1333"
|
||||
inkscape:window-height="928"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs339" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#006604;stroke-width:4.62448;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect13508"
|
||||
width="100.98102"
|
||||
height="206.58652"
|
||||
x="2.3122399"
|
||||
y="-208.89876"
|
||||
transform="rotate(90)" />
|
||||
<rect
|
||||
style="fill:#008080;fill-opacity:1;stroke:none;stroke-width:4.3203;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect13756"
|
||||
width="201.93918"
|
||||
height="12.663021"
|
||||
x="4.650104"
|
||||
y="46.471218" />
|
||||
<rect
|
||||
style="fill:#008080;fill-opacity:1;stroke:none;stroke-width:4.92458;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect13964"
|
||||
width="96.361511"
|
||||
height="12.663099"
|
||||
x="4.6259756"
|
||||
y="-111.93714"
|
||||
transform="rotate(90)" />
|
||||
<rect
|
||||
style="fill:#4db2ff;fill-opacity:1;stroke:none;stroke-width:5.3683"
|
||||
id="rect1469"
|
||||
width="8.9559889"
|
||||
height="222.76393"
|
||||
x="-8.5152035"
|
||||
y="5.8591862"
|
||||
transform="matrix(0.38292131,-0.92378096,0.90933235,0.41607052,0,0)" />
|
||||
<rect
|
||||
style="fill:#4db2ff;fill-opacity:1;stroke:none;stroke-width:5.40211"
|
||||
id="rect2146"
|
||||
width="9.0114565"
|
||||
height="224.19124"
|
||||
x="-8.5621338"
|
||||
y="5.8795133"
|
||||
transform="matrix(0.38302341,-0.92373864,0.90938152,0.41596304,0,0)" />
|
||||
<rect
|
||||
style="fill:#4db2ff;fill-opacity:1;stroke:none;stroke-width:5.40211"
|
||||
id="rect2148"
|
||||
width="9.0114565"
|
||||
height="224.19124"
|
||||
x="87.567619"
|
||||
y="-34.609497"
|
||||
transform="matrix(0.38302341,0.92373864,0.90938152,-0.41596304,0,0)" />
|
||||
<rect
|
||||
style="fill:none;fill-opacity:1;stroke:#006604;stroke-width:4.62448;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect3470"
|
||||
width="100.98102"
|
||||
height="206.58652"
|
||||
x="2.3122399"
|
||||
y="-208.89876"
|
||||
transform="rotate(90)"
|
||||
inkscape:export-filename="sei_flag.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
Loading…
Reference in a new issue