Compare commits

4 Commits

22 changed files with 198 additions and 160 deletions

1
.gitignore vendored
View File

@@ -10,3 +10,4 @@ config/db.js
# Don't include the .idea folder which is used by the Webstorm IDE # Don't include the .idea folder which is used by the Webstorm IDE
.idea/workspace.xml .idea/workspace.xml
.idea/ .idea/
*.map

6
.theia/launch.json Normal file
View File

@@ -0,0 +1,6 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
"version": "0.2.0",
"configurations": []
}

View File

@@ -1,4 +1,4 @@
#farm-made-fare #canned
.mainTextBlock .mainTextBlock
.secondaryTextBlock .secondaryTextBlock

View File

@@ -12,7 +12,7 @@ html, body, #archives ul, #overall-footer, #content ul
margin: 0 0 0 0 margin: 0 0 0 0
padding: 0 0 0 0 padding: 0 0 0 0
body body
background: #F6F6F6 background: #84916E
font-family: verdana, arial, helvetica, sans-serif font-family: verdana, arial, helvetica, sans-serif
font-size: 1.0em font-size: 1.0em
@@ -36,17 +36,17 @@ body
max-width: 950px max-width: 950px
min-width: 250px min-width: 250px
margin: 0 auto margin: 0 auto
#page .page
/*background: url('images/GrassBackground_v1.jpg') repeat /*background: url('images/GrassBackground_v1.jpg') repeat*/
background: #F6F6F6*/ //background: #F6F6F6
background: #FDFDFD background: #DDE1D5
/* Small Devices (phones) */ /* Small Devices (phones) */
@media(max-width: 549px) @media(max-width: 549px)
#head .head
margin: 0 auto margin: 0 auto
/*background: url(images/Header_v2.jpg) no-repeat top center //background: url(images/Header_v2.jpg) no-repeat top center
height: 171px*/ //height: 171px
height: 0 height: 0
#logo #logo
position: absolute position: absolute
@@ -61,11 +61,11 @@ body
margin: 0 auto margin: 0 auto
padding: 6px 4px padding: 6px 4px
position: relative position: relative
#menuBackground .menuBackground
height: 20px height: 20px
max-width: 950px max-width: 950px
background: #FFF background: #FFF
#menu .menu
white-space: nowrap white-space: nowrap
position: absolute position: absolute
height: 20px height: 20px
@@ -73,7 +73,7 @@ body
font-family: "Open Sans", Arial, Helvetica, sans-serif font-family: "Open Sans", Arial, Helvetica, sans-serif
font-weight: 600 font-weight: 600
font-size: .8em font-size: .8em
#menu a .menu a
margin: 0 0 0 5px margin: 0 0 0 5px
text-decoration: none text-decoration: none
color: black color: black
@@ -85,7 +85,7 @@ body
-webkit-box-sizing: border-box /* Safari/Chrome, other WebKit */ -webkit-box-sizing: border-box /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box /* Firefox, other Gecko */ -moz-box-sizing: border-box /* Firefox, other Gecko */
box-sizing: border-box /* Opera/IE 8+ */ box-sizing: border-box /* Opera/IE 8+ */
#menu a:hover .menu a:hover
opacity: .7 opacity: .7
color: black color: black
border-bottom: 1px solid red border-bottom: 1px solid red
@@ -125,19 +125,19 @@ body
/* Large(r) Devices (tablets and full computers) */ /* Large(r) Devices (tablets and full computers) */
@media(min-width: 550px) @media(min-width: 550px)
#head .head
margin: 0 auto margin: 0 auto
background: url(images/HeaderTall_v1.jpg) no-repeat top center background: url(images/HeaderTall_v1test.jpg) no-repeat top center
background-size: 100% background-size: 100%
background-position: bottom left background-position: bottom left
max-width: 950px max-width: 950px
height: 171px height: 171px
#head.tall .head.tall
height: 342px height: 342px
#logo #logo
position: absolute position: absolute
right: 10px left: 10px
top: 10px top: 90px
width: 120px width: 120px
height: 120px height: 120px
background: url(images/PetitTetonLogo_v2.png) no-repeat top center background: url(images/PetitTetonLogo_v2.png) no-repeat top center
@@ -147,21 +147,26 @@ body
margin: 0 auto margin: 0 auto
padding: 30px 20px padding: 30px 20px
position: relative position: relative
#menuBackground .menuBackground
height: 31px height: 5rem
max-width: 950px max-width: 950px
background: #FFF background: #DDE1D5
#menu .menu
white-space: nowrap white-space: nowrap
position: absolute position: absolute
height: 30px height: 2.5rem
margin-bottom: 1px width: 80%
z-index: 200 z-index: 200
font-family: "Open Sans", Arial, Helvetica, sans-serif font-family: "Open Sans", Arial, Helvetica, sans-serif
font-weight: 600 font-weight: 600
font-size: 1em font-size: 1.25rem
#menu a display: flex
margin: 0 0 0 16px justify-content: space-between
margin-left: 10%
.menu a
margin: 0 auto
margin-top: .325rem
white-space: nowrap
text-decoration: none text-decoration: none
color: black color: black
line-height: 30px line-height: 30px
@@ -172,23 +177,23 @@ body
-webkit-box-sizing: border-box /* Safari/Chrome, other WebKit */ -webkit-box-sizing: border-box /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box /* Firefox, other Gecko */ -moz-box-sizing: border-box /* Firefox, other Gecko */
box-sizing: border-box /* Opera/IE 8+ */ box-sizing: border-box /* Opera/IE 8+ */
#menu a.holidayMenuItem .menu a.holidayMenuItem
font-family: "Grand Hotel", "Open Sans", Arial, Helvetica, sans-serif font-family: "Grand Hotel", "Open Sans", Arial, Helvetica, sans-serif
font-weight: 400 font-weight: 400
font-size: 1.3em font-size: 1.3em
letter-spacing: 1px letter-spacing: 1px
vertical-align: top vertical-align: top
#menu a.shippingMenuItem .menu a.shippingMenuItem
font-family: "Grand Hotel", "Open Sans", Arial, Helvetica, sans-serif font-family: "Grand Hotel", "Open Sans", Arial, Helvetica, sans-serif
font-weight: 400 font-weight: 400
font-size: 1.3em font-size: 1.3em
letter-spacing: 1px letter-spacing: 1px
vertical-align: top vertical-align: top
#menu a:hover .menu a:hover
opacity: 1 opacity: 1
color: black color: #9E8200
background: transparent background: transparent
border-bottom: 3px solid #a20010 border-bottom: 3px solid #9E8200
#links #links
white-space: nowrap white-space: nowrap
position: absolute position: absolute
@@ -268,13 +273,13 @@ h1:after
margin-bottom: 10px margin-bottom: 10px
content: "" content: ""
display: block display: block
/* bar in the middle // bar in the middle
content: "" // content: ""
display: table-cell // display: table-cell
width: 100% // width: 100%
border-left: 100% solid black // border-left: 100% solid black
background-image: linear-gradient(transparent 47%, #dddddd 48%, #dddddd 52%, transparent 52%) // background-image: linear-gradient(transparent 47%, #dddddd 48%, #dddddd 52%, transparent 52%)
*/
h2 h2
display: inline display: inline
color: #333 color: #333
@@ -309,6 +314,12 @@ li
sup, sub sup, sub
line-height: 0.1em line-height: 0.1em
.pageBorder
background-color: blue
padding: 40px 10px 10px 10px
margin-bottom: 20px
margin-top: 10px
.submenu .submenu
h2:after h2:after
border-bottom: 1px solid gray border-bottom: 1px solid gray
@@ -330,6 +341,7 @@ sup, sub
-moz-column-fill: balance -moz-column-fill: balance
column-fill: balance column-fill: balance
.columnContent .columnContent
height: 15rem
text-align: center text-align: center
cursor: pointer cursor: pointer
margin: 4px 15px 4px 15px margin: 4px 15px 4px 15px
@@ -436,17 +448,17 @@ sup, sub
//background: url(images/Chicken-Egg.gif) no-repeat center top //background: url(images/Chicken-Egg.gif) no-repeat center top
/* Footer Lines */ /* Footer Lines */
#footer .footer
margin-top: 6px margin-top: 6px
color: #666 color: #666
font-family: verdana, arial, helvetica, sans-serif font-family: verdana, arial, helvetica, sans-serif
font-size: 0.7em font-size: 0.7em
text-align: left text-align: left
#footer a .footer a
color: #666 color: #666
font-family: verdana, arial, helvetica, sans-serif font-family: verdana, arial, helvetica, sans-serif
text-decoration: none text-decoration: none
#footer a:hover .footer a:hover
color: #00a55d color: #00a55d
#designedBy #designedBy
@@ -539,4 +551,4 @@ sup, sub
float: left float: left
margin: 4px 10px 10px 0 margin: 4px 10px 10px 0
.blogLink .blogLink
color: #e40329 !important //color: #e40329 !important

View File

@@ -1,4 +1,4 @@
#veggies #produce
.produceTable .produceTable
min-width: 200px min-width: 200px
float: left float: left

View File

@@ -1 +1,2 @@
#aphome #aphome

View File

@@ -1,5 +1,5 @@
<div id="farm-made-fare" class="page"> <div id="canned" class="page">
<h1>FARM-MADE FARE</h1> <h1>Canned Goods</h1>
<!--<div class="secondaryTextBlock">--> <!--<div class="secondaryTextBlock">-->
<!--<img class="shipImage" src="images/WeShip_v1.jpg"/>--> <!--<img class="shipImage" src="images/WeShip_v1.jpg"/>-->
<!--<p>We now ship our farm made fare. For those who cannot visit the farm or come to a farmers' market, there is now the option to call <b>707.684.4146</b> or email <a href="mailto:farmer@petitteton.com"><b>farmer@petitteton.com</b></a> with an order. Download the latest product list below, choose what interests you, then let us know. If emailing, include your mailing address and payment preference. We will check availability and give you a total, then you can send a check, call with your credit card number or have us send a PayPal bill to your email address. We will ship as soon as we have payment. --> <!--<p>We now ship our farm made fare. For those who cannot visit the farm or come to a farmers' market, there is now the option to call <b>707.684.4146</b> or email <a href="mailto:farmer@petitteton.com"><b>farmer@petitteton.com</b></a> with an order. Download the latest product list below, choose what interests you, then let us know. If emailing, include your mailing address and payment preference. We will check availability and give you a total, then you can send a check, call with your credit card number or have us send a PayPal bill to your email address. We will ship as soon as we have payment. -->

View File

@@ -1,5 +1,5 @@
<div id="eggs" class="page"> <div id="eggs" class="page">
<h1>Chickens &amp; EGGS</h1> <h1>Eggs &amp; Meat</h1>
<p><img class="shadow floatLeft" style="width:160px;height:120px;" src="images/Eggs1_v1.jpg" alt="" border="0" align="left"/> <p><img class="shadow floatLeft" style="width:160px;height:120px;" src="images/Eggs1_v1.jpg" alt="" border="0" align="left"/>
The eggs in our cartons look as though they've come from an Easter basket - many shades of brown and green, and different sizes! The eggs in our cartons look as though they've come from an Easter basket - many shades of brown and green, and different sizes!
It's the result of our wide variety of hens, including Rhode Island Red & White, Plymouth Rock, Sexlink, Buff Orpington, Araucana, Barred Rock, Cochin, Maran, and Australorp. It's the result of our wide variety of hens, including Rhode Island Red & White, Plymouth Rock, Sexlink, Buff Orpington, Araucana, Barred Rock, Cochin, Maran, and Australorp.

View File

@@ -1,38 +1,40 @@
<div id="farm" class="page submenu"> <div id="farm" class="page submenu">
<div class="columnContainer"> <div class="columnContainer">
<h1>Farm</h1> <!--<h1>Petit Teton Farm</h1>
<-->
<div class="columned"> <div class="columned">
<!--<div class="columnContent" onclick="window.location.hash='#!/farm-made-fare'">--> <!--<div class="columnContent" onclick="window.location.hash='#!/farm-made-fare'">-->
<!--<h2>Now Shipping</h2>--> <!--<h2>Now Shipping</h2>-->
<!--<img class="shadow" src="images/WeShip_v1.jpg" alt="" border="0" align="left"/>--> <!--<img class="shadow" src="images/WeShip_v1.jpg" alt="" border="0" align="left"/>-->
<!--<p>We now ship our farm-made fare.</p>--> <!--<p>We now ship our farm-made fare.</p>-->
<!--</div>--> <!--</div>-->
<div class="columnContent" onclick="window.location.hash='#!/land'"> <div class="columnContent" onclick="window.location.hash='#!/food'">
<h2>Our Land</h2> <h2>Food</h2>
<img class="shadow" src="images/Farm_Land_v1.jpg" alt="" border="0" align="left"/> <img class="shadow" src="images/FoodFMF_v2_CropTest.jpg" alt="" border="0" align="left"/>
<p>The land we own had been a ranch for generations, part of a much larger spread, and was still a small sheep ranch when we bought it in 2004. In 2011 we bought the neighboring property...</p> <p style="text-align: center;"></p>
</div> </div>
<div class="columnContent" onclick="window.location.hash='#!/us'"> <div class="columnContent" onclick="window.location.hash='#!/land'">
<h2>About Us</h2> <h2>Our Story</h2>
<img class="shadow" src="images/Farm_AboutUs_v1.jpg" alt="" border="0" align="left"/> <img class="shadow" src="images/Farm_Land_v1.jpg" alt="" border="0" align="left"/>
<p>Our jobs on the farm and our backgrounds...</p> <p style="text-align: center;"></p>
</div> </div>
<div class="columnContent" onclick="window.location.hash='#!/markets'"> <div class="columnContent" onclick="window.location.hash='#!/markets'">
<h2>Markets</h2> <h2>Markets</h2>
<img class="shadow" src="images/Farm_Markets_v1.jpg" alt="" border="0" align="left"/> <img class="shadow" src="images/Farmers_Market_1_CropTest.jpg" alt="" border="0" align="left"/>
<p>For many years now we've sold our produce at farmers' markets. Currently you'll find us...</p> <p style="text-align: center;"></p>
</div>
<div class="columnContent" onclick="window.location.hash='#!/aquaponics'">
<h2>Aquaponics</h2>
<img class="shadow" src="images/Farm_Aquaponics_v1.jpg" alt="" border="0" align="left"/>
<p>Aquaponics is a system of growing crops and fish in tandem. The water is recycled continuously and the fish...</p>
</div> </div>
<div class="columnContent" onclick="window.location.hash='#!/animals'"> <div class="columnContent" onclick="window.location.hash='#!/animals'">
<h2>Animals</h2> <h2>Blog</h2>
<img class="shadow" src="images/FoodBeef_v1.jpg" alt="" border="0" align="left"/> <img class="shadow" src="images/Farm_AboutUs_v1.jpg" alt="" border="0" align="left"/>
<p>...</p> <p>...</p>
</div> </div>
<div class="columnContent" onclick="window.location.hash='#!/us'">
<h2>About Us</h2>
<img class="shadow" src="images/Visit4_v1_CropTest.jpg" alt="" border="0" align="left"/>
<p style="text-align: center;"></pstyle></p>
</div>
<!--<div class="columnContent" onclick="window.location.hash='#!/visiting'">--> <!--<div class="columnContent" onclick="window.location.hash='#!/visiting'">-->
<!--<h2>Contact &amp; Visit</h2>--> <!--<h2>Contact &amp; Visit</h2>-->
<!--<img class="shadow" src="images/Driveway2_v2.jpg" alt="" border="0" align="left"/>--> <!--<img class="shadow" src="images/Driveway2_v2.jpg" alt="" border="0" align="left"/>-->

View File

@@ -2,13 +2,13 @@
<div class="columnContainer"> <div class="columnContainer">
<h1>Food</h1> <h1>Food</h1>
<div class="columned"> <div class="columned">
<div class="columnContent" onclick="window.location.hash='#!/farm-made-fare'"> <div class="columnContent" onclick="window.location.hash='#!/canned'">
<h2>Farm-Made Fare</h2> <h2>Canned Goods</h2>
<img class="shadow" src="images/FoodFMF_v1.jpg" alt="" border="0" align="left"/> <img class="shadow" src="images/FoodFMF_v1.jpg" alt="" border="0" align="left"/>
<p>Check out what we are cooking in the kitchen!</p> <p>Check out what we are cooking in the kitchen!</p>
</div> </div>
<div class="columnContent" onclick="window.location.hash='#!/eggs'"> <div class="columnContent" onclick="window.location.hash='#!/eggs'">
<h2>Meat &amp; Eggs</h2> <h2>Eggs &amp; Meat</h2>
<img class="shadow" src="images/FoodEggs_v1.jpg" alt="" border="0" align="left"/> <img class="shadow" src="images/FoodEggs_v1.jpg" alt="" border="0" align="left"/>
<p>Eggs from our truly free range chickens are provided in a colorful array and sold by the dozen.</p> <p>Eggs from our truly free range chickens are provided in a colorful array and sold by the dozen.</p>
</div> </div>
@@ -32,7 +32,7 @@
<!--<img class="shadow" src="images/FoodChicken_v1.jpg" alt="" border="0" align="left"/>--> <!--<img class="shadow" src="images/FoodChicken_v1.jpg" alt="" border="0" align="left"/>-->
<!--<p>We have over 100 laying hens spread across several areas of the farm, and we sell the spent laying hens as organic fed chicken.</p>--> <!--<p>We have over 100 laying hens spread across several areas of the farm, and we sell the spent laying hens as organic fed chicken.</p>-->
<!--</div>--> <!--</div>-->
<div class="columnContent" onclick="window.location.hash='#!/veggies'"> <div class="columnContent" onclick="window.location.hash='#!/produce'">
<h2>Produce</h2> <h2>Produce</h2>
<img class="shadow" src="images/FoodVeggies_v1.jpg" alt="" border="0" align="left"/> <img class="shadow" src="images/FoodVeggies_v1.jpg" alt="" border="0" align="left"/>
<p>We grow and sell a very wide variety of freshly picked produce.</p> <p>We grow and sell a very wide variety of freshly picked produce.</p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

After

Width:  |  Height:  |  Size: 417 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View File

@@ -25,42 +25,37 @@
<script type="text/javascript" language="JavaScript" src="js/jquery.cycle2.min.js"></script> <script type="text/javascript" language="JavaScript" src="js/jquery.cycle2.min.js"></script>
<script type="text/javascript" language="JavaScript" src="js/jquery.shadow.js"></script> <script type="text/javascript" language="JavaScript" src="js/jquery.shadow.js"></script>
<script type="text/javascript" language="JavaScript" src="js/scroller.js"></script> <script type="text/javascript" language="JavaScript" src="js/scroller.js"></script>
<!--<script type="text/javascript" language="JavaScript" src="js/framework.js"></script>-->
<script type="text/javascript" language="JavaScript" src="js/main.js"></script> <script type="text/javascript" language="JavaScript" src="js/main.js"></script>
</head> </head>
<body> <body>
<div id="overall"> <div id="overall">
<div id="page"> <div class="pageBorder">
<div id="menu"><!-- Note: Comment out spacing between the elements since the browser will interpret the spaces as characters to be displayed. <div class="page">
--><a href="#!/farm">Farm</a><!-- <div class="menu"><!-- Note: Comment out spacing between the elements since the browser will interpret the spaces as characters to be displayed.
--><a href="#!/farm">Home</a><!--
--><a href="#!/food">Food</a><!-- --><a href="#!/food">Food</a><!--
--<a href="#!/animals">Animals</a><!-- --><a href="#!/markets">Markets</a><!--
--<a href="#!/services">Services</a><!-- --><a href="#!/us">About Us</a><!--
--><a href="#!/visiting">Contact / Visit</a><!-- --><a class="blogLink" style="display: inline" target="_blank" href="//blog.petitteton.com">Blog</a><!--
--><a class="blogLink" style="display: none" target="_blank" href="//blog.petitteton.com">Blog</a><!--
--><!--<a href="#!/holidays" class="holidayMenuItem">Holidays</a>--><!--
--><!--<a href="#!/shipping" class="shippingMenuItem">Shipping</a>--><!--
--></div> --></div>
<!-- <div id="links">--> <div class="menuBackground"></div>
<!-- &lt;!&ndash; Note: Comment out spacing between the elements since the browser will interpret the spaces as characters to be displayed. &ndash;&gt;--> <div class="head">
<!--&lt;!&ndash; <a id="linkFacebook" href="http://www.facebook.com/pages/Petit-Teton-Farm/229690830390080?sk=wall#" target='_blank' rel="nofollow"></a>&lt;!&ndash;&ndash;&gt;--> <div id="logo" onclick="window.location.hash='#!/farm'"></div>
<!--&lt;!&ndash; &ndash;&gt;<a id="linkGoogle" href="https://plus.google.com/104893482629844050636/about" target='_blank' rel="nofollow"></a>&lt;!&ndash;&ndash;&gt;-->
<!--&lt;!&ndash; &ndash;&gt;<a id="linkTwitter" style="display: none" href="https://twitter.com/PetitTeton" target='_blank' rel="nofollow"></a>&ndash;&gt;-->
<!-- </div>-->
<div id="menuBackground"></div>
<div id="head">
<div id="logo" onclick="window.location.hash='#!/grow-and-can'"></div>
</div> </div>
<div id="content" bs-view="main-view"> <div id="content" bs-view="main-view">
<!--CONTENT:main--> <!--CONTENT:main-->
</div> </div>
</div> </div>
<div>
<p style="text-align: center;"><strong>Petit Teton Farm</strong>
<br>18501 Hwy 128, Yorkville, CA 95494
<br>707-123-4567
<br><a href="mailto:farmer@petitteton.com">farmer@petitteton.com</a>
</p></div>
<!-- footer lines --> <!-- footer lines -->
<div id="footer">&copy; 2009,2023 Petit Teton LLC | Farm Email <a href="mailto:farmer@petitteton.com">farmer@petitteton.com</a></div> <div class="footer">&copy; 2009,2023 Petit Teton LLC | Farm Email <a href="mailto:farmer@petitteton.com">farmer@petitteton.com</a></div>
<!-- <div id="designedBy" style="">--> </div>
<!-- Web Site By: <a href="http://de22.com" style="font-weight: normal" target="_blank">Declarative Engineering LLC</a>-->
<!-- </div>-->
</div> </div>
</body> </body>
</html> </html>

View File

@@ -1,21 +1,21 @@
var slideShowIndex = 0; let slideShowIndex = 0;
var slideShowSlides = []; //An array of arrays - each sub-array contains the image path, title, description, width, and height.// let slideShowSlides = []; //An array of arrays - each sub-array contains the image path, title, description, width, and height.//
var scrollerScrollTime = 3500; let scrollerScrollTime = 3500;
var scrollerInitialDelay = 5000; let scrollerInitialDelay = 5000;
var scrollerTransitionTime = 1000; let scrollerTransitionTime = 1000;
window.status=""; window.status="";
//Handle the document ready event which is where any initialization code goes. //Handle the document ready event which is where any initialization code goes.
$(document).ready(function($) { $(document).ready(function($) {
var contentDiv = $('#content'); let contentDiv = $('#content');
//var viewName = "main-view"; //let viewName = "main-view";
//var view = $('[bs-view="' + viewName + '"]'); //let view = $('[bs-view="' + viewName + '"]');
//if(!view || view.length != 1) { //if(!view || view.length != 1) {
// throw "View with name: '" + viewName + "' not found"; // throw "View with name: '" + viewName + "' not found";
//} //}
//var layoutManager = new LayoutManager("main-view"); //let layoutManager = new LayoutManager("main-view");
var layoutManager = new LayoutManager(contentDiv); let layoutManager = new LayoutManager(contentDiv);
//layoutManager.defaultUrl = '!/holidays'; //layoutManager.defaultUrl = '!/holidays';
layoutManager.defaultUrl = '!/home'; layoutManager.defaultUrl = '!/home';
@@ -23,17 +23,40 @@ $(document).ready(function($) {
{cls: 'full', fadeIn: null, fadeOut: null} {cls: 'full', fadeIn: null, fadeOut: null}
]; ];
layoutManager.viewMetadataDefaults = {classes: 'full'}; layoutManager.viewMetadataDefaults = {classes: 'full'};
// layoutManager.viewMetadata = {
// weddings: {
// load: "element.data('scroller', new ItemScroller($('div.scrollViewport'), 142, scrollerScrollTime, scrollerInitialDelay, scrollerTransitionTime, false));",
// unload:"element.data('scroller').release(); element.data('scroller', undefined);"
// },
// home: {
// load: "$('#head').addClass('tall')",
// unload: "$('#head').removeClass('tall')"
// //load: "$('#head, #links').css({display: 'none'})",
// //unload: "$('#head, #links').css({display: 'block'})"
// }
// };
layoutManager.viewMetadata = { layoutManager.viewMetadata = {
weddings: { // home: {
load: "element.data('scroller', new ItemScroller($('div.scrollViewport'), 142, scrollerScrollTime, scrollerInitialDelay, scrollerTransitionTime, false));", // load: "$('#head').addClass('tall');",
unload:"element.data('scroller').release(); element.data('scroller', undefined);" // unload: "$('#head').removeClass('tall')"
}, // },
home: { // farm: {
load: "$('#head').addClass('tall')", // load: "$('#submenu-home').removeClass('hidden')",
unload: "$('#head').removeClass('tall')" // unload: "$('#submenu-home').addClass('hidden')"
//load: "$('#head, #links').css({display: 'none'})", // },
//unload: "$('#head, #links').css({display: 'block'})" // food: {
} // load: "$('#submenu-food').removeClass('hidden')",
// unload: "$('#submenu-food').addClass('hidden')"
// },
// canned: {
// load: "$('#submenu-food').removeClass('hidden')",
// unload: "$('#submenu-food').addClass('hidden')"
// },
// produce: {
// load: "$('#submenu-food').removeClass('hidden')",
// unload: "$('#submenu-food').addClass('hidden')"
// }
}; };
//Associate a function with the history jquery addon that will load the url content after the history is updated. //Associate a function with the history jquery addon that will load the url content after the history is updated.
@@ -45,7 +68,7 @@ $(document).ready(function($) {
layoutManager.show(url); layoutManager.show(url);
}); });
/* /*
var websocket = new WebSocket('ws://petitteton.com/'); let websocket = new WebSocket('ws://petitteton.com/');
websocket.onopen = function() { websocket.onopen = function() {
websocket.ping(); websocket.ping();

File diff suppressed because one or more lines are too long

27
public/main.sass Normal file
View File

@@ -0,0 +1,27 @@
@use 'index'
@use "clearfix"
@use "home"
@use "farm"
@use "food"
@use "animals"
@use "services"
@use "holidays"
@use "produce"
@use "grow-and-can"
@use "eggs"
@use "beef"
@use "pigs"
@use "chicken"
@use "markets"
@use "slideshow"
@use "visiting"
@use "weddings"
@use "community"
@use "yaks"
@use "us"
@use "canned"
@use "aquaponics"
@use "shipping"
@use "ap/aphome"
@use "ap/airlift"

View File

@@ -1,28 +0,0 @@
@use 'basic';
@use "clearfix";
@use "home";
@use "farm";
@use "food";
@use "animals";
@use "services";
@use "holidays";
@use "farm-made-fare";
@use "grow-and-can";
@use "eggs";
@use "beef";
@use "pigs";
@use "chicken";
@use "markets";
@use "slideshow";
@use "visiting";
@use "weddings";
@use "yaks";
@use "community";
@use "yaks";
@use "us";
@use "veggies";
@use "aquaponics";
@use "shipping";
@use "ap/aphome";
@use "ap/airlift";

View File

@@ -1,4 +1,4 @@
<div id="veggies" class="page"> <div id="produce" class="page">
<h1>PRODUCE</h1> <h1>PRODUCE</h1>
<p>We grow a cornucopia of fruits and vegetables at <b>Petit Teton</b>. Below is a listing of the things we have grown over the years. We do not use chemicals, and we use organic seed where possible (never GMO). To bring the best quality product to you, we practice biodiversity, make our own compost from crop and animal waste, and rotate crops. We grow our crops a lot like family farms 100 years ago did, before corporations took over the business of farming.</p> <p>We grow a cornucopia of fruits and vegetables at <b>Petit Teton</b>. Below is a listing of the things we have grown over the years. We do not use chemicals, and we use organic seed where possible (never GMO). To bring the best quality product to you, we practice biodiversity, make our own compost from crop and animal waste, and rotate crops. We grow our crops a lot like family farms 100 years ago did, before corporations took over the business of farming.</p>
<span class="produceTable"> <span class="produceTable">