-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
223 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
// src/index.tsx | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom/client'; | ||
import App from './App'; | ||
|
25 changes: 12 additions & 13 deletions
25
frontend/src/DownloadPage.tsx → frontend/src/pages/download.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
// src/DownloadPage.tsx | ||
import React from 'react'; | ||
|
||
const DownloadPage: React.FC = () => { | ||
return ( | ||
<div> | ||
<h1>Download Page</h1> | ||
<p>This is the download page. Download files here.</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default DownloadPage; | ||
import React from 'react'; | ||
|
||
const DownloadPage: React.FC = () => { | ||
return ( | ||
<div> | ||
<h1>Download Page</h1> | ||
<p>This is the download page. Download files here.</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default DownloadPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,73 @@ | ||
/* src/Home.css */ | ||
.home-container { | ||
font-family: Arial, sans-serif; | ||
text-align: center; | ||
padding: 20px; | ||
background-color: #f4f4f4; | ||
} | ||
|
||
.hero { | ||
background-color: #282c34; | ||
color: white; | ||
padding: 50px; | ||
margin-bottom: 30px; | ||
border-radius: 10px; | ||
} | ||
|
||
.hero h1 { | ||
font-size: 2.5rem; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.hero button { | ||
padding: 10px 20px; | ||
background-color: #61dafb; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
font-size: 1rem; | ||
} | ||
|
||
.hero button:hover { | ||
background-color: #21a1f1; | ||
} | ||
|
||
.nav-links ul { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 20px 0; | ||
} | ||
|
||
.nav-links li { | ||
display: inline; | ||
margin: 0 15px; | ||
} | ||
|
||
.nav-links a { | ||
text-decoration: none; | ||
color: blue; | ||
font-weight: bold; | ||
} | ||
|
||
.nav-links a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.features { | ||
margin-top: 20px; | ||
} | ||
|
||
.features ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
|
||
.features li { | ||
margin: 10px 0; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.footer { | ||
margin-top: 30px; | ||
color: #777; | ||
} | ||
/* src/Home.css */ | ||
.home-container { | ||
font-family: Arial, sans-serif; | ||
text-align: center; | ||
padding: 20px; | ||
background-color: #f4f4f4; | ||
} | ||
|
||
.hero { | ||
background-color: #282c34; | ||
color: white; | ||
padding: 50px; | ||
margin-bottom: 30px; | ||
border-radius: 10px; | ||
} | ||
|
||
.hero h1 { | ||
font-size: 2.5rem; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.hero button { | ||
padding: 10px 20px; | ||
background-color: #61dafb; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
font-size: 1rem; | ||
} | ||
|
||
.hero button:hover { | ||
background-color: #21a1f1; | ||
} | ||
|
||
.nav-links ul { | ||
list-style-type: none; | ||
padding: 0; | ||
margin: 20px 0; | ||
} | ||
|
||
.nav-links li { | ||
display: inline; | ||
margin: 0 15px; | ||
} | ||
|
||
.nav-links a { | ||
text-decoration: none; | ||
color: blue; | ||
font-weight: bold; | ||
} | ||
|
||
.nav-links a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.features { | ||
margin-top: 20px; | ||
} | ||
|
||
.features ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
|
||
.features li { | ||
margin: 10px 0; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.footer { | ||
margin-top: 30px; | ||
color: #777; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
// src/Home.tsx | ||
import React from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
import './Home.css'; // Optional: For styling | ||
|
||
const Home: React.FC = () => { | ||
return ( | ||
<div className="home-container"> | ||
<header className="hero"> | ||
<h1>Cool Website</h1> | ||
<p>ECE@Purdue's course in Software Engineering, offered by the inimitable Prof. James C. Davis and his colorful cast of quirky teaching assistants.</p> | ||
</header> | ||
|
||
<nav className="nav-links"> | ||
<ul> | ||
<li><Link to="/upload">Upload</Link></li> | ||
<li><Link to="/update">Update</Link></li> | ||
<li><Link to="/rating">Rating</Link></li> | ||
<li><Link to="/download">Download</Link></li> | ||
</ul> | ||
</nav> | ||
|
||
<section className="Our goals"> | ||
|
||
</section> | ||
|
||
<footer className="footer"> | ||
<p>© ECE461 group21's Website. All rights reserved.</p> | ||
</footer> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Home; | ||
import React from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
import './home.css'; // Optional: For styling | ||
|
||
const Home: React.FC = () => { | ||
return ( | ||
<div className="home-container"> | ||
<header className="hero"> | ||
<h1>Cool Website</h1> | ||
<p>ECE@Purdue's course in Software Engineering, offered by the inimitable Prof. James C. Davis and his colorful cast of quirky teaching assistants.</p> | ||
</header> | ||
|
||
<nav className="nav-links"> | ||
<ul> | ||
<li><Link to="/upload">Upload</Link></li> | ||
<li><Link to="/update">Update</Link></li> | ||
<li><Link to="/rating">Rating</Link></li> | ||
<li><Link to="/download">Download</Link></li> | ||
</ul> | ||
</nav> | ||
|
||
<section className="Our goals"> | ||
|
||
</section> | ||
|
||
<footer className="footer"> | ||
<p>© ECE461 group21's Website. All rights reserved.</p> | ||
</footer> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Home; |
Oops, something went wrong.