Skip to content

Footer and Events Page#15

Merged
sidd233 merged 8 commits into
OpencodeNIT-R:mainfrom
Anwesha28S:Footer_events
Jul 16, 2025
Merged

Footer and Events Page#15
sidd233 merged 8 commits into
OpencodeNIT-R:mainfrom
Anwesha28S:Footer_events

Conversation

@Anwesha28S
Copy link
Copy Markdown
Contributor

No description provided.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 13, 2025

Deploy Preview for asme-nitr ready!

Name Link
🔨 Latest commit 5a69074
🔍 Latest deploy log https://app.netlify.com/projects/asme-nitr/deploys/6877383c1300fe0008c926ff
😎 Deploy Preview https://deploy-preview-15--asme-nitr.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread dist/assets/index-Dd617RC6.js Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

in .gitignore, write 'dist' in a new line, this shouldn't be pushed to the repo

Comment thread index.html
Comment thread package.json
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do not install any library, all the necessary libraries are provided, if you need specific library, ask in the group first

Comment thread src/App.jsx
Comment thread src/Playground.jsx
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think you meant to do this :


import { Outlet } from "react-router";

const Playground = () => {
  return
  <>
    <div className="min-h-screen">
      <Outlet />
    </div>
    <Footer />
  </>;
};

export default Playground;

currently this is only returning the outlet

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

map everything from config files,

for example, instead of doing this:

              <li>
              <Link to="/about" className="hover:underline">
                About us
              </Link>
            </li>
            <li>
              <Link to="/team" className="hover:underline">
                Team
              </Link>
            </li>
            <li>
              <Link to="/events" className="hover:underline">
                Events
              </Link>
            </li>
            <li>
              <Link to="/achievements" className="hover:underline">
                Achievements
              </Link>
            </li>
            <li>
              <Link to="/gallery" className="hover:underline">
                Gallery
              </Link>
            </li>

you can do this instead:

//  make a file in config folder for this
const footerLinks = [
    {
        to : "/facebook"
        text : "facebook"
    }, ..... //make objects for each link
]

// and in this Footer.jsx file,
footerLinks.map((item,idx)=>{
        <li>
          <Link to={item.to} className="hover:underline">
                {item.text}
          </Link>
       </li>
})

Comment thread src/components/shared/MainLayout.jsx
Comment thread src/main.jsx
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

revert

Comment thread src/pages/playground/landing-page/Events.jsx
Anwesha28S and others added 3 commits July 14, 2025 19:16
Updated playground.jsx and removed main layout page. Also incorporated separate event cards.
@sidd233 sidd233 merged commit fa12245 into OpencodeNIT-R:main Jul 16, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants