switch to TTT profile page
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Late Night Defender 2024-11-21 03:12:38 +07:00
parent 0af14d481d
commit 0c4c782628
16 changed files with 162 additions and 234 deletions

2
.gitignore vendored
View file

@ -1,2 +0,0 @@
public/
.hugo_build.lock

View file

@ -1,9 +1,7 @@
steps: steps:
- name: techtransthai-simple-deploy - name: techtransthai-simple-deploy
image: alpine image: alpine/git
commands: commands:
- apk add git go - git -C /mnt/caddy-sites/blachp.techtransthai.org pull
- apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache hugo
- hugo --destination /mnt/caddy-sites/blachp.techtransthai.org/public
volumes: volumes:
- /media/sasha/Data1/Apps/caddy/sites:/mnt/caddy-sites - /media/core/Data1/Apps/caddy/sites:/mnt/caddy-sites

View file

@ -1,13 +0,0 @@
[Unit]
Description=BlaCHp Website
[Container]
ContainerName=BlaCHp
Image=localhost/blachp
PublishPort=8088:80
[Service]
Restart=always
[Install]
WantedBy=multi-user.target default.target

View file

@ -1,15 +0,0 @@
FROM docker.io/library/nginx:alpine
RUN apk add git go
RUN apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache hugo
RUN mkdir -p /opt/blachp.techtransthai.org
COPY . /opt/blachp.techtransthai.org
WORKDIR /opt/blachp.techtransthai.org
RUN hugo
RUN cp -r public/* /usr/share/nginx/html

View file

@ -1,5 +0,0 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

View file

@ -1,20 +0,0 @@
.link-readawrite {
background: rgb(0, 203, 195);
}
.link-pixelfed {
background: linear-gradient(
90deg,
#ff7725 0%,
#eb0256 50%,
#ff257e 100%
);
}
.link-meb {
background: linear-gradient(
90deg,
#01AF6F 0%,
#35C03F 100%
);
}

View file

@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="18.790001"
height="21.200808"
version="1.1"
id="svg34"
sodipodi:docname="pixelfed.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview34"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="16.1"
inkscape:cx="8.4782609"
inkscape:cy="9.7204969"
inkscape:window-width="1920"
inkscape:window-height="1011"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg34" />
<defs
id="defs16">
<path
d="m 35.63,42.37 h 4.55 a 7.64,7.64 0 0 0 7.75,-7.51 7.64,7.64 0 0 0 -7.75,-7.51 h -6.56 a 4.4,4.4 0 0 0 -4.48,4.33 v 16.87 l 6.5,-6.18 z"
id="r" />
</defs>
<use
fill="#ffffff"
xlink:href="#r"
id="use32"
transform="translate(-29.14,-27.349192)" />
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="prefix__LOGO"
width="22.963179"
height="27.91807"
viewBox="0 0 22.963178 27.91807"
version="1.1"
sodipodi:docname="readawrite-icon-white.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="8.3484057"
inkscape:cx="15.75151"
inkscape:cy="13.95476"
inkscape:window-width="1920"
inkscape:window-height="1011"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="prefix__LOGO" />
<defs
id="defs1">
<style
id="style1">
.prefix__cls-1{fill:#00cbc3}
</style>
</defs>
<path
id="prefix__Path_10083"
d="m 22.794622,24.180069 -7.927,-21.7999997 a 3.6,3.6 0 0 0 -6.7740001,0 L 0.16862185,24.158069 a 2.8,2.8 0 0 0 2.63100005,3.757 2.8,2.8 0 0 0 2.8,-2.8 v -2.129 a 0.554,0.554 0 0 1 0.94,-0.4 l 1.072,1.037 a 1.109,1.109 0 0 0 1.487,0.049 l 1.6560001,-1.4 a 1.109,1.109 0 0 1 1.43,0 l 1.676,1.41 a 1.109,1.109 0 0 0 1.481,-0.048 l 1.114,-1.068 a 0.554,0.554 0 0 1 0.938,0.4 v 2.168 a 2.784,2.784 0 0 0 2.784,2.784 2.784,2.784 0 0 0 2.617,-3.738 z m -7.782,-8.043 a 0.732,0.732 0 0 1 -0.377,0.895 7.137,7.137 0 0 1 -6.2660001,0 0.732,0.732 0 0 1 -0.377,-0.894 L 10.931622,7.4380693 a 0.6,0.6 0 0 1 1.13,0 z"
class="prefix__cls-1"
data-name="Path 10083"
style="fill:#ffffff" />
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -1,2 +0,0 @@
[[imports]]
path = "github.com/jpanther/lynx"

5
go.mod
View file

@ -1,5 +0,0 @@
module forge.techtransthai.org/latenightdef/blachp.techtransthai.org
go 1.21.10
require github.com/jpanther/lynx v1.4.0 // indirect

2
go.sum
View file

@ -1,2 +0,0 @@
github.com/jpanther/lynx v1.4.0 h1:ymYkoVjFXkdzSD6YBjF6zsTUK3kSi3QTxtxpHtsnlhw=
github.com/jpanther/lynx v1.4.0/go.mod h1:nUK1+IfScKhRA3/jBH+YCYfpO3znP5Nsm6ROFGpma44=

View file

@ -1,69 +0,0 @@
# baseURL = "https://blachp.techtransthai.org/"
languageCode = "en"
defaultContentLanguage = "en"
title = "BlaCHp"
# copyright = "Copy, _right?_ :thinking_face:"
enableEmoji = true
disableKinds = ["taxonomy", "term"]
[params.author]
name = "BlaCHp"
headline = "Hello! You can view my work from the link below. Thank you for visiting. Wish you happiness!"
image = "avatar.jpg" # path relative to static directory
links = [
{ readawrite = { href = "https://www.readawrite.com/?action=user_page&user_id_publisher=1225708", text = "readAwrite" } },
{ meb = { href = "https://www.mebmarket.com/?store=publisher&action=home_page&publisher_id=1225708&publisher_name=%E0%B9%81%E0%B8%9E%E0%B8%A3%E0%B8%A7%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%97%E0%B8%B9%E0%B8%99%E0%B9%88%E0%B8%B2", text = "meb" } },
# { email = "mailto:hello@your_domain.com" },
# { link = "https://link-to-some-website.com/" },
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
# { apple = "https://www.apple.com" },
# { bandcamp = "https://username.bandcamp.com" },
# { bluesky = "https://bsky.app/profile/username" },
# { codepen = "https://codepen.io/username" },
# { dev = "https://dev.to/username" },
# { discord = "https://discord.gg/invitecode" },
# { dribbble = "https://dribbble.com/username" },
# { facebook = "https://facebook.com/username" },
# { flickr = "https://www.flickr.com/photos/username/" },
# { foursquare = "https://foursquare.com/username" },
# { github = "https://github.com/username" },
# { gitlab = "https://gitlab.com/username" },
# { google = "https://www.google.com/" },
# { instagram = "https://instagram.com/username" },
# { keybase = "https://keybase.io/username" },
# { kickstarter = "https://www.kickstarter.com/profile/username" },
# { lastfm = "https://last.fm/user/username" },
# { linkedin = "https://linkedin.com/in/username" },
{ mastodon = { href = "https://mstdn.in.th/@BlaCHp", text = "Mastodon in Thailand" } },
{ pixelfed = { href = "https://pixels.techtransthai.org/i/web/profile/713285870563454983", text = "Pixelfed" } },
# { medium = "https://medium.com/username" },
# { microsoft = "https://www.microsoft.com/" },
# { patreon = "https://www.patreon.com/username" },
# { pinterest = "https://pinterest.com/username" },
# { reddit = "https://reddit.com/user/username" },
# { slack = "https://workspace.url/team/userid" },
# { snapchat = "https://snapchat.com/add/username" },
# { soundcloud = "https://soundcloud.com/username" },
# { spotify = "https://spotify.com/user/username" },
# { stack-exchange = "https://stackexchange.com/users/userid/username" },
# { stack-overflow = "https://stackoverflow.com/users/userid/username" },
# { steam = "https://steamcommunity.com/profiles/userid" },
# { telegram = "https://t.me/username" },
# { threads = "https://threads.com/username" },
# { tiktok = "https://tiktok.com/@username" },
# { tumblr = "https://username.tumblr.com" },
# { twitch = "https://twitch.tv/username" },
# { twitter = "https://twitter.com/username" },
# { whatsapp = "https://wa.me/phone-number" },
# { x = "https://x.com/username" },
# { youtube = "https://youtube.com/username" },
]
[module]
[module.hugoVersion]
extended = false
min = "0.86.1"

BIN
icons/icon.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

159
index.html Normal file
View file

@ -0,0 +1,159 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://www.techtransthai.org/style.css">
<meta http-equiv="Content-Language" content="th">
<meta http-equiv="content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Late Night Defender's profile">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Siraprapa Thammada's profile</title>
<link rel="icon" type="image/png" href="icons/icon.jpg">
</head>
<body>
<div style="display: flex; justify-content: center; align-items: center; margin-top: 2cm;">
<img src="icons/icon.jpg" alt="blachp" width="160" height="160" style="border-radius: 80px; box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.13)">
</div>
<div class="name">
<h1 style="text-align: center;">Siraprapa Thammada</h1>
</div>
<div class="grid-container">
<div class="middle">
<h3>Basic information</h3>
<div class="list" >
<a>
<div class="propertyrow" style="margin-left: 0.5cm;">
<p class="propertyrow-property">Other names</p>
<p class="propertyrow-value">BlaCHp, Preaw, praew_puding</p>
</div>
</a>
<div class="separator"></div>
<a>
<div class="propertyrow" style="margin-left: 0.5cm;">
<p class="propertyrow-property">Pronouns</p>
<p class="propertyrow-value">she/they</p>
</div>
</a>
<div class="separator"></div>
<a>
<div class="propertyrow" style="margin-left: 0.5cm;">
<p class="propertyrow-property">Location</p>
<p class="propertyrow-value">Nonthaburi, Thailand</p>
</div>
</a>
<div class="separator"></div>
<a>
<div class="propertyrow" style="margin-left: 0.5cm;">
<p class="propertyrow-property">Languages</p>
<p class="propertyrow-value">Thai (Native), English</p>
</div>
</a>
<div class="separator"></div>
<a>
<div class="propertyrow" style="margin-left: 0.5cm;">
<p class="propertyrow-property">MBTI</p>
<p class="propertyrow-value">INFJ</p>
</div>
</a>
</div>
<h3>Education</h3>
<div class="list" >
<a style="text-decoration: none;">
<div class="row" style="margin-left: 0.5cm; ">
<div class="propertyrow">
<p class="row-title">มหาวิทยาลัยเกษตรศาสตร์ บางเขน คณะวิทยาศาสตร์ สาขาคณิตศาสตร์</p>
<p class="row-subtitle">ป.ตรี</p>
</div>
</div>
</a>
<div class="separator"></div>
<a style="text-decoration: none;">
<div class="row" style="margin-left: 0.5cm; ">
<div class="propertyrow">
<p class="row-title">โรงเรียนสตรีนนทบุรี แผนการเรียนวิทย์-คณิต-อังกฤษ</p>
<p class="row-subtitle">ม.ปลาย</p>
</div>
</div>
</a>
<div class="separator"></div>
<a style="text-decoration: none;">
<div class="row" style="margin-left: 0.5cm; ">
<div class="propertyrow">
<p class="row-title">โรงเรียนสตรีนนทบุรี แผนการเรียนวิทย์-คณิต</p>
<p class="row-subtitle">ม.ต้น</p>
</div>
</div>
</a>
</div>
<h3>Works & contributions</h3>
<div class="list" >
<div class="separator"></div>
<a style="text-decoration: none;" href="work-kmitl.html" >
<div class="row" style="margin-left: 0.5cm; ">
<p class="row-title-no-subtitle">งานภาพ</p>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px" ><path fill="currentColor" d="m 4 0.996094 v 1 c 0 0.296875 0.125 0.558594 0.328125 0.742187 l 5.257813 5.257813 l -5.257813 5.261718 l -0.035156 0.03125 c -0.179688 0.183594 -0.292969 0.433594 -0.292969 0.707032 v 1 h 1 c 0.277344 0 0.527344 -0.109375 0.707031 -0.292969 l 0.035157 -0.03125 l 6.671874 -6.675781 l -6.671874 -6.671875 c -0.183594 -0.199219 -0.449219 -0.328125 -0.742188 -0.328125 z m 0 0"/></svg>
</div>
</a>
<div class="separator"></div>
<a style="text-decoration: none;" href="work-i-bitz.html" >
<div class="row" style="margin-left: 0.5cm; ">
<p class="row-title-no-subtitle">งานเขียน</p>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px" ><path fill="currentColor" d="m 4 0.996094 v 1 c 0 0.296875 0.125 0.558594 0.328125 0.742187 l 5.257813 5.257813 l -5.257813 5.261718 l -0.035156 0.03125 c -0.179688 0.183594 -0.292969 0.433594 -0.292969 0.707032 v 1 h 1 c 0.277344 0 0.527344 -0.109375 0.707031 -0.292969 l 0.035157 -0.03125 l 6.671874 -6.675781 l -6.671874 -6.671875 c -0.183594 -0.199219 -0.449219 -0.328125 -0.742188 -0.328125 z m 0 0"/></svg>
</div>
</a>
<div class="separator"></div>
<a style="text-decoration: none;" href="work-others.html" >
<div class="row" style="margin-left: 0.5cm; ">
<p class="row-title-no-subtitle">งานสอน</p>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px" ><path fill="currentColor" d="m 4 0.996094 v 1 c 0 0.296875 0.125 0.558594 0.328125 0.742187 l 5.257813 5.257813 l -5.257813 5.261718 l -0.035156 0.03125 c -0.179688 0.183594 -0.292969 0.433594 -0.292969 0.707032 v 1 h 1 c 0.277344 0 0.527344 -0.109375 0.707031 -0.292969 l 0.035157 -0.03125 l 6.671874 -6.675781 l -6.671874 -6.671875 c -0.183594 -0.199219 -0.449219 -0.328125 -0.742188 -0.328125 z m 0 0"/></svg>
</div>
</a>
</div>
<h3>Links/Contact</h3>
<div class="list" >
<a style="text-decoration: none;" target="_blank" rel="noopener noreferrer" href="https://www.readawrite.com/?action=user_page&user_id_publisher=1225708">
<div class="row" style="margin-left: 0.5cm; ">
<p class="row-title-no-subtitle">readAwrite</p>
<svg class="feather feather-external-link" viewBox="0 0 24 24" fill="none" height="20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" x2="21" y1="14" y2="3"></line></svg>
</div>
</a>
<div class="separator"></div>
<a style="text-decoration: none;" target="_blank" rel="noopener noreferrer" href="https://www.mebmarket.com/?store=publisher&action=home_page&publisher_id=1225708&publisher_name=%E0%B9%81%E0%B8%9E%E0%B8%A3%E0%B8%A7%E0%B8%9B%E0%B8%A5%E0%B8%B2%E0%B8%97%E0%B8%B9%E0%B8%99%E0%B9%88%E0%B8%B2">
<div class="row" style="margin-left: 0.5cm; ">
<p class="row-title-no-subtitle">meb</p>
<svg class="feather feather-external-link" viewBox="0 0 24 24" fill="none" height="20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" x2="21" y1="14" y2="3"></line></svg>
</div>
</a>
<div class="separator"></div>
<a style="text-decoration: none;" target="_blank" rel="noopener noreferrer" href="https://mstdn.in.th/@BlaCHp">
<div class="row" style="margin-left: 0.5cm; ">
<p class="row-title-no-subtitle">Mastodon in Thailand</p>
<svg class="feather feather-external-link" viewBox="0 0 24 24" fill="none" height="20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" x2="21" y1="14" y2="3"></line></svg>
</div>
</a>
<div class="separator"></div>
<a style="text-decoration: none;" target="_blank" rel="noopener noreferrer" href="https://pixels.techtransthai.org/i/web/profile/713285870563454983">
<div class="row" style="margin-left: 0.5cm; ">
<p class="row-title-no-subtitle">Pixelfed</p>
<svg class="feather feather-external-link" viewBox="0 0 24 24" fill="none" height="20" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" x2="21" y1="14" y2="3"></line></svg>
</div>
</a>
</div>
</div>
</div>
</body>
</html>

View file

@ -1,8 +0,0 @@
systemctl --user stop BlaCHp
cp BlaCHp.container ~/.config/containers/systemd
systemctl --user daemon-reload
podman build -t blachp .
systemctl --user start BlaCHp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB