This commit is contained in:
2024-10-08 13:35:35 +08:00
parent 3272da0b2b
commit bd0f852f8a
12 changed files with 79 additions and 20 deletions

View File

@@ -47,7 +47,7 @@ const Map = ({ settings }: { settings: SettingsProps }) => {
<p>
{"地址"}
</p>
<button className='text-gray-700 hover:text-mainColor'
<button className='text-gray-700 hover:text-mainColor text-left'
onClick={() => { window.open(`https://maps.google.com/?q=${settings.latitude},${settings.longitude}`, '_blank') }}>
{settings.address}
</button>