mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2025-01-09 13:08:00 +01:00
parent
91cd396da8
commit
3ab890e9bf
@ -99,6 +99,9 @@ services:
|
||||
- TPDB=https://theposterdb.com/
|
||||
- FLICKR=https://www.flickr.com/
|
||||
- OSU=https://osu.ppy.sh/users/
|
||||
- LINE=https://line.me/en/
|
||||
- KAKAOTALK=https://www.kakaocorp.com/page/service/service/KakaoTalk?lang=ko
|
||||
- DESIGNBYHUMANS=https://www.designbyhumans.com/
|
||||
- OG_SITE_NAME=Techno Tim Live (OG)
|
||||
- OG_TITLE=Techno Tim (OG)
|
||||
- OG_DESCRIPTION=Techno Tim Link page (OG)
|
||||
|
@ -475,4 +475,25 @@ button {
|
||||
.button.button-osu {
|
||||
color: #fff;
|
||||
background-color: #FF8EE6
|
||||
}
|
||||
}
|
||||
|
||||
/* Line */
|
||||
.button.button-lineMessenger {
|
||||
color: #fff;
|
||||
background-color: #02df45
|
||||
}
|
||||
|
||||
|
||||
/* kakaoTalk */
|
||||
.button.button-kakaoTalk {
|
||||
color: #000;
|
||||
background-color: #fae513
|
||||
}
|
||||
|
||||
|
||||
/* DesignByHumans */
|
||||
.button.button-designByHumans {
|
||||
color: #000;
|
||||
background-color: #fff
|
||||
}
|
||||
|
||||
|
@ -71,6 +71,9 @@ import shazamLogo from '../../icons/shazam.svg';
|
||||
import flickrLogo from '../../icons/flickr.svg';
|
||||
import tpdbLogo from '../../icons/tpdb.svg';
|
||||
import osuLogo from '../../icons/osu.svg';
|
||||
import lineLogo from '../../icons/linemessenger.svg';
|
||||
import kakaoLogo from '../../icons/kaokotalk.svg';
|
||||
import designByHumansLogo from '../../icons/designbyhumans.svg';
|
||||
|
||||
function Home(props) {
|
||||
let order = [];
|
||||
@ -758,6 +761,33 @@ function Home(props) {
|
||||
order={buttonOrder('OSU')}
|
||||
/>
|
||||
)}
|
||||
{runtimeConfig.KAKAOTALK && (
|
||||
<Button
|
||||
name="kakaoTalk"
|
||||
href={runtimeConfig.KAKAOTALK}
|
||||
displayName="KakaoTalk"
|
||||
logo={kakaoLogo}
|
||||
order={buttonOrder('KAKAOTALK')}
|
||||
/>
|
||||
)}
|
||||
{runtimeConfig.LINE && (
|
||||
<Button
|
||||
name="lineMessenger"
|
||||
href={runtimeConfig.LINE}
|
||||
displayName="Line Messenger"
|
||||
logo={lineLogo}
|
||||
order={buttonOrder('LINE')}
|
||||
/>
|
||||
)}
|
||||
{runtimeConfig.DESIGNBYHUMANS && (
|
||||
<Button
|
||||
name="designByHumans"
|
||||
href={runtimeConfig.DESIGNBYHUMANS}
|
||||
displayName="Design By Humans!"
|
||||
logo={designByHumansLogo}
|
||||
order={buttonOrder('DESIGNBYHUMANS')}
|
||||
/>
|
||||
)}
|
||||
</Sort>
|
||||
<div>
|
||||
<p className="footer">
|
||||
|
@ -112,6 +112,9 @@ export const runtimeConfig =
|
||||
FLICKR: window?.env?.FLICKR,
|
||||
TPDB: window?.env?.TPDB,
|
||||
OSU: window?.env?.OSU,
|
||||
LINE: window?.env?.LINE,
|
||||
KAKAOTALK: window?.env?.KAKAOTALK,
|
||||
DESIGNBYHUMANS: window?.env?.DESIGNBYHUMANS,
|
||||
MATOMO_URL: window?.env?.MATOMO_URL,
|
||||
MATOMO_SITE_ID: window?.env?.MATOMO_SITE_ID,
|
||||
SHARE: window?.env?.SHARE,
|
||||
@ -406,6 +409,13 @@ export const runtimeConfig =
|
||||
: process.env.RAZZLE_FLICKR,
|
||||
TPDB: nodeIsProduction ? process.env.TPDB : process.env.RAZZLE_TPDB,
|
||||
OSU: nodeIsProduction ? process.env.OSU : process.env.RAZZLE_OSU,
|
||||
LINE: nodeIsProduction ? process.env.LINE : process.env.RAZZLE_LINE,
|
||||
KAKAOTALK: nodeIsProduction
|
||||
? process.env.KAKAOTALK
|
||||
: process.env.RAZZLE_KAKAOTALK,
|
||||
DESIGNBYHUMANS: nodeIsProduction
|
||||
? process.env.DESIGNBYHUMANS
|
||||
: process.env.RAZZLE_DESIGNBYHUMANS,
|
||||
MATOMO_URL: nodeIsProduction
|
||||
? process.env.MATOMO_URL
|
||||
: process.env.RAZZLE_MATOMO_URL,
|
||||
|
1
src/icons/designbyhumans.svg
Normal file
1
src/icons/designbyhumans.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 13 KiB |
1
src/icons/kaokotalk.svg
Normal file
1
src/icons/kaokotalk.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="2500" height="2500" viewBox="0 0 256 256"><path fill="#FFE812" d="M256 236c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20V20C0 8.954 8.954 0 20 0h216c11.046 0 20 8.954 20 20v216z"/><path d="M128 36C70.562 36 24 72.713 24 118c0 29.279 19.466 54.97 48.748 69.477-1.593 5.494-10.237 35.344-10.581 37.689 0 0-.207 1.762.934 2.434s2.483.15 2.483.15c3.272-.457 37.943-24.811 43.944-29.04 5.995.849 12.168 1.29 18.472 1.29 57.438 0 104-36.712 104-82 0-45.287-46.562-82-104-82z"/><path fill="#FFE812" d="M70.5 146.625c-3.309 0-6-2.57-6-5.73V105.25h-9.362c-3.247 0-5.888-2.636-5.888-5.875s2.642-5.875 5.888-5.875h30.724c3.247 0 5.888 2.636 5.888 5.875s-2.642 5.875-5.888 5.875H76.5v35.645c0 3.16-2.691 5.73-6 5.73zM123.112 146.547c-2.502 0-4.416-1.016-4.993-2.65l-2.971-7.778-18.296-.001-2.973 7.783c-.575 1.631-2.488 2.646-4.99 2.646a9.155 9.155 0 0 1-3.814-.828c-1.654-.763-3.244-2.861-1.422-8.52l14.352-37.776c1.011-2.873 4.082-5.833 7.99-5.922 3.919.088 6.99 3.049 8.003 5.928l14.346 37.759c1.826 5.672.236 7.771-1.418 8.532a9.176 9.176 0 0 1-3.814.827c-.001 0 0 0 0 0zm-11.119-21.056L106 108.466l-5.993 17.025h11.986zM138 145.75c-3.171 0-5.75-2.468-5.75-5.5V99.5c0-3.309 2.748-6 6.125-6s6.125 2.691 6.125 6v35.25h12.75c3.171 0 5.75 2.468 5.75 5.5s-2.579 5.5-5.75 5.5H138zM171.334 146.547c-3.309 0-6-2.691-6-6V99.5c0-3.309 2.691-6 6-6s6 2.691 6 6v12.896l16.74-16.74c.861-.861 2.044-1.335 3.328-1.335 1.498 0 3.002.646 4.129 1.772 1.051 1.05 1.678 2.401 1.764 3.804.087 1.415-.384 2.712-1.324 3.653l-13.673 13.671 14.769 19.566a5.951 5.951 0 0 1 1.152 4.445 5.956 5.956 0 0 1-2.328 3.957 5.94 5.94 0 0 1-3.609 1.211 5.953 5.953 0 0 1-4.793-2.385l-14.071-18.644-2.082 2.082v13.091a6.01 6.01 0 0 1-6.002 6.003z"/></svg>
|
After Width: | Height: | Size: 1.7 KiB |
1
src/icons/linemessenger.svg
Normal file
1
src/icons/linemessenger.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="2500" height="2500" viewBox="0 0 377.764 377.764"><path fill-rule="evenodd" clip-rule="evenodd" fill="#3ACE01" d="M77.315 0h223.133c42.523 0 77.315 34.792 77.315 77.315v223.133c0 42.523-34.792 77.315-77.315 77.315H77.315C34.792 377.764 0 342.972 0 300.448V77.315C0 34.792 34.792 0 77.315 0z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFF" d="M188.515 62.576c76.543 0 138.593 49.687 138.593 110.979 0 21.409-7.576 41.398-20.691 58.351-.649.965-1.497 2.031-2.566 3.209l-.081.088c-4.48 5.36-9.525 10.392-15.072 15.037-38.326 35.425-101.41 77.601-109.736 71.094-7.238-5.656 11.921-33.321-10.183-37.925-1.542-.177-3.08-.367-4.605-.583l-.029-.002v-.002c-64.921-9.223-114.222-54.634-114.222-109.267-.002-61.292 62.049-110.979 138.592-110.979z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#3ACE01" d="M108.103 208.954h27.952c3.976 0 7.228-3.253 7.228-7.229v-.603c0-3.976-3.252-7.228-7.228-7.228h-20.121v-45.779c0-3.976-3.252-7.228-7.228-7.228h-.603c-3.976 0-7.228 3.252-7.228 7.228v53.609c0 3.977 3.252 7.23 7.228 7.23zm173.205-33.603v-.603c0-3.976-3.253-7.228-7.229-7.228h-20.12v-11.445h20.12c3.976 0 7.229-3.252 7.229-7.228v-.603c0-3.976-3.253-7.228-7.229-7.228h-27.952c-3.976 0-7.228 3.252-7.228 7.228v53.609c0 3.976 3.252 7.229 7.228 7.229h27.952c3.976 0 7.229-3.253 7.229-7.229v-.603c0-3.976-3.253-7.228-7.229-7.228h-20.12v-11.445h20.12c3.976.002 7.229-3.251 7.229-7.226zm-53.755 31.448l.002-.003a7.207 7.207 0 0 0 2.09-5.07v-53.609c0-3.976-3.252-7.228-7.229-7.228h-.603c-3.976 0-7.228 3.252-7.228 7.228v31.469l-26.126-35.042c-1.248-2.179-3.598-3.655-6.276-3.655h-.603c-3.976 0-7.229 3.252-7.229 7.228v53.609c0 3.976 3.252 7.229 7.229 7.229h.603c3.976 0 7.228-3.253 7.228-7.229v-32.058l26.314 35.941c.162.252.339.494.53.724l.001.002c.723.986 1.712 1.662 2.814 2.075.847.35 1.773.544 2.742.544h.603a7.162 7.162 0 0 0 3.377-.844c.723-.344 1.332-.788 1.761-1.311zm-71.208 2.155h.603c3.976 0 7.228-3.253 7.228-7.229v-53.609c0-3.976-3.252-7.228-7.228-7.228h-.603c-3.976 0-7.229 3.252-7.229 7.228v53.609c0 3.976 3.253 7.229 7.229 7.229z"/></svg>
|
After Width: | Height: | Size: 2.1 KiB |
Loading…
Reference in New Issue
Block a user