From ddc19467874057cf8e0d18dded51a563f597b21f Mon Sep 17 00:00:00 2001 From: log101 Date: Wed, 8 May 2024 10:47:00 +0300 Subject: [PATCH] ci: include dist --- .gitignore | 1 - dist/_astro/hoisted.Cct6HHzt.js | 1 + dist/category/ansiklopedi/index.html | 1 + dist/category/edebiyat/index.html | 1 + dist/category/fikir/index.html | 1 + dist/category/teknik/index.html | 1 + dist/favicon.svg | 9 +++++++++ dist/index.html | 2 ++ 8 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 dist/_astro/hoisted.Cct6HHzt.js create mode 100644 dist/category/ansiklopedi/index.html create mode 100644 dist/category/edebiyat/index.html create mode 100644 dist/category/fikir/index.html create mode 100644 dist/category/teknik/index.html create mode 100644 dist/favicon.svg create mode 100644 dist/index.html diff --git a/.gitignore b/.gitignore index b88b8ba..0896f09 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ # build output -dist/ # generated types .astro/ diff --git a/dist/_astro/hoisted.Cct6HHzt.js b/dist/_astro/hoisted.Cct6HHzt.js new file mode 100644 index 0000000..aabdea3 --- /dev/null +++ b/dist/_astro/hoisted.Cct6HHzt.js @@ -0,0 +1 @@ +const c=["30","20","51","01","62","63","03","64","54","44","34","24","14"],g=(u,t)=>{const e=`${u}${t}`;return c.includes(e)};class v{constructor(t,e,i,s){this.rows=t,this.cols=e,this.pixelSize=i,this.interRoundDelay=s,this.mouseIsDown=!1,this.paused=!1,this.intervalId=null,this.grid=[];for(let r=0;r{this.advanceRound(),this.repaint()},this.interRoundDelay))}stop(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}getNeighbors(t,e){let i=[];for(let s=t-1;s<=t+1;s++)for(let l=e-1;l<=e+1;l++)s===t&&l===e||this.grid[s]&&this.grid[s][l]&&i.push(this.grid[s][l]);return i}advanceRound(){if(!this.mouseIsDown){for(let t=0;t{i.forEach(s=>{s.lifeStyle=t,s.deathStyle=e,s.forceRepaint=!0})})}setRandomPixelColors(){let t=randomInteger(1,360),e=t+randomInteger(90,270)%360;this.setPixelColors(`hsl(${t}, 100%, 60%)`,`hsl(${e}, 100%, 60%)`)}applyColorsWithin(t,e,i,s,l,o){for(let r=t;r{e.forEach(i=>{i.previousState=i.alive,i.alive=Math.random(){l.forEach(o=>{o.underpopulation=t,o.overpopulation=e,o.reproductionMin=i,o.reproductionMax=s})})}setYinYangMode(){for(let t=0;t{if(t.preventDefault(),this.mouseIsDown){let e,i;if(t.touches){let s=t.target.getBoundingClientRect();e=Math.floor((t.touches[0].pageX-s.left)/this.pixelSize),i=Math.floor((t.touches[0].pageY-s.top)/this.pixelSize)}else e=Math.floor(t.offsetX/this.pixelSize),i=Math.floor(t.offsetY/this.pixelSize);this.grid[i][e].handleClick(),this.paintPixel(i,e)}}),bindMultipleEventListener(this.canvas,["mousedown","touchstart"],t=>{t.preventDefault(),t.target.getBoundingClientRect();let e,i;if(t.touches){let s=t.target.getBoundingClientRect();e=Math.floor((t.touches[0].pageX-s.left)/this.pixelSize),i=Math.floor((t.touches[0].pageY-s.top)/this.pixelSize)}else e=Math.floor(t.offsetX/this.pixelSize),i=Math.floor(t.offsetY/this.pixelSize);this.grid[i][e].handleClick(),this.paintPixel(i,e),this.mouseIsDown=!0}),bindMultipleEventListener(this.canvas,["mouseup","touchend"],t=>{t.preventDefault(),this.mouseIsDown=!1})}}class S{constructor(t){this.alive=t,this.lifeStyle="#000000",this.deathStyle="#F5FFFA",this.underpopulation=2,this.overpopulation=3,this.reproductionMin=3,this.reproductionMax=3,this.neighbors=[],this.nextState=null,this.previousState=null,this.forceRepaint=!0,this.reproductionMaxthis.overpopulation?e=!1:!e&&t>=this.reproductionMin&&t<=this.reproductionMax&&(e=!0),this.nextState=e}update(){this.previousState=this.alive,this.alive=this.nextState,this.nextState=null}handleClick(){this.alive=!0}setPaintStyles(t){t.fillStyle=this.alive?this.lifeStyle:this.deathStyle}}let d=new v(10,46,10,250);document.getElementById("board")?.append(d.canvas);d.start(); diff --git a/dist/category/ansiklopedi/index.html b/dist/category/ansiklopedi/index.html new file mode 100644 index 0000000..6a099a3 --- /dev/null +++ b/dist/category/ansiklopedi/index.html @@ -0,0 +1 @@ +
Catakulli, ansiklopedi!
\ No newline at end of file diff --git a/dist/category/edebiyat/index.html b/dist/category/edebiyat/index.html new file mode 100644 index 0000000..e51f121 --- /dev/null +++ b/dist/category/edebiyat/index.html @@ -0,0 +1 @@ +
Catakulli, edebiyat!
\ No newline at end of file diff --git a/dist/category/fikir/index.html b/dist/category/fikir/index.html new file mode 100644 index 0000000..f0253b9 --- /dev/null +++ b/dist/category/fikir/index.html @@ -0,0 +1 @@ +
Catakulli, fikir!
\ No newline at end of file diff --git a/dist/category/teknik/index.html b/dist/category/teknik/index.html new file mode 100644 index 0000000..0dce3ad --- /dev/null +++ b/dist/category/teknik/index.html @@ -0,0 +1 @@ +
Catakulli, teknik!
\ No newline at end of file diff --git a/dist/favicon.svg b/dist/favicon.svg new file mode 100644 index 0000000..f157bd1 --- /dev/null +++ b/dist/favicon.svg @@ -0,0 +1,9 @@ + + + + diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..6286442 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,2 @@ + log101

Bir Komponentin Serüveni: Astro

Yazdığınız komponentlere ne olur? Bu yazıda Astro komponentlerinin serüvenlerine göz atıyoruz!

Atatürk ve Demokratik Türkiye

Halil İnalcık'ın kaleminden Türkiye Cumhuriyet'nin kuruluş hikayesi ve Atatürk inkılaplarının toplumdaki akisleri.

5. Bölüm: Kaptan ile Mücadele

Babür'ün önünde yalnızca tek bir engel kalmıştır: Komutan.

Tüm Yayınlar
\ No newline at end of file