From 69bae37837cd654abb41a2af35325cc7c33f2cef Mon Sep 17 00:00:00 2001 From: theunhackable Date: Thu, 31 Aug 2023 15:38:05 +0530 Subject: [PATCH 1/2] fix(app): removed AlanAiComponent causing bug #441 --- next.config.js | 3 +++ src/components/Navbar.jsx | 4 ++-- src/pages/Contributors.js | 9 +++++---- src/pages/_app.js | 3 --- src/pages/events/index.jsx | 4 ++-- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/next.config.js b/next.config.js index 91ef62f0..7b288a86 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,9 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, + images: { + domains:['avatars.githubusercontent.com'], + } }; module.exports = nextConfig; diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index c3492e91..ad998a39 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -15,7 +15,7 @@ const Navbar = () => { ]; let [open, setOpen] = useState(false); return ( -
+
@@ -37,7 +37,7 @@ const Navbar = () => { > {link.name} diff --git a/src/pages/Contributors.js b/src/pages/Contributors.js index 7389aa01..7baf9d10 100644 --- a/src/pages/Contributors.js +++ b/src/pages/Contributors.js @@ -1,6 +1,7 @@ import Footer from "@/components/Footer"; import Navbar from "@/components/Navbar"; import axios from "axios"; +import Image from "next/image"; import { useEffect, useState } from "react"; import { BsGithub } from "react-icons/bs"; @@ -31,13 +32,13 @@ const Contributors = () => {
{contributors.map((i) => ( -
+
-
- {i.login} +
+ {i.login}
-
+

{i.login}
Commits: {i.contributions} diff --git a/src/pages/_app.js b/src/pages/_app.js index 3a3c887c..0eb89120 100644 --- a/src/pages/_app.js +++ b/src/pages/_app.js @@ -1,11 +1,8 @@ import "@/styles/globals.css"; -import AlanAIComponent from "./alan"; export default function App({ Component, pageProps }) { return ( <> - {/* */} - ); diff --git a/src/pages/events/index.jsx b/src/pages/events/index.jsx index 9f72b76a..a7d1721a 100644 --- a/src/pages/events/index.jsx +++ b/src/pages/events/index.jsx @@ -51,7 +51,7 @@ const Events = () => { link: "/events/spaces", }, ]; - const [EventsData, SetEventsData] = useState(eventsData); + const [EventsData,] = useState(eventsData); const FilteredData = EventsData.filter((event) => event.name.toLowerCase().includes(searchInput.toLowerCase()) ); @@ -88,7 +88,7 @@ const Events = () => { data-aos-duration="500" >

Features

-

+

  • Networking Opportunities
  • Learning from Industry Experts
  • Collaboration and Partnership Opportunities
  • From bbb2457a270421482379df1b0f280ebabf906c09 Mon Sep 17 00:00:00 2001 From: theunhackable Date: Thu, 31 Aug 2023 15:39:24 +0530 Subject: [PATCH 2/2] fix(app): removeed AlanAiComponent causing bug issue #441 --- src/components/testimonial.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/testimonial.js b/src/components/testimonial.js index 892cff7e..6e1d14a1 100644 --- a/src/components/testimonial.js +++ b/src/components/testimonial.js @@ -1,5 +1,6 @@ import { useEffect, useState } from "react"; import Header from "./header"; +import Image from "next/image"; const testimonials = [ { @@ -51,10 +52,12 @@ const Testimonial = ({ testimonial }) => (

    {testimonial.text}

    - {testimonial.name}