Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
href="./src/assets/brainwave-symbol.svg"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Brainwave</title>
<title>Numen AI</title>
</head>
<body>
<div id="root"></div>
Expand Down
890 changes: 890 additions & 0 deletions src/assets/1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,731 changes: 3,731 additions & 0 deletions src/assets/22.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/4-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/4-small1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/benefits/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/benefits/image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/brainwave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,610 changes: 3,609 additions & 1 deletion src/assets/brainwave.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/brainwave1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/hero/robot.mp4
Binary file not shown.
File renamed without changes
2 changes: 1 addition & 1 deletion src/assets/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import loading from "./loading.png";
import background from "./background.jpg";

import curve from "./hero/curve.png";
import robot from "./hero/robot.jpg";
import robot from "./hero/robot.mp4?autoplay&loop&muted";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Verify that video query parameters work with your bundler.

The query parameters ?autoplay&loop&muted on the video import may not be processed correctly by all bundlers. Most bundlers treat query parameters on imports differently than HTML video attributes.

Consider configuring these video properties in the component that uses this asset instead of in the import statement.


🏁 Script executed:

#!/bin/bash
# Description: Check how the robot video asset is used in components
# Expected: Should find video element with proper attributes set

rg -A 10 -B 2 "robot" --type jsx --type js

Length of output: 70


🏁 Script executed:

#!/bin/bash
# Display the assets index file to verify how `robot` is exported
cat src/assets/index.js

# Search for any references to 'robot' throughout the entire codebase
rg "robot" -n .

Length of output: 4353


🏁 Script executed:

#!/bin/bash
# Show the <video> element usage in the Hero component to verify attributes
rg "<video" -n src/components/Hero.jsx -A 5 -B 5

Length of output: 704


Configure video attributes on the <video> element instead of using import query parameters

The current import

import robot from "./hero/robot.mp4?autoplay&loop&muted";

does not translate into HTML attributes on the <video> tag. Browsers ignore URL query parameters for autoplay, loop, and muted—these must be set as element attributes.

Please update:

  • src/assets/index.js
    - import robot from "./hero/robot.mp4?autoplay&loop&muted";
    + import robot from "./hero/robot.mp4";
  • src/components/Hero.jsx
     <video
       ref={videoRef}
       src={robot}
    +  autoplay
    +  loop
    +  muted
    +  playsInline
       className="w-full h-full … object-cover"
       width={1024}
       height={490}
     />

This ensures the video will autoplay (muted), loop, and honor mobile inline playback.

🤖 Prompt for AI Agents
In src/assets/index.js at line 25, remove the query parameters from the video
import path so it imports the raw video file only. Then, in
src/components/Hero.jsx, update the <video> element to explicitly set the
autoplay, loop, muted, and playsInline attributes on the element itself to
ensure proper browser behavior for these features.

import heroBackground from "./hero/hero-background.jpg";

import curve1 from "./collaboration/curve-1.svg";
Expand Down
Binary file modified src/assets/notification/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/notification/image-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/services/service-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/services/service-22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/services/service-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/services/service-31.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,624 changes: 3,608 additions & 16 deletions src/assets/yourlogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions src/assets/yourlogo1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Benefits.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Benefits = () => {
<div className="container relative z-2">
<Heading
className="md:max-w-md lg:max-w-2xl"
title="Chat Smarter, Not Harder with Brainwave"
title="Revolutionary Features for Modern Mathematics Learning"
/>

<div className="flex flex-wrap gap-10 mb-10">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Collaboration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Collaboration = () => {
<div className="container lg:flex">
<div className="max-w-[25rem]">
<h2 className="h2 mb-4 md:mb-8">
AI Chat App for seamless collaboration
Smart Math Education Platform for seamless collaboration
</h2>

<ul className="max-w-[22rem] mb-10 md:mb-14">
Expand All @@ -27,7 +27,7 @@ const Collaboration = () => {
))}
</ul>

<Button>Try it now</Button>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSet6U4qZXxAbDgBUh95HQkbciYa8g-LyIJMhjxBq0Ub4NMidQ/viewform?usp=header" target="_blank"><Button>Try it now</Button></a>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Remove redundant anchor tag wrapper.

The Button component already handles the href prop internally and renders as an anchor tag when href is provided. Wrapping it in an additional anchor tag creates redundant nesting.

-          <a href="https://docs.google.com/forms/d/e/1FAIpQLSet6U4qZXxAbDgBUh95HQkbciYa8g-LyIJMhjxBq0Ub4NMidQ/viewform?usp=header" target="_blank"><Button>Try it now</Button></a>
+          <Button href="https://docs.google.com/forms/d/e/1FAIpQLSet6U4qZXxAbDgBUh95HQkbciYa8g-LyIJMhjxBq0Ub4NMidQ/viewform?usp=header">Try it now</Button>

Note: You may need to update the Button component to handle the target="_blank" attribute if external links should open in new tabs.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<a href="https://docs.google.com/forms/d/e/1FAIpQLSet6U4qZXxAbDgBUh95HQkbciYa8g-LyIJMhjxBq0Ub4NMidQ/viewform?usp=header" target="_blank"><Button>Try it now</Button></a>
- <a href="https://docs.google.com/forms/d/e/1FAIpQLSet6U4qZXxAbDgBUh95HQkbciYa8g-LyIJMhjxBq0Ub4NMidQ/viewform?usp=header" target="_blank"><Button>Try it now</Button></a>
+ <Button href="https://docs.google.com/forms/d/e/1FAIpQLSet6U4qZXxAbDgBUh95HQkbciYa8g-LyIJMhjxBq0Ub4NMidQ/viewform?usp=header">Try it now</Button>
🤖 Prompt for AI Agents
In src/components/Collaboration.jsx at line 30, remove the outer anchor tag
wrapping the Button component since Button already renders as an anchor when
given an href prop. Instead, pass the href and target="_blank" props directly to
the Button component to avoid redundant nesting and ensure the link opens in a
new tab.

</div>

<div className="lg:ml-auto xl:w-[38rem] mt-4">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Generating.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Generating = ({ className }) => {
} text-base`}
>
<img className="w-5 h-5 mr-4" src={loading} alt="Loading" />
AI is generating
Numen AI In Action
</div>
);
};
Expand Down
Loading