mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-27 03:35:50 +03:00
Add logo and link to @phanpy
This commit is contained in:
parent
f2d50b0bac
commit
285f8b46f2
1 changed files with 22 additions and 0 deletions
|
@ -4,6 +4,7 @@ import { Menu, MenuItem } from '@szhsin/react-menu';
|
||||||
import { useReducer, useRef, useState } from 'preact/hooks';
|
import { useReducer, useRef, useState } from 'preact/hooks';
|
||||||
import { useSnapshot } from 'valtio';
|
import { useSnapshot } from 'valtio';
|
||||||
|
|
||||||
|
import logo from '../assets/logo.svg';
|
||||||
import Avatar from '../components/avatar';
|
import Avatar from '../components/avatar';
|
||||||
import Icon from '../components/icon';
|
import Icon from '../components/icon';
|
||||||
import Link from '../components/link';
|
import Link from '../components/link';
|
||||||
|
@ -251,6 +252,27 @@ function Settings({ onClose }) {
|
||||||
<h2>About</h2>
|
<h2>About</h2>
|
||||||
<section>
|
<section>
|
||||||
<p>
|
<p>
|
||||||
|
<img
|
||||||
|
src={logo}
|
||||||
|
alt=""
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
style={{
|
||||||
|
aspectRatio: '1/1',
|
||||||
|
verticalAlign: 'middle',
|
||||||
|
}}
|
||||||
|
/>{' '}
|
||||||
|
<a
|
||||||
|
href="https://hachyderm.io/@phanpy"
|
||||||
|
// target="_blank"
|
||||||
|
onClick={(e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
states.showAccount = 'phanpy@hachyderm.io';
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
@phanpy
|
||||||
|
</a>
|
||||||
|
.{' '}
|
||||||
<a href="https://github.com/cheeaun/phanpy" target="_blank">
|
<a href="https://github.com/cheeaun/phanpy" target="_blank">
|
||||||
Built
|
Built
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
|
|
Loading…
Reference in a new issue