Skip to content

Commit

Permalink
Merge pull request #8 from CS222-UIUC/week3-visualpage
Browse files Browse the repository at this point in the history
Added visual.html and styles.css
  • Loading branch information
milo04011 authored Oct 17, 2024
2 parents 9b6147d + 86e6513 commit 61d7c5e
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions public/css/visual.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
body {
margin: 0;
font-family: 'Poppins', sans-serif;
color: var(--text-color);
line-height: 1.6;
}
nav ul {
list-style-type: none;
background-color: darkgray;
padding: 10px;
display: flex;
gap: 20px;
}
nav ul li a {
text-decoration: none;
color: white;
font-weight: bold;
}
h1 {
font-size: 40px;
margin-top: 20px;
text-align: center;
text-decoration: underline;
}
p {
font-size: 20px;
margin: 10px;
line-height: 1.5;
}
36 changes: 36 additions & 0 deletions views/visual.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Visual Learning</title>
<link rel="stylesheet" href="../public/css/visual.css" />
<!--- update css link if needed-->
</head>
<body>
<header>
<img src="../public/images/logo.png" alt="LearnFuse Logo" />
<nav>
<ul>
<li><a href="../index.html">Home</a></li>
<li><a href="#">Visual</a></li>
</ul>
</nav>
</header>
<main>
<h1>Visual</h1>
<div class="container">
<p>
Visual learners are learners who retain information best by reading
text or using tools like mind maps and diagrams. <br />
Upload your text file below to receive your diagram!
</p>
<div class="upload-container">
<button>Click to Upload File</button>
<button class="submit-button">Submit</button>
</div>
</div>
<div class="output">Diagram Output:</div>
</main>
</body>
</html>

0 comments on commit 61d7c5e

Please sign in to comment.