This commit is contained in:
faultables 2024-01-30 18:29:32 +00:00
commit 674cc94856
17 changed files with 50 additions and 0 deletions

0
.nojekyll Normal file
View File

1
404.html Normal file
View File

@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/740f182fb4d1d098.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/740f182fb4d1d098.css" crossorigin="" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-8fa1640cc84ba8fe.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-1e817f2a1c5c711b.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-72cd581c1e9bd837.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-b65269378e8e1621.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_error-b6491f42fb2263bb.js" defer="" crossorigin=""></script><script src="/_next/static/r1Om1fi-woKlFJdnbCIi5/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/r1Om1fi-woKlFJdnbCIi5/_ssgManifest.js" defer="" crossorigin=""></script></head><body><div id="__next"><nav class="flex py-2 border-b"><div class="w-3/12 md:w-7/12 md:mx-auto"><div class="md:w-2/12"><a href="/"><img alt="not instagram™" src="https://s3.rizaldy.club/0x0/d43840c5ee4ec66a3bee3c6e2.png" class="w-full"/></a></div></div></nav><div class="flex items-center justify-between w-full my-5"><div class="lg:w-7/12 mx-auto"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div></div><footer class="flex items-center justify-between flex-wrap py-4 text-center mt-10"><div class="w-10/12 md:w-7/12 mx-auto font-semibold"><div class="text-sm mb-10"><a class="mx-4" href="/static/about">About</a><a class="mx-4" href="https://rizaldy.club">Blog</a><a class="mx-4" href="https://edgy.social/@rizaldy">Mastodon</a><a class="mx-4" href="https://bsky.app/profile/rizaldy.club">Bluesky</a><a class="mx-4" href="https://github.com/faultables/ig.rizaldy.club">Source Code</a></div><div class="text-sm font-normal text-neutral-400"><p>© <!-- -->MMXXIV<!-- --> <a class="text-neutral-600" target="_blank" rel="noopener noreferer" href="https://github.com/faultables">faultables</a> <!-- -->• All media is licensed under<!-- --> <a class="underline" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a> <!-- -->unless stated otherwise •<!-- --> <a class="text-neutral-600" target="_blank" rel="noopener noreferer" href="https://github.com/faultables/ig.rizaldy.club/commit/bf05a84">bf05a84</a></p></div></div></footer></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"r1Om1fi-woKlFJdnbCIi5","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>

1
CNAME Normal file
View File

@ -0,0 +1 @@
ig.rizaldy.club

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[820],{1981:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(8435)}])}},function(n){n.O(0,[774,888,179],function(){return n(n.s=1981)}),_N_E=n.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(5171)}])},5171:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return p},default:function(){return h}});var l=s(5893),r=s(7294),n=s(7205);let a=(e,t)=>e===t?"border-t":"";var o=e=>{let{activeTab:t,setActiveTab:s}=e;return(0,l.jsxs)("div",{className:"flex items-center justify-center text-center gap-5 border-t mb-4",children:[(0,l.jsx)("button",{onClick:()=>s("photos"),className:"uppercase tracking-tight font-semibold text-sm border-black pt-3 px-3 ".concat(a("photos",t)),children:"Photos"}),(0,l.jsx)("button",{onClick:()=>s("videos"),className:"uppercase tracking-tight font-semibold text-sm pt-3 px-3 border-black ".concat(a("videos",t)),children:"Videos"})]})},i=e=>{let{media:t,type:s,setOverlayContent:r,currentIndex:n,limitPerPage:a}=e;return(0,l.jsx)("main",{className:"grid grid-cols-3 gap-1",children:t.slice(n,a).map(e=>{let{id:t,url:n,previewPath:a,embedPath:o=n}=e;return(0,l.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferer",onClick:e=>{e.preventDefault(),r({url:o,type:s})},children:(0,l.jsx)("img",{alt:n,src:a,className:"aspect-".concat(s)})},t)})})},c=e=>{let{profile:t,totalPosts:s}=e;return(0,l.jsxs)("div",{className:"flex flex-warp",children:[(0,l.jsx)("div",{className:"lg:w-4/12 w-3/12 md:py-10 lg:px-20 md:px-10",children:(0,l.jsx)("img",{alt:t.display_name,src:t.avatar,className:"w-100 rounded-full mx-auto border border-gray-200 p-1"})}),(0,l.jsxs)("div",{className:"lg:w-9/12 md:w-10/12 px-10 mb-5 md:p-5",children:[(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("h2",{className:"text-2xl font-semibold",children:t.username}),(0,l.jsxs)("div",{className:"ml-4",children:[(0,l.jsx)("a",{className:"rounded-md bg-gray-100 px-5 font-semibold py-2 ml-2 text-sm leading-relaxed",href:t.follow_url,children:"Follow"}),(0,l.jsx)("a",{className:"rounded-md bg-gray-100 px-5 font-semibold py-2 ml-2 text-sm leading-relaxed",href:t.message_url,children:"Message"})]})]}),(0,l.jsx)("div",{className:"my-5 font-bold text-sm",children:(0,l.jsxs)("p",{children:[s," posts"]})}),(0,l.jsx)("p",{className:"font-bold mb-1",children:t.display_name}),(0,l.jsx)("p",{children:t.about}),(0,l.jsx)("p",{className:"leading-loose font-semibold text-blue-900",children:(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferer",href:"https://".concat(t.link),children:t.link})})]})]})};let d=e=>{let{overlayContent:t}=e;return(null==t?void 0:t.type)===n.oZ.PHOTOS?(0,l.jsx)("img",{alt:null==t?void 0:t.url,src:null==t?void 0:t.url,className:"z-20 cursor-default"}):(null==t?void 0:t.type)===n.oZ.VIDEOS?(0,l.jsx)("iframe",{width:"50%",height:"50%",allow:"fullscreen",sandbox:"allow-same-origin allow-scripts allow-popups",src:null==t?void 0:t.url}):void 0};var m=e=>{let{overlayContent:t,closeOverlay:s}=e,r=(null==t?void 0:t.type)!==void 0;return(0,l.jsxs)("div",{onClick:s,className:"".concat(r?"bg-neutral-800/95 fixed w-screen h-screen left-0 top-0 cursor-pointer":""),children:[r?(0,l.jsx)("p",{onClick:s,className:"fixed right-0 bottom-0 m-5 text-white rounded text-sm",children:'Click anywhere or press "Escape" to close'}):null,(0,l.jsx)("div",{className:"flex justify-center items-center ".concat(r?"h-screen w-screen":"h-0 w-0"),children:(0,l.jsx)(d,{overlayContent:t})})]})},x=s(356);let u=e=>{let{activeTab:t,photos:s,videos:r,...a}=e;return t===n.oZ.PHOTOS?(0,l.jsx)(i,{media:s,type:t,...a}):t===n.oZ.VIDEOS?(0,l.jsx)(i,{media:r,type:t,...a}):(0,l.jsx)("div",{className:"text-center pt-10 font-bold text-2xl",children:"nice try"})};var p=!0,h=e=>{let{photos:t,videos:s,totalPosts:a}=e,[i,d]=(0,r.useState)(n.oZ.PHOTOS),[p,h]=(0,r.useState)(0),[f,v]=(0,r.useState)(null),j=()=>v(null),b=e=>{let{keyCode:t}=e;t===n.O_&&j()};return(0,r.useEffect)(()=>(window.addEventListener("keydown",b),()=>{window.removeEventListener("keydown",b)}),[b]),(0,l.jsxs)(r.Fragment,{children:[(0,l.jsx)(c,{profile:x.N5,totalPosts:a}),(0,l.jsx)(o,{activeTab:i,setActiveTab:d}),(0,l.jsx)(m,{overlayContent:f,closeOverlay:j}),(0,l.jsx)(u,{currentIndex:p,setCurrentIndex:h,limitPerPage:n.Zv,activeTab:i,setOverlayContent:v,photos:t,videos:s})]})}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[664],{1556:function(a,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/static/about",function(){return n(3414)}])},3414:function(a,e,n){"use strict";n.r(e);var i=n(5893);e.default=()=>(0,i.jsx)("div",{className:"p-2",children:(0,i.jsxs)("div",{className:"md:border p-5 md:w-8/12 md:shadow md:rotate-[-0.5deg] mx-auto text-neutral-600",children:[(0,i.jsx)("h2",{className:"font-bold text-3xl leading-loose mb-2 text-black",children:"Notes from @faultables"}),(0,i.jsxs)("p",{className:"mb-6",children:["Sebelumnya saya menjalankan ",(0,i.jsx)("em",{children:"instance"})," ",(0,i.jsx)("a",{href:"https://pixelfed.org",className:"underline",target:"_blank",rel:"noopener noreferer",children:"Pixelfed"})," ",'selama bertahun-tahun sebagai alternatif dari sosial media mainstream yang dijalankan oleh "big co". Pixelfed masih dalam tahap pengembangan, sehingga, adanya bug dan masalah acak lainnya adalah hal yang wajar.']}),(0,i.jsxs)("p",{className:"mb-6",children:["Disamping itu, Pixelfed sangat menjanjikan: menggunakan protokol"," ",(0,i.jsx)("a",{href:"https://www.w3.org/TR/activitypub/",className:"underline",target:"_blank",rel:"noopener noreferer",children:"ActivityPub"})," ",'sehingga bisa "berfederasi" dengan ',(0,i.jsx)("em",{children:"instance"})," lain, dan yang paling penting adalah"," ",(0,i.jsx)("a",{href:"https://github.com/pixelfed/pixelfed",classname:"underline",target:"_blank",rel:"noopener noreferer",children:"bersumber kode terbuka"})," ",(0,i.jsx)("strong",{children:"dan"}),' dikembangkan murni oleh komunitas. Pixelfed mendukung fitur standar untuk bersosial media seperti memperbaharui status, mengikuti pengguna, mengirim komentar, menyukai, intinya fitur bersosial apapun yang sudah menjadi mainstream. Meskipun saya sudah memiliki akun sosial media lainnya di "universe"'," ",(0,i.jsx)("a",{href:"https://joinmastodon.org",className:"underline",target:"_blank",rel:"noopener noreferer",children:"Mastodon"}),", saya memilih Pixelfed murni hanya untuk berbagi media dalam bentuk foto saja."]}),(0,i.jsx)("p",{className:"mb-6",children:"Tapi, ya, saya tidak menggunakan Pixelfed sesering itu. Saya melakukan optimasi gambar secara manual berikut menghapus metadata exif dan memotong gambar ke 1024px tanpa menggunakan fitur built-in (crop) karena terkadang fiturnya tidak berjalan sesuatu dengan yang harapkan."}),(0,i.jsx)("p",{className:"mb-6",children:'Secara teknis, menjalankan 2 aplikasi (Laravel & Horizon) plus MySQL bukanlah hal yang sulit dan mahal, namun bagaimanapun, saya tidak menggunakan "fitur sosial" yang ada di Pixelfed karena itulah yang saya inginkan sehingga terkesan seperti berlebihan.'}),(0,i.jsx)("p",{className:"mb-6",children:"Jika kamu seorang fotografer, kamu bisa mencoba Pixelfed. Kamu juga bisa berinteraksi dengan komunitas di jaringan yang sama—selama menggunakan protokol ActivityPun—karena Pixelfed adalah jaringan federasi!"}),(0,i.jsx)("p",{className:"mb-6",children:"Bagaimanapun, pilihan ini bukanlah pendekatan yang terbaik. Tapi setidaknya, ini tidak berlebihan, khususnya untuk saat ini."}),(0,i.jsx)("br",{}),(0,i.jsx)("a",{href:"https://github.com/faultables",target:"_blank",rel:"noopener noreferer",children:(0,i.jsx)("p",{className:"mb-6",children:"— faultables"})})]})})}},function(a){a.O(0,[774,888,179],function(){return a(a.s=1556)}),_N_E=a.O()}]);

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
!function(){"use strict";var e,n,r,t,o={},u={};function i(e){var n=u[e];if(void 0!==n)return n.exports;var r=u[e]={exports:{}},t=!0;try{o[e](r,r.exports,i),t=!1}finally{t&&delete u[e]}return r.exports}i.m=o,e=[],i.O=function(n,r,t,o){if(r){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,t,o];return}for(var f=1/0,u=0;u<e.length;u++){for(var r=e[u][0],t=e[u][1],o=e[u][2],l=!0,c=0;c<r.length;c++)f>=o&&Object.keys(i.O).every(function(e){return i.O[e](r[c])})?r.splice(c--,1):(l=!1,o<f&&(f=o));if(l){e.splice(u--,1);var a=t();void 0!==a&&(n=a)}}return n},i.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(n,{a:n}),n},i.d=function(e,n){for(var r in n)i.o(n,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},i.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="/_next/",n={272:0},i.O.j=function(e){return 0===n[e]},r=function(e,r){var t,o,u=r[0],f=r[1],l=r[2],c=0;if(u.some(function(e){return 0!==n[e]})){for(t in f)i.o(f,t)&&(i.m[t]=f[t]);if(l)var a=l(i)}for(e&&e(r);c<u.length;c++)o=u[c],i.o(n,o)&&n[o]&&n[o][0](),n[o]=0;return i.O(a)},(t=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))}();

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":["static/chunks/pages/index-7af349fedb7eacf6.js"],"/_error":["static/chunks/pages/_error-b6491f42fb2263bb.js"],"/static/about":["static/chunks/pages/static/about-c86a1c18c225caa2.js"],sortedPages:["/","/_app","/_error","/static/about"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set(["\u002F"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()

1
index.html Normal file

File diff suppressed because one or more lines are too long

1
static/about.html Normal file

File diff suppressed because one or more lines are too long