Skip to content

Commit

Permalink
image update
Browse files Browse the repository at this point in the history
  • Loading branch information
toddwords committed Nov 19, 2024
1 parent 5c0fbab commit 9ee2116
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 26 deletions.
20 changes: 5 additions & 15 deletions public/outside.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ for (let i = 0; i <= 2; i += 1) {
var pi1 = participateImagesFeatured[Math.floor( Math.random() * participateImagesFeatured.length )];
var si1 = spaceImagesFeatured[Math.floor( Math.random() * spaceImagesFeatured.length )];

for (var a=[],i=0;i<121;++i) a[i]=i; //community images
for (var a=[],i=0;i<21;++i) a[i]=i; //community images
for (i=98;i<120;++i) a.push(i); //community images
for (var b=[],i=0;i<17;++i) b[i]=i; //space images

function shuffle(array) {
Expand Down Expand Up @@ -113,25 +114,15 @@ for (let i = 0; i <= 19; i += 1) {
var c1 = participateImages[Math.floor( Math.random() * participateImages.length )];


$(".pi1 img").attr("src", pi1);
$(".pi1 img").attr("src", participateImages[1]);
$(".pi2 img").attr("src", participateImages[2]);
$(".pi3 img").attr("src", participateImages[3]);
$(".pi4 img").attr("src", participateImages[4]);
$(".pi5 img").attr("src", participateImages[5]);
$(".pi6 img").attr("src", participateImages[6]);
$(".pi7 img").attr("src", participateImages[7]);
$(".pi8 img").attr("src", participateImages[8]);
$(".pi9 img").attr("src", participateImages[9]);
$(".pi10 img").attr("src", participateImages[10]);
$(".pi11 img").attr("src", participateImages[11]);
$(".pi12 img").attr("src", participateImages[12]);
$(".pi13 img").attr("src", participateImages[13]);
$(".pi14 img").attr("src", participateImages[14]);
$(".pi15 img").attr("src", participateImages[15]);
$(".pi16 img").attr("src", participateImages[16]);
$(".pi17 img").attr("src", participateImages[17]);
$(".pi18 img").attr("src", participateImages[18]);
$(".pi19 img").attr("src", participateImages[19]);


$(".si1 img").attr("src", si1);
$(".si2 img").attr("src", spaceImages[2]);
Expand All @@ -141,8 +132,7 @@ $(".si5 img").attr("src", spaceImages[5]);
$(".si6 img").attr("src", spaceImages[6]);
$(".si7 img").attr("src", spaceImages[7]);
$(".si8 img").attr("src", spaceImages[8]);
$(".si9 img").attr("src", spaceImages[9]);
$(".si10 img").attr("src", spaceImages[10]);



$("img.c1").attr("src", c1);
Expand Down
11 changes: 0 additions & 11 deletions public/templates/about/about.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -170,17 +170,6 @@
<figure class="item participate-img pi6"><img src=""></figure>
<figure class="item participate-img pi7"><img src=""></figure>
<figure class="item participate-img pi8"><img src=""></figure>
<figure class="item participate-img pi9"><img src=""></figure>
<figure class="item participate-img pi10"><img src=""></figure>
<figure class="item participate-img pi11"><img src=""></figure>
<figure class="item participate-img pi12"><img src=""></figure>
<figure class="item participate-img pi13"><img src=""></figure>
<figure class="item participate-img pi14"><img src=""></figure>
<figure class="item participate-img pi15"><img src=""></figure>
<figure class="item participate-img pi16"><img src=""></figure>
<figure class="item participate-img pi17"><img src=""></figure>
<figure class="item participate-img pi18"><img src=""></figure>
<figure class="item participate-img pi19"><img src=""></figure>
</div>


Expand Down

0 comments on commit 9ee2116

Please sign in to comment.