diff --git a/server.js b/server.js index 3d5cece3abd..350d061410d 100644 --- a/server.js +++ b/server.js @@ -8,7 +8,9 @@ app.use(morgan('combined')); app.get('/', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'index.html')); }); - +app.get('/article-one', function (req, res) { + res.sendFile(path.join(__dirname, 'ui', 'article-one.html')); +}); app.get('/ui/style.css', function (req, res) { res.sendFile(path.join(__dirname, 'ui', 'style.css')); }); diff --git a/ui/article-one.html b/ui/article-one.html new file mode 100644 index 00000000000..0d72ede20da --- /dev/null +++ b/ui/article-one.html @@ -0,0 +1,20 @@ + + + + + Article one + + + + Home +
+

This is first article

+
+
+ 27 sept 2016 +
+
+

This is first article of shagufta

+
+ + diff --git a/ui/index.html b/ui/index.html index 5a28644db45..579e97256f0 100644 --- a/ui/index.html +++ b/ui/index.html @@ -9,7 +9,7 @@
- Hi! I am your webapp. + hii i am shagufta it is my first app!
diff --git a/ui/style.css b/ui/style.css index 71a5f6acc1e..c3f3f33bd5e 100644 --- a/ui/style.css +++ b/ui/style.css @@ -1,6 +1,6 @@ body { font-family: sans-serif; - background-color: lightgrey; + background-color: purple; margin-top: 75px; }