Add logo and link to @phanpy

This commit is contained in:
Lim Chee Aun 2023-01-26 00:54:30 +08:00
parent f2d50b0bac
commit 285f8b46f2

View file

@ -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>{' '}