mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
parent
ad12c4d55d
commit
50b435ef52
@ -8,7 +8,7 @@ const NSFW: React.FC<NSFWProps> = ({ onClick, onDisableClick }) => {
|
|||||||
<div className='flex items-center h-screen select-none'>
|
<div className='flex items-center h-screen select-none'>
|
||||||
<div className='px-10'>
|
<div className='px-10'>
|
||||||
<h1 className='text-2xl font-bold flex'>
|
<h1 className='text-2xl font-bold flex'>
|
||||||
<img draggable='false' alt='⚠' src='https://twemoji.maxcdn.com/v/13.0.2/svg/26a0.svg' className='emoji mr-2 w-8' />
|
<img draggable='false' alt='⚠' src='https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/26a0.svg' className='emoji mr-2 w-8' />
|
||||||
해당 컨텐츠는 만19세 이상의 성인만 열람할 수 있습니다.</h1>
|
해당 컨텐츠는 만19세 이상의 성인만 열람할 수 있습니다.</h1>
|
||||||
<p className='text-lg mb-3'>계속하시겠습니까?</p>
|
<p className='text-lg mb-3'>계속하시겠습니까?</p>
|
||||||
<Button onClick={onClick}>
|
<Button onClick={onClick}>
|
||||||
|
|||||||
@ -9,7 +9,7 @@ const NotFound: NextPage<{ message?: string }> = ({ message }) => {
|
|||||||
<div>
|
<div>
|
||||||
<div className='flex flex-row justify-center text-9xl'>
|
<div className='flex flex-row justify-center text-9xl'>
|
||||||
4
|
4
|
||||||
<img alt='robot' src='https://twemoji.maxcdn.com/v/13.0.1/svg/1f916.svg' className='w-24 mx-6 md:mx-12 rounded-full' />
|
<img alt='robot' src='https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/1f916.svg' className='w-24 mx-6 md:mx-12 rounded-full' />
|
||||||
4
|
4
|
||||||
</div>
|
</div>
|
||||||
<h2 className='text-2xl font-semibold'>
|
<h2 className='text-2xl font-semibold'>
|
||||||
|
|||||||
@ -24,7 +24,7 @@ export const twemoji = {
|
|||||||
regex: `${Emoji}{1,2}`,
|
regex: `${Emoji}{1,2}`,
|
||||||
replace: function(__match: string, two: string, one: string) {
|
replace: function(__match: string, two: string, one: string) {
|
||||||
const parsed = __match || two || one
|
const parsed = __match || two || one
|
||||||
const emoj = Twemoji.parse(parsed, { folder: 'svg', ext: '.svg' })
|
const emoj = Twemoji.parse(parsed, { folder: 'svg', ext: '.svg', base: 'https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/' })
|
||||||
if(!emoj) return parsed
|
if(!emoj) return parsed
|
||||||
return emoj
|
return emoj
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user