Skip to content

Commit 7b26881

Browse files
committed
update
1 parent 8fea792 commit 7b26881

File tree

3 files changed

+65
-170
lines changed

3 files changed

+65
-170
lines changed

public/stylesheets/main.css

+1-8
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ body{
99
font-family: 'Lato', sans-serif;
1010
}
1111

12-
.background{
13-
/* background-image: url("/appdesigns/background.png");
14-
background-size: cover;
15-
background-position: center;
16-
height: 95vh;
17-
position: fixed;
18-
z-index: 1; */
19-
}
12+
2013
.thumbnail img{
2114
width: 100%;
2215
}

views/courses/index.ejs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0">
88
<title>Mathisi</title>
99
<link rel="stylesheet" href="/stylesheets/main.css">
10-
<link rel="stylesheet" href="/stylesheets/downloaditems.css">
1110
<link rel="icon" href="https://res.cloudinary.com/dexcjehc5/image/upload/v1569397404/Logo" type="image/svg"
12-
sizes="16x16">
11+
sizes="16x16">
12+
<link rel="stylesheet" href="/stylesheets/downloadItems.css">
1313
</head>
1414

1515
<body>

views/landing.ejs

+62-160
Original file line numberDiff line numberDiff line change
@@ -1,173 +1,75 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
13

4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<link rel="icon" href="https://res.cloudinary.com/dexcjehc5/image/upload/v1569397404/Logo" type="image/png">
9+
<link rel="stylesheet" href="/stylesheets/home.css">
10+
<title>Welcome To Maithisi Learning Class</title>
11+
</head>
212

3-
<!-- <!DOCTYPE html>
4-
<html>
5-
<head>
6-
<title>YelpCamp</title>
7-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
8-
<link rel="stylesheet" href="/stylesheets/landing.css">
9-
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" type="text/javascript" async></script>
10-
</head>
11-
<body>
12-
13-
<div class="container">
14-
<% if(error && error.length > 0){ %>
15-
<div class="alert alert-danger" role="alert">
16-
<%= error %>
17-
</div>
18-
<% } %>
19-
<% if(success && success.length > 0){ %>
20-
<div class="alert alert-success" role="alert">
21-
<%= success %>
22-
</div>
23-
<% } %>
24-
</div>
25-
26-
<div id="landing-header">
27-
<h1>Welcome to EOS CLASSROOM</h1>
28-
<a href="/courses" class="btn btn-lg btn-success">View All Courses</a>
29-
</div>
30-
31-
<ul class="slideshow">
32-
<li></li>
33-
<li></li>
34-
<li></li>
35-
<li></li>
36-
<li></li>
37-
</ul> -->
38-
39-
<!-- <!DOCTYPE html>
40-
<html lang="en">
41-
42-
<head>
43-
<meta charset="UTF-8">
44-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
45-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
46-
<link rel="stylesheet" href="/stylesheets/website.css">
47-
<title>Mathisi</title>
48-
</head>
49-
50-
<body class="aside">
51-
<div class="container">
52-
<% if(error && error.length > 0){ %>
53-
<div class="alert alert-danger" role="alert">
54-
<%= error %>
55-
</div>
56-
<% } %>
57-
<% if(success && success.length > 0){ %>
58-
<div class="alert alert-success" role="alert">
59-
<%= success %>
60-
</div>
61-
<% } %>
62-
</div>
63-
<div class="color">
64-
<a href="/"><img src="/appdesigns/Logo.svg" alt="logo" class="logo"></a>
65-
<nav>
66-
<ul>
67-
68-
<li class="about">About</li>
69-
<% if(!currentUser){ %>
70-
<li class="students"><a style="color: #274970;" href="/login">Students</a></li>
71-
<li class="teachers"><a style="color: #274970;" href="/login">Teachers</a></li>
72-
<% } else{ %>
73-
<li class="students"><a href="#">Hello <%= currentUser.username.toUpperCase() %></a></li>
74-
<li class="teachers"><a href="/logout">Logout</a></li>
75-
<% } %>
76-
<button class="bt" class="button"> <a href="/courses" class="">View All Courses</a></button>
77-
</ul>
78-
</nav>
79-
<div class="ci"></div>
80-
</div>
81-
<div class="read">
82-
<img src="/images/20490.png" alt="">
83-
</div>
84-
13+
<body>
14+
<header>
15+
<img src="/appdesigns/Logo.svg" class="logo" alt="Logo" width="15%">
16+
<nav>
17+
<ul class="nav__links">
18+
<li class="home"><a href="/">Home</a></li>
19+
<li class="about"><a href="/about">About</a></li>
20+
<li class="students"><a href="/login">Students</a></li>
21+
<li class="teachers"><a href="/login">Teachers</a></li>
22+
</ul>
23+
</nav>
24+
<a href="/courses" class="get-started"><button>View Courses</button></a>
25+
</header>
26+
<div class="container">
8527
<div class="p1">
86-
<p><strong>Mathisi Mini Classroom</strong> is a virtual learning platform.</p>
87-
<p>Majorly focused on Secondary School students</p>
28+
<p><strong>Mathisi Mini Classroom</strong> is a virtual learning platform. <br> Majorly focused on
29+
Secondary School students</p>
8830
</div>
89-
<div class="p2">
90-
<p>Success is no accident.</p>
91-
<p>It's hard work, perserverance, </p>
92-
<p>learning, studying, sacrifice and most</p>
93-
<p>of all love for what you are doing or</p>
94-
<p> learning to do.</p>
95-
<hr>
96-
<button class="button"><span>Learn More</span> </button>
97-
</div> -->
98-
99-
<!DOCTYPE html>
100-
<html lang="en">
101-
102-
<head>
103-
<meta charset="UTF-8">
104-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
105-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
106-
<link rel="icon" href="https://res.cloudinary.com/dexcjehc5/image/upload/v1569397404/Logo" type="image/png">
107-
<link rel="stylesheet" href="/stylesheets/home.css">
108-
<title>Welcome To Maithisi Learning Class</title>
109-
</head>
110-
111-
<body>
112-
<header>
113-
<img src="/appdesigns/Logo.svg" class="logo" alt="Logo" width="15%">
114-
<nav>
115-
<ul class="nav__links">
116-
<li class="home"><a href="/">Home</a></li>
117-
<li class="about"><a href="/about">About</a></li>
118-
<li class="students"><a href="/login">Students</a></li>
119-
<li class="teachers"><a href="/login">Teachers</a></li>
120-
</ul>
121-
</nav>
122-
<a href="/courses" class="get-started"><button>View Courses</button></a>
123-
</header>
124-
<div class="container">
125-
<div class="p1">
126-
<p><strong>Mathisi Mini Classroom</strong> is a virtual learning platform. <br> Majorly focused on
127-
Secondary School students</p>
128-
</div>
129-
<div class='row'>
130-
<div class='column'>
131-
<div class='column-left'>
132-
<div class="p2">
133-
<p>Success is no accident. It's hard work, perserverance,
134-
learning, studying, sacrifice and
135-
most of all love for what you are doing or learning to do.
136-
</p>
137-
<hr>
138-
<a href="/about" class="learn-more">Learn More</a>
139-
</div>
140-
</div>
141-
</div>
142-
<div class='column'>
143-
<div class='column-right'>
144-
<img src="/images/20490.svg" class="image-right" alt="">
145-
</div>
31+
<div class='row'>
32+
<div class='column'>
33+
<div class='column-left'>
34+
<div class="p2">
35+
<p>Success is no accident. It's hard work, perserverance,
36+
learning, studying, sacrifice and
37+
most of all love for what you are doing or learning to do.
38+
</p>
39+
<hr>
40+
<a href="/about" class="learn-more">Learn More</a>
14641
</div>
14742
</div>
14843
</div>
149-
<div class="container">
150-
<div class='row-3'>
151-
<div class='column'>
152-
<div class='column-left'>
153-
<img src="/images/undraw_teaching_f1cm.svg" class="image-left" alt="">
44+
<div class='column'>
45+
<div class='column-right'>
46+
<img src="/images/20490.svg" class="image-right" alt="">
47+
</div>
48+
</div>
49+
</div>
50+
</div>
51+
<div class="container">
52+
<div class='row-3'>
53+
<div class='column'>
54+
<div class='column-left'>
55+
<img src="/images/undraw_teaching_f1cm.svg" class="image-left" alt="">
15456

155-
</div>
156-
</div>
157-
<div class='column'>
158-
<div class='column-right-3'>
159-
<div class="p3">
160-
<p>The capacity to learn is a gift; the ability to learn is a skill; the willingness to
161-
learn is a choice.</p>
162-
<a href="/about" class="learn-more">Learn More</a>
163-
</div>
164-
</div>
57+
</div>
58+
</div>
59+
<div class='column'>
60+
<div class='column-right-3'>
61+
<div class="p3">
62+
<p>The capacity to learn is a gift; the ability to learn is a skill; the willingness to
63+
learn is a choice.</p>
64+
<a href="/about" class="learn-more">Learn More</a>
16565
</div>
16666
</div>
16767
</div>
68+
</div>
69+
</div>
70+
71+
</body>
16872

169-
</body>
73+
</html>
17074

171-
</html>
172-
173-
<% include partials/footer %>
75+
<% include partials/footer %>

0 commit comments

Comments
 (0)