From c1be7ba0eb651f76baf66ab7403199391994675a Mon Sep 17 00:00:00 2001 From: Neeraj Rekwar <88387699+neerajrekwar@users.noreply.github.com> Date: Mon, 9 Sep 2024 09:07:24 +0000 Subject: [PATCH] gdf --- app/components/BackgroundAurra.tsx | 2 +- app/components/DeviceAddress.tsx | 1 + app/components/MultiStepLoader.tsx | 2 +- app/components/WeatherApp.tsx | 38 +++++++++++++++++++------ app/components/footer.tsx | 2 +- app/components/heroSection.tsx | 2 +- app/components/homeSectionHeader.tsx | 2 +- app/components/ui/multi-step-loader.tsx | 2 +- app/contact/layout.tsx | 7 ----- app/contact/page.tsx | 24 +++++++++++----- 10 files changed, 53 insertions(+), 29 deletions(-) delete mode 100644 app/contact/layout.tsx diff --git a/app/components/BackgroundAurra.tsx b/app/components/BackgroundAurra.tsx index 899fdc429..e8681bb9f 100644 --- a/app/components/BackgroundAurra.tsx +++ b/app/components/BackgroundAurra.tsx @@ -88,7 +88,7 @@ export function AuroraBackgroundDemo() {

-

+

Available for freelance work

diff --git a/app/components/DeviceAddress.tsx b/app/components/DeviceAddress.tsx index 41e40a178..f7f800a2b 100644 --- a/app/components/DeviceAddress.tsx +++ b/app/components/DeviceAddress.tsx @@ -50,6 +50,7 @@ const DeviceAddress: React.FC = () => { {/*

IP: {address.ip}

*/}

{address.city},

+ {/*

{address.region},

*/}

{address.country}

) : ( diff --git a/app/components/MultiStepLoader.tsx b/app/components/MultiStepLoader.tsx index d24ef10f2..81133f5c0 100644 --- a/app/components/MultiStepLoader.tsx +++ b/app/components/MultiStepLoader.tsx @@ -33,7 +33,7 @@ const loadingStates = [ export function MultiStepLoader() { const [loading, setLoading] = useState(false); return ( -
+
{/* Core Loader Modal */} diff --git a/app/components/WeatherApp.tsx b/app/components/WeatherApp.tsx index 1746dd182..de6bba171 100644 --- a/app/components/WeatherApp.tsx +++ b/app/components/WeatherApp.tsx @@ -1,9 +1,11 @@ // components/Weather.tsx "use client"; +import { IconCloudFilled, IconTemperature, IconWind } from "@tabler/icons-react"; import React, { useEffect, useState } from "react"; import axios from "axios"; import { motion } from "framer-motion"; + const Weather: React.FC = () => { const [weather, setWeather] = useState(null); const [error, setError] = useState(null); @@ -56,23 +58,40 @@ const Weather: React.FC = () => { return (
{error ? ( - {error} + {error} ) : weather ? ( -
- +
+ - {weather.current_weather.temperature}°C + {weather.current_weather.temperature}°C - Cloud {weather.hourly.cloudcover[0]}% + {weather.hourly.cloudcover[0]}% {/*

Diffuse Radiation: {weather.hourly.diffuse_radiation[0]} W/m²

*/} {/*

Rain: {weather.hourly.rain[0]} mm

{" "} */} @@ -80,9 +99,10 @@ const Weather: React.FC = () => { - Wind {weather.hourly.wind_speed_10m[0]} km/h + {weather.hourly.wind_speed_10m[0]} km/h {" "} {/* Display hourly wind speed */}
diff --git a/app/components/footer.tsx b/app/components/footer.tsx index fc520725b..54ec0e317 100644 --- a/app/components/footer.tsx +++ b/app/components/footer.tsx @@ -123,7 +123,7 @@ export default function Footer() { - Dwarka sec 7 New Delhi Delhi India 110075 + Sec 7 Dwarka New Delhi, Delhi, India 110075
  • diff --git a/app/components/heroSection.tsx b/app/components/heroSection.tsx index 05e0a9b1e..23467eb69 100644 --- a/app/components/heroSection.tsx +++ b/app/components/heroSection.tsx @@ -388,7 +388,7 @@ export function HeroSection() { transition={{ delay: 1 }} className="m-2 flex justify-between items-end text-right p-3 flex-col aspect-video rounded-lg text-four bg-six border-seven border" > -
    +

    How to Grow Online

    diff --git a/app/components/homeSectionHeader.tsx b/app/components/homeSectionHeader.tsx index 9e5503596..31b660876 100644 --- a/app/components/homeSectionHeader.tsx +++ b/app/components/homeSectionHeader.tsx @@ -31,7 +31,7 @@ export default function HomeSectionHeader() {
    -
    +
    diff --git a/app/components/ui/multi-step-loader.tsx b/app/components/ui/multi-step-loader.tsx index cd367fdd3..27951b53a 100644 --- a/app/components/ui/multi-step-loader.tsx +++ b/app/components/ui/multi-step-loader.tsx @@ -138,7 +138,7 @@ export const MultiStepLoader = ({
    -
    +
    )} diff --git a/app/contact/layout.tsx b/app/contact/layout.tsx deleted file mode 100644 index 4b5417f27..000000000 --- a/app/contact/layout.tsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function ContactLayout({ - children, // will be a page or nested layout -}: { - children: React.ReactNode; -}) { - return {children}; -} diff --git a/app/contact/page.tsx b/app/contact/page.tsx index 2668284e7..9df323189 100644 --- a/app/contact/page.tsx +++ b/app/contact/page.tsx @@ -198,19 +198,29 @@ const ContactPage: React.FC = () => {

    Please feel free to contact me with any questions or concerns.

    -
    -

    Delhi, Dwarka

    + +
    +
    +
    Lives at:
    +
      +
    • New Delhi, Dwarka
    • + +
    +
    {/*

    Hin ● Eng ● Sans

    */}
    -

    Hindi

    -

    English

    -

    sankrit

    +
    Languages:
    +
      +
    • Hindi
    • +
    • Sanskrit
    • +
    • English
    • +
    -
    +
    +
    -
    );