Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ a.code.addon {
height: 100px;
position: relative;
background: white;
/* margin-top: 1.5em; temp promo */
margin-top: 1.5em; /* temp promo */
}

#navi,
Expand Down Expand Up @@ -2263,7 +2263,7 @@ footer {
@media (min-width: 780px) {
.container {
width: 49em !important;
margin: 10em auto; /* temp promo, 11.5em */
margin: 11.5em auto; /* temp promo, 10.0em */
}
main {
width: 36em;
Expand All @@ -2276,7 +2276,7 @@ footer {

@media (min-width: 780px) {
.container {
margin: 10em auto; /* temp promo, 11.5em */
margin: 11.5em auto; /* temp promo, 10.0em */
width: 100%;
padding: 0.8em 0 0 0;
height: auto;
Expand All @@ -2301,7 +2301,7 @@ footer {
}
#i18n-btn {
position: absolute;
top: 2.5em; /* temp promo, 4.0em */
top: 4.0em; /* temp promo, 2.5em */
right: 1em;
}
#i18n-btn a {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/reference.js
Original file line number Diff line number Diff line change
Expand Up @@ -4404,7 +4404,7 @@ define('menuView',[
});


define('text!tpl/library.html',[],function () { return '<h3><%= module.name %> library</h3>\n\n<p><%= module.description %></p>\n\n<div id="library-page" class="reference-group clearfix"> \n\n<% var t = 0; col = 0; %>\n\n<% _.each(groups, function(group){ %>\n <% if (t == 0) { %> \n <div class="column_<%=col%>">\n <% } %>\n <% if (group.name !== module.name && group.name !== \'p5\') { %>\n <% if (group.hash) { %> <a href="<%=group.hash%>" <% if (group.module !== module.name) { %>class="core"<% } %>><% } %> \n <h4 class="group-name <% if (t == 0) { %> first<%}%>"><%=group.name%></h4>\n <% if (group.hash) { %> </a><br> <% } %>\n <% } %>\n <% _.each(group.items.filter(function(item) {return item.access !== \'private\'}), function(item) { %>\n <a href="<%=item.hash%>" <% if (item.module !== module.name) { %>class="core"<% } %>><%=item.name%><% if (item.itemtype === \'method\') { %>()<%}%></a><br>\n <% t++; %>\n <% }); %>\n <% if (t >= Math.floor(totalItems/4)) { col++; t = 0; %>\n </div>\n <% } %>\n<% }); %>\n</div>\n';});
define('text!tpl/library.html',[],function () { return '<h3><%= module.name %> library</h3>\n\n<p><%= module.description %></p>\n\n<div id="library-page" class="reference-group clearfix"> \n\n<% var t = 0; col = 0; %>\n\n<% _.each(groups, function(group){ %>\n <% if (t == 0) { %> \n <div class="column_<%=col%>">\n <% } %>\n <% if (group.name !== module.name && group.name !== \'p5\') { %>\n <% if (group.hash) { %> <a href="<%=group.hash%>" <% if (group.module !== module.name) { %>class="core"<% } %>><% } %> \n <h2 class="group-name <% if (t == 0) { %> first<%}%>"><%=group.name%></h2>\n <% if (group.hash) { %> </a><br> <% } %>\n <% } %>\n <% _.each(group.items.filter(function(item) {return item.access !== \'private\'}), function(item) { %>\n <a href="<%=item.hash%>" <% if (item.module !== module.name) { %>class="core"<% } %>><%=item.name%><% if (item.itemtype === \'method\') { %>()<%}%></a><br>\n <% t++; %>\n <% }); %>\n <% if (t >= Math.floor(totalItems/4)) { col++; t = 0; %>\n </div>\n <% } %>\n<% }); %>\n</div>\n';});

define(
'libraryView',[
Expand Down
3 changes: 2 additions & 1 deletion src/templates/pages/download/support.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ slug: download/
<h1>{{#i18n "support-title"}}{{/i18n}}</h1>

<p>{{#i18n "support-1"}}{{/i18n}}<a href="https://processingfoundation.org/support/">Processing Foundation</a>{{#i18n "support-2"}}{{/i18n}} <a href="https://processingfoundation.org/fellowships">{{#i18n "support-3"}}{{/i18n}}</a>{{#i18n "support-4"}}{{/i18n}}<a href="https://processingfoundation.org/advocacy">{{#i18n "support-5"}}{{/i18n}}</a></p>
<script src="https://donorbox.org/widget.js" paypalExpress="true"></script><iframe allowpaymentrequest="" height="900" name="donorbox" src="https://donorbox.org/embed/support-the-processing-foundation?hide_donation_meter=true" style="max-width: 500px; min-width: 250px; max-height:none!important; margin-top: 1em" ></iframe>
{{!-- <script src="https://donorbox.org/widget.js" paypalExpress="true"></script><iframe allowpaymentrequest="" height="900" name="donorbox" src="https://donorbox.org/embed/support-the-processing-foundation?hide_donation_meter=true" style="max-width: 500px; min-width: 250px; max-height:none!important; margin-top: 1em" ></iframe> --}}
<script src="https://donorbox.org/widget.js" paypalExpress="true"></script><iframe allowpaymentrequest="" height="900" name="donorbox" src="https://donorbox.org/embed/supportp52020" style="max-width: 500px; min-width: 250px; max-height:none!important; margin-top: 1em" ></iframe>

<p><a href="https://processingfoundation.org">{{#i18n "support-32"}}{{/i18n}}</a>{{#i18n "support-33"}}{{/i18n}}</p>

Expand Down
6 changes: 3 additions & 3 deletions src/templates/pages/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ slug: /
target="_blank">{{#i18n "p4xp6"}}{{/i18n}}</a></li>
</ul>

<h2>{{#i18n "sketch_credits"}}{{/i18n}}</h2>
<p>{{#i18n "sketch_info"}}{{/i18n}}</p>
{{!-- <h2>{{#i18n "sketch_credits"}}{{/i18n}}</h2>
<p>{{#i18n "sketch_info"}}{{/i18n}}</p> --}}
</main>
{{> footer}}
</div> <!-- end column-span -->
Expand All @@ -60,5 +60,5 @@ slug: /

<object tabindex=-1 type="image/svg+xml" data="{{assets}}/img/thick-asterisk-alone.svg" id="asterisk-design-element"
aria-hidden="true">*</object>
<iframe tabindex='-1' id='home-sketch-frame' src='{{assets}}/p5_featured/KD_2020_08_08_22_21_27/'></iframe>
{{!-- <iframe tabindex='-1' id='home-sketch-frame' src='{{assets}}/p5_featured/KD_2020_08_08_22_21_27/'></iframe> --}}
</div> <!-- end home-page -->
2 changes: 1 addition & 1 deletion src/templates/partials/footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: footer
<footer>
<h2 class="sr-only">{{#i18n "footerxh1"}}{{/i18n}}</h2>
<p> {{#i18n "footer1"}}{{/i18n}}<a href='https://github.com/mcturner1995' target="_blank">Moira
Turner</a>{{#i18n "footer2"}}{{/i18n}}<a href='http://lauren-mccarthy.com' target="_blank">Lauren
Turner</a>{{#i18n "footer2"}}{{/i18n}}<a href='http://lauren-mccarthy.com' target="_blank">Lauren Lee
McCarthy</a>{{#i18n "footer3"}}{{/i18n}}<a href="http://processing.org/foundation/" target="_blank">Processing
Foundation</a> {{#i18n "footer4"}}{{/i18n}}
<a href="http://itp.nyu.edu/itp/" target="_blank">NYU ITP</a>. {{#i18n "footer5"}}{{/i18n}}<a
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ title: header

<a tabindex="1" href="#content" id="skip-to-content">Skip to main content</a>

<!-- <a id="promo-link" href="https://donorbox.org/supportpf2019-fundraising-campaign" target="_blank"><div id="promo">This season, we need your help! Click here to #SupportP5!</div></a> -->
<a id="promo-link" href="https://donorbox.org/supportp52020" target="_blank"><div id="promo">This season, we need your help! Click here to #SupportP5!</div></a>
</nav>