Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ChloeXWang authored Sep 16, 2018
1 parent e586186 commit 2084a03
Show file tree
Hide file tree
Showing 5 changed files with 662 additions and 0 deletions.
35 changes: 35 additions & 0 deletions Readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
== Theme Name: Clemo - FREE HTML5 Multipurpose Portfolio Template

== Copyright (c) 2016 BootstrapThemes.co

== http://BootstrapThemes.co


Html Created by: http://bootstrapthemes.co



Psd Created by: --Illia Nesterov-- https://www.behance.net/gallery/35699887/Clemo-Free-PSD-Template


Rights:
You are permitted to use the resources for any number of personal and commercial projects.
You may modify the resources according to your requirements and include them into works,
such as websites, applications or other materials intended for sale. No attribution or
link back to this site is required, however any credit will be much appreciated.


Prohibitions:
You do not have the rights to redistribute, resell, lease, license, sublicense or offer
files downloaded from http://bootstrapthemes.co to any third party �as is� or as a separate attachment
from any of your work. If you wish to promote my resources on your site, you must link back
to the resource page where users can find the download and not directly to the download file.



If you would like to share one of my resources, you can do so by making a link to the specific
resource on http://bootstrapthemes.co , you can if you wish insert the embed code for the product previews images to illustrate your link.
No HOTLINKING is allowed i.e. you cannot make a direct link to the download or/and the images hosted on http://bootstrapthemes.co

Concerning blog posts, you are free to link to it from any website,
but you cannot however publish it as it is, without prior consent from http://bootstrapthemes.co
226 changes: 226 additions & 0 deletions aboutus.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,226 @@
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Fresh Bite - Hack the North Project</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">


<link rel="stylesheet" href="assets/css/fonticons.css">
<link rel="stylesheet" href="assets/css/slider-pro.css">
<link rel="stylesheet" href="assets/css/stylesheet.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">


<!--For Plugins external css-->
<link rel="stylesheet" href="assets/css/plugins.css" />

<!--Theme custom css -->
<link rel="stylesheet" href="assets/css/style.css">

<!--Theme Responsive css-->
<link rel="stylesheet" href="assets/css/responsive.css" />

<script src="assets/js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body data-spy="scroll" data-target=".navbar-collapse">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class='preloader'><div class='loaded'>&nbsp;</div></div>
<header id="main_menu" class="header navbar-fixed-top">
<div class="main_menu_bg">
<div class="container">
<div class="row">
<div class="nave_menu">
<nav class="navbar navbar-default" id="navmenu">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
<img src="assets/images/logo.png" style="width:80px;height:64px;" align="TOP"/>
</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->



<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="aboutus.html">About</a></li>
</ul>
</div>

</div>
</nav>
</div>
</div>

</div>

</div>
</header> <!--End of header -->



<!-- About Section -->
<section id="aboutus" class="aboutus margin-top-120">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="head_title text-center margin-top-80">
<h2>Fresh Bite</h2>
</div><!-- End of head title -->

<div class="main_about_area">
<div class="row">

<div class="col-sm-6">
<div class="signle_about_left">
<img src="assets/images/logo.png" alt="" style="height:300px;"/>
<div class="single_about_left_text">
<div class="separator2"></div>
<h4>Take a bite <br />
out of the <br />
food waste <br />
problem!
</h4>
</div>
</div>


</div>

<div class="col-sm-5 col-sm-push-1">
<div class="single_about">
<div class="separator2"></div>
<p>An idea first founded by four girls at a Hack-a-thon called Hack the North, Freshbite aims to provide a clean system of giving clients information on how fresh their groceries can last. </p>

<p>This also in turn creates less ecological waste, as the billions of tons of food waste mostly come from people not being able to consume all the groceries they buy. </p>

<p>Like the name implies, we want to ensure, every bite you take is fresh. </p>

<a href="index.html" class="btn btn-default">Try Fresh Bite!</a>
</div>
</div>

</div>
</div>
</div><!-- End of col-sm-12 -->
</div><!-- End of row -->
</div><!-- End of Container -->
<hr />
</section><!-- End of about Section -->



<!-- counter Seection -->
<section id="counter" class="counter">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="main_counter sections text-center">
<div class="row">
<div class="col-sm-4 col-xs-12">
<div class="single_counter_right">
<h4 class="statistic-counter">1,300,000,000</h4>
<div class="separator"></div>
<p>Tons of food wasted per year</p>
</div>
</div><!-- End of col-sm-4 -->

<div class="col-sm-4 col-xs-12">
<div class="single_counter_right">
<h4 class="statistic-counter">1,435,670</h4>
<div class="separator"></div>
<p>How many people that amount could feed</p>
</div>
</div><!-- End of col-sm-4 -->

<div class="col-sm-4 col-xs-12">
<div class="single_counter_right">
<h4 class="statistic-counter">196,969</h4>
<div class="separator"></div>
<p>How many HTN events that amount could support</p>
</div>
</div><!-- End of col-sm-4 -->

</div><!-- End of row -->
</div>
</div><!-- End of col-sm-12 -->
</div><!-- End of row -->
</div><!-- End of Container -->
</section><!-- End of counter Section -->

<!-- footer section -->
<footer id="footer" class="footer">
<div class="container">
<div class="main_footer">
<div class="row">
<div class="col-sm-12">
<div class="copyright_text text-center">
<p class=" wow fadeInRight" data-wow-duration="1s">Hack the North<i class="fa fa-heart"></i>Alison, Chloe, Grace, Tiffany </a>2018. </p>
</div>
</div>
</div>
</div>
</div><!-- End of container -->
</footer><!-- End of footer Section-->



<!-- START SCROLL TO TOP -->

<div class="scrollup">
<a href="#"><i class="fa fa-chevron-up"></i></a>
</div>

<script src="assets/js/vendor/jquery-1.11.2.min.js"></script>
<script src="assets/js/vendor/bootstrap.min.js"></script>

<script src="assets/js/jquery.easing.1.3.js"></script>
<script src="assets/js/masonry/masonry.min.js"></script>
<script type="text/javascript">
$('.mixcontent').masonry();
</script>

<script src="assets/js/jquery.sliderPro.min.js"></script>
<script type="text/javascript">
$(document).ready(function ($) {
$('#example3').sliderPro({
width: 960,
height: 200,
fade: true,
arrows: false,
buttons: true,
fullScreen: false,
shuffle: true,
smallSize: 500,
mediumSize: 1000,
largeSize: 3000,
thumbnailArrows: true,
autoplay: false,
thumbnailsContainerSize: 960

});
});
</script>
<script src="assets/js/plugins.js"></script>
<script src="assets/js/main.js"></script>

</body>
</html>
39 changes: 39 additions & 0 deletions client.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@

var Express = require('express');
var multer = require('multer');
var bodyParser = require('body-parser');
var app = Express();
app.use(bodyParser.json());
var filepath = null;

var Storage = multer.diskStorage({
destination: function(req, file, callback) {
callback(null, "./Images");
},
filename: function(req, file, callback) {
filepath = file.fieldname + "_" + Date.now() + "_" + file.originalname;
callback(null, filepath);
console.log("It worked");
}
});

var upload = multer({
storage: Storage
}).array("imgUploader", 3); //Field name and max count

app.get("/", function(req, res) {
res.sendFile(__dirname + "/index.html");
});
app.post("/api/Upload", function(req, res) {
upload(req, res, function(err) {
if (err) {
return res.end("Something went wrong!");
}
return res.end("File uploaded sucessfully!.");
});
});


app.listen(2000, function(a) {
console.log("Listening to port 3000");
});
Binary file added favicon.ico
Binary file not shown.
Loading

0 comments on commit 2084a03

Please sign in to comment.