Skip to content

Commit

Permalink
Update: Change Data && Add: Logos
Browse files Browse the repository at this point in the history
  • Loading branch information
juni37 committed Dec 10, 2023
1 parent 0ef9b78 commit 163ff08
Show file tree
Hide file tree
Showing 17 changed files with 2,269 additions and 92 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ This website will be only utilized during we update our content in our main page
1. npm install -D
2. npm run dev
```
\3. Visit [http://localhost:3000](httplocalhost:3000) with your browser to see the result.
3. Visit [http://localhost:3000](httplocalhost:3000) with your browser to see the result.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.
11 changes: 11 additions & 0 deletions app/404.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// pages/404.js
import React from 'react';

export default function Custom404() {
return (
<div>
<h1>404 - Page Not Found</h1>
<p>Sorry, the page you are looking for does notasdfasdf exist.</p>
</div>
);
}
62 changes: 42 additions & 20 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,105 +1,127 @@
'use client'
import Image from 'next/image'
import React from 'react';


export default function Home() {
const [isDarkMode, setIsDarkMode] = React.useState(false);

React.useEffect(() => {
const matchDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
setIsDarkMode(matchDark);

const handleChange = (e) => {
setIsDarkMode(e.matches);
};

window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', handleChange);

return () => {
window.matchMedia('(prefers-color-scheme: dark)').removeEventListener('change', handleChange);
};
}, []);

return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
<div className="z-10 max-w-5xl w-full 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">
Hold tight as we are working to produce the most astonishing product ever.
Initative of Fulton Science Academy

</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"
href="https://fultonscienceacademy.org"
target="_blank"
rel="noopener noreferrer"
>
By <a href='https://fultonsciecneacademy.org'>Fulton Science Academy</a>
Hold tight as we develop a new experience for you.
</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}
className="relative dark:drop-shadow-[0_0_0.3rem_#ffffff70]"
src={isDarkMode ? 'static/Logo Full Dark.svg' : 'static/Logo Full + Badge.svg'}
alt="ASFSA Logo"
width={480}
height={300}
priority
/>
</div>

<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full 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"
href="https://scriptajournal.org"
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`}>
Scripta{' '}
Astronomia {' '}
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
-&gt;
</span>
</h2>
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
Student-run academic journal
Award winning student-led interdisciplianary research journal.
</p>
</a>

<a
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
href="https://www.youtube.com/watch?v=nR_KFl_QxwI&t=1s"
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`}>
Awards{' '}
Awards and {' '}
Honors {' '}
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
-&gt;
</span>
</h2>
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
Learn about Next.js in an interactive course with&nbsp;quizzes!
Awardee of NCSSS Innovative STEM Student Program Award and many more.
</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"
href="#"
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{' '}
Projects{' '} and Research {' '}
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
-&gt;
</span>
</h2>
<p className={`m-0 max-w-[30ch] text-sm opacity-50`}>
Explore starter templates for Next.js.
Astrophotography, Observatory, Telescopes, Exoplanets, Small Satellites and more.
</p>
</a>

<a
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app"
href="https://www.instagram.com/astrofsa/"
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{' '}
Social Media{' '}
<span className="inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none">
-&gt;
</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.
Follow us (@astrofsa) on Instagram.
</p>
</a>
</div>
</main>
)
}
}
Loading

0 comments on commit 163ff08

Please sign in to comment.