-
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.
- Loading branch information
Showing
10 changed files
with
105 additions
and
50 deletions.
There are no files selected for viewing
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,3 +1,3 @@ | ||
### Rummerlab | ||
|
||
currently two versions. html file and the next Js project | ||
Currently two versions. Html file and the next js project |
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,11 @@ | ||
export default function Home() { | ||
return ( | ||
<> | ||
<h2 className="mt-12 mb-12 text-3xl text-center dark:text-white">Contact Us</h2> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
If you want to reach out, please feel free | ||
to reach out at <a href="mailto:[email protected]">[email protected]</a>. | ||
</p> | ||
</> | ||
); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import Script from 'next/script' | ||
|
||
export default function GoogleAnalytics() { | ||
const GA_ID = process.env.NEXT_PUBLIC_GA_ID; | ||
|
||
// Check if GA_ID is not undefined, null, or empty | ||
if (!GA_ID) { | ||
console.warn("Google Analytics ID is not set."); | ||
return null; // Return null to render nothing | ||
} | ||
|
||
return ( | ||
<> | ||
<Script | ||
strategy="afterInteractive" | ||
src={`https://www.googletagmanager.com/gtag/js?id=${GA_ID}`} | ||
/> | ||
<Script id="gtag-init" strategy="afterInteractive"> | ||
{` | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '${GA_ID}'); | ||
`} | ||
</Script> | ||
</> | ||
); | ||
}; |
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,13 @@ | ||
export default function Header() { | ||
return ( | ||
<> | ||
<h1 className="text-center text-4xl font-bold text-gray-800 my-4">RummerLab</h1> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
Rummerlab, led by Dr Jodie Rummer, focuses on researching the physiological | ||
processes and adaptations of aquatic animals in response to environmental | ||
stressors. Our research aims to understand how these organisms cope with | ||
changing conditions and contribute to the conservation of aquatic ecosystems. | ||
</p> | ||
</> | ||
); | ||
}; |
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,15 @@ | ||
export default function Publications() { | ||
return ( | ||
<> | ||
<h2 className="mt-12 mb-12 text-3xl text-center dark:text-white">Publications</h2> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
To view a list of our publications, please visit the | ||
<a href="https://scholar.google.com/citations?user=ynWS968AAAAJ&hl=en&oi=ao" target="_blank" rel="noopener noreferrer">publications page</a>. | ||
</p> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
Jodie L. Rummer's Papers | ||
<a href="https://scholar.google.com/citations?user=ynWS968AAAAJ&hl=en&oi=ao" target="_blank" rel="noopener noreferrer">Google Scholar profile</a>. | ||
</p> | ||
</> | ||
); | ||
}; |
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,15 @@ | ||
export default function Research() { | ||
return ( | ||
<> | ||
<h2 className="mt-12 mb-12 text-3xl text-center dark:text-white">Research Areas</h2> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
Our main research areas include: | ||
</p> | ||
<ul className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
<li>Physiological responses to environmental stressors</li> | ||
<li>Adaptations to climate change and ocean acidification</li> | ||
<li>Conservation of aquatic species and ecosystems</li> | ||
</ul> | ||
</> | ||
); | ||
}; |
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,52 +1,19 @@ | ||
import Script from 'next/script' | ||
import GoogleAnalytics from './components/GoogleAnalytics'; | ||
import Header from './components/Header'; | ||
import Research from './components/Research'; | ||
import Publications from './components/Publications'; | ||
import Contact from './components/Contact'; | ||
|
||
export default function Home() { | ||
const GA_ID = process.env.NEXT_PUBLIC_GA_ID; | ||
return ( | ||
<> | ||
<Script | ||
strategy="afterInteractive" | ||
src={`https://www.googletagmanager.com/gtag/js?id=${GA_ID}`} | ||
/> | ||
<Script id="gtag-init" strategy="afterInteractive"> | ||
{` | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag(){dataLayer.push(arguments);} | ||
gtag('js', new Date()); | ||
gtag('config', '${GA_ID}'); | ||
`} | ||
</Script> | ||
<GoogleAnalytics /> | ||
<main className="px-6 mx-auto"> | ||
<h1 className="text-center text-4xl font-bold text-gray-800 my-4">RummerLab</h1> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
Rummerlab, led by Dr Jodie Rummer, focuses on researching the physiological | ||
processes and adaptations of aquatic animals in response to environmental | ||
stressors. Our research aims to understand how these organisms cope with | ||
changing conditions and contribute to the conservation of aquatic ecosystems. | ||
</p> | ||
<h2 className="mt-12 mb-12 text-3xl text-center dark:text-white">Research Areas</h2> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
Our main research areas include: | ||
</p> | ||
<ul className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
<li>Physiological responses to environmental stressors</li> | ||
<li>Adaptations to climate change and ocean acidification</li> | ||
<li>Conservation of aquatic species and ecosystems</li> | ||
</ul> | ||
<h2 className="mt-12 mb-12 text-3xl text-center dark:text-white">Publications</h2> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
To view a list of our publications, please visit the | ||
<a href="https://scholar.google.com/citations?user=ynWS968AAAAJ&hl=en&oi=ao" target="_blank" rel="noopener noreferrer">publications page</a>. | ||
</p> | ||
<h2 className="mt-12 mb-12 text-3xl text-center dark:text-white">Contact Us</h2> | ||
<p className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
If you want to reach out, please feel free | ||
to reach out at <a href="mailto:[email protected]">[email protected]</a>. | ||
</p> | ||
<h2 className="mt-12 mb-12 text-3xl text-center dark:text-white">Jodie L. Rummer's Papers</h2> | ||
<div className="mt-12 mb-12 text-xl text-center dark:text-white"> | ||
<a href="https://scholar.google.com/citations?user=ynWS968AAAAJ&hl=en&oi=ao" target="_blank" rel="noopener noreferrer">Google Scholar profile</a> | ||
</div> | ||
<Header /> | ||
<Research /> | ||
<Publications /> | ||
<Contact /> | ||
</main> | ||
</> | ||
); | ||
|
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,8 +1,8 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
experimental: { | ||
appDir: true, | ||
}, | ||
//experimental: { | ||
//appDir: true, | ||
//}, | ||
} | ||
|
||
module.exports = nextConfig |
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