diff --git a/public/instagram.png b/public/instagram.png new file mode 100644 index 0000000..f361c26 Binary files /dev/null and b/public/instagram.png differ diff --git a/src/app/contact-us/page.tsx b/src/app/contact-us/page.tsx index 1ab18d9..d527b37 100644 --- a/src/app/contact-us/page.tsx +++ b/src/app/contact-us/page.tsx @@ -1,6 +1,7 @@ "use client"; import Image from "next/image"; import React, { useState } from "react"; +import BottomFooter from "@components/BottomFooter"; const ContactUs = () => { const [formData, setFormData] = useState({ @@ -144,6 +145,7 @@ const ContactUs = () => { + ); }; diff --git a/src/app/earthquakes/page.tsx b/src/app/earthquakes/page.tsx index 3b53d75..062617e 100644 --- a/src/app/earthquakes/page.tsx +++ b/src/app/earthquakes/page.tsx @@ -38,6 +38,7 @@ export default function Earthquakes() { button2Name="Search Earthquakes" > {/* */} + ); } diff --git a/src/app/globals.css b/src/app/globals.css index cf9ac1f..2ab11b8 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -3,8 +3,8 @@ @tailwind utilities; :root { - --background: #ffffff; - --foreground: #171717; + --background: #ffffff; + --foreground: #171717; } /* @media (prefers-color-scheme: dark) { @@ -15,29 +15,53 @@ } */ body { - color: var(--foreground); - background: var(--background); + color: var(--foreground); + background: var(--background); } /* Increase specificity and use !important where necessary */ .mapboxgl-popup .mapboxgl-popup-content { - @apply rounded-xl p-4 px-5 drop-shadow-lg border border-neutral-300 max-w-xs !important; + @apply rounded-xl p-4 px-5 drop-shadow-lg border border-neutral-300 max-w-xs !important; } /* Hide the popup tip */ .mapboxgl-popup .mapboxgl-popup-tip { - display: none !important; + display: none !important; } /* Child elements */ .mapboxgl-popup-content h3 { - @apply text-sm font-medium text-neutral-800 !important; + @apply text-sm font-medium text-neutral-800 !important; } .mapboxgl-popup-content p { - @apply text-xs text-neutral-600 !important; + @apply text-xs text-neutral-600 !important; } -.mapboxgl-popup-content p + p { - @apply text-neutral-500 !important; +.mapboxgl-popup-content p+p { + @apply text-neutral-500 !important; } + +.icon-link { + /* default styles if needed */ +} + +.icon-link:hover, +.icon-link:focus { + background-color: #16424b; +} + +.icon-link:hover h3, +.icon-link:focus h3, +.icon-link:hover p, +.icon-link:focus p { + color: #fff !important; +} + +.icon-link:hover h3, +.icon-link:hover p, +.icon-link:focus h3, +.icon-link:focus p { + color: #111; + /* or black */ +} \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 224fa85..9ed4308 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -66,7 +66,7 @@ export default function RootLayout({
{children}
- + ); diff --git a/src/app/learn/page.tsx b/src/app/learn/page.tsx new file mode 100644 index 0000000..118edbd --- /dev/null +++ b/src/app/learn/page.tsx @@ -0,0 +1,92 @@ +// app/learn/page.tsx +"use client"; +import Navbar from "@/components/Navbar"; +import BottomFooter from "@components/BottomFooter"; + +export default function LearnPage() { + return ( +
+ {/* (Optional) Navbar */} + {/* */} + +
+

+ Earthquakes +

+

+ In this page, you can learn all about what earthquakes are, and how to keep safe! +

+
+ + {/* Section 1 */} +
+

+ What are earthquakes? +
+ Earthquakes are a shaking of the earth's surface caused by a sudden release of energy underground. + They can range in size, from tiny trembles to large quakes, which can cause destruction and even tsunamis. + Hundreds of earthquakes happen every day—but most are too small to feel. +

+
+ + {/* Section 2 */} +
+

+ What are the types of earthquakes? +
+ Regions near plate boundaries, such as around the Pacific Ocean ("The Ring of Fire"), experience the most activity. +

+
+ + {/* Section 3 */} +
+

+ How can I be prepared? +

+ {/* MAIN BULLET POINTS */} +
    +
  • + Assemble an emergency kit: + This should be stored in your earthquake emergency zone. It may be useful, as in an earthquake, you may lose electricity or water supplies. + {/* SUB BULLETS */} +
      +
    • First aid kit and emergency medication
    • +
    • Food (non-perishable)
    • +
    • Bottled water
    • +
    • Torch (flashlight)
    • +
    • Satellite phone
    • +
    • Warm clothing and blankets
    • +
    +
  • +
  • + Practice the Drop, Cover, and Hold On drill! + This helps you protect yourself from falling objects during an earthquake. + {/* Embed YouTube video */} +
    +