Cut down the website to bare minimum. Meat & Eggs currently just points to eggs. Need to decide how that should play out.

This commit is contained in:
Wynne Crisman
2020-05-07 15:09:06 -07:00
parent 6e6cbbbcc7
commit 998209817f
18 changed files with 2265 additions and 867 deletions

26
public/home.html Normal file
View File

@@ -0,0 +1,26 @@
<div id="home" class="page">
<p style="clear: both">Were a small family farm in Mendocino County growing a wide range of fruits and vegetables which we preserve in our commercial kitchen. We also raise chickens, pigeons, pigs, rabbits and cows for meat and eggs. Our practices are organic and then some, although we are not certified.</p>
<div class="homeSlideshowInstructions">Click Image To Pause</div>
<div class="homeSlideshow" data-cycle-fx="fadeout" data-cycle-timeout=4000 data-cycle-pause-on-hover="true"><div class="cycle-overlay"></div><div class="cycle-pager"></div><img src="images/map_v1.jpg" data-cycle-title="The Map" data-cycle-desc=""/><img src="images/Visit2_v1.jpg" data-cycle-title="View from Hwy 128" data-cycle-desc=""/><img src="images/Visit3_v1.jpg" data-cycle-title="Go Left at the Fork" data-cycle-desc=""/><img src="images/Visit4_v1.jpg" data-cycle-title="Our 'Door Bell'.. or just wander around until you are found!" data-cycle-desc=""/><img src="images/Visit5_v1.jpg" data-cycle-title="View from Above" data-cycle-desc=""/></div>
</div>
<script type="text/javascript" language="JavaScript">
$('.homeSlideshow').cycle();
$('.homeSlideshow img').click(function() {
if($('.homeSlideshow').data('is-paused')) {
$('.homeSlideshow').cycle('resume');
$('.homeSlideshow').data('is-paused', false);
$('.homeSlideshowInstructions').html("Click Image To Pause");
//$('.homeSlideshow .cycle-pause').css('background-image', 'images/pause.png');
}
else {
$('.homeSlideshow').cycle('pause');
$('.homeSlideshow').data('is-paused', true);
$('.homeSlideshowInstructions').html("Click Image To Resume");
//$('.homeSlideshow .cycle-pause').css('background-image', 'images/play.png');
}
});
$('.homeSlideshow div').unloaded = function() {
$('.homeSlideshow').cycle('destroy');
alert("Destroyed");
}
</script>