Skip to content

Commit

Permalink
Merge pull request #116 from uiuc-wece/maya-testing
Browse files Browse the repository at this point in the history
Fixing npm build issues
  • Loading branch information
mayaashok authored Nov 14, 2024
2 parents 4d944b9 + c252f16 commit c902738
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 21 deletions.
2 changes: 1 addition & 1 deletion client/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
module.exports = {
"env": {
"browser": true,
"es2021": true
Expand Down
53 changes: 33 additions & 20 deletions client/pages/wecehacks.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
<!DOCTYPE html>
<html lang="en">
// <!DOCTYPE html>
// <html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="title" content="WECEHacks 2024">
<meta name="description" content="WECE's Annual Hackathon">
<meta name="author" content="WECEHacks">
<meta name="keywords" content="WECEHacks">
<meta property="og:image" content="https://wecehacks.ctfd.io/files/66dbf2a715b9dcf964de2c15655cb756/WECE_Hacks_Presentations_5.png">
<meta property="og:image:width" content="width_in_pixels">
<meta property="og:image:height" content="height_in_pixels">
<title>WECE Hacks 2024</title>
</head>
// <head>
// <meta charset="utf-8">
// <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
// <meta name="title" content="WECEHacks 2024">
// <meta name="description" content="WECE's Annual Hackathon">
// <meta name="author" content="WECEHacks">
// <meta name="keywords" content="WECEHacks">
// <meta property="og:image" content="https://wecehacks.ctfd.io/files/66dbf2a715b9dcf964de2c15655cb756/WECE_Hacks_Presentations_5.png">
// <meta property="og:image:width" content="width_in_pixels">
// <meta property="og:image:height" content="height_in_pixels">
// <title>WECE Hacks 2024</title>
// </head>

<body>
<script>
window.location.href = "https://wecehacks.github.io/2024/index.html";
</script>
</body>
// <body>
// <script>
// window.location.href = "https://wecehacks.github.io/2024/index.html";
// </script>
// </body>

</html>
// </html>

import { useEffect } from "react";

const Wecehacks = () => {
useEffect(() => {
// Redirect the user when the component mounts
window.location.href = "https://wecehacks.github.io/2024/index.html";
}, []); // Empty dependency array means this runs only once when the component is mounted

return null; // This component doesn't need to render anything
};

export default Wecehacks;

0 comments on commit c902738

Please sign in to comment.