Skip to content

Commit

Permalink
content: update front page contact info
Browse files Browse the repository at this point in the history
  • Loading branch information
youwen5 committed Jun 27, 2024
1 parent 7514b86 commit c27dec1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 43 deletions.
4 changes: 0 additions & 4 deletions src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
target="_blank"
class="hover:underline"><strong>SvelteKit</strong></a
>
and
<a href="https://www.shadcn-svelte.com/" class="hover:underline" target="_blank"
><strong>shadcn-svelte</strong></a
>
|
<a href="https://github.com/couscousdude/coredump" target="_blank" class="hover:underline"
>View the source</a
Expand Down
53 changes: 14 additions & 39 deletions src/lib/components/Socials.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,13 @@
GithubLogo,
LinkedinLogo,
DiscordLogo,
EnvelopeClosed,
ClipboardCopy
EnvelopeClosed
} from 'svelte-radix'
import * as Popover from '$lib/components/ui/popover'
export let center = false
import Button from './ui/button/button.svelte'
import { toast } from 'svelte-sonner'
const copyDiscord = async () => {
try {
await navigator.clipboard.writeText('couscousdude')
toast('Copied Discord username to clipboard')
} catch (e) {
console.error(e)
toast('Failed to copy Discord username to clipboard')
}
}
</script>

<div class="flex gap-2 mt-2 flex-wrap" class:justify-center={center}>
Expand Down Expand Up @@ -55,25 +43,14 @@
>
<LinkedinLogo />
</Button>
<Popover.Root>
<Popover.Trigger asChild let:builder>
<Button
class="hover:scale-110 transition-transform"
variant="ghost"
size="icon"
builders={[builder]}
>
<DiscordLogo />
</Button>
</Popover.Trigger>
<Popover.Content>
Discord (for some reason) doesn't support direct links to profiles. You can find me on discord
with my username, <strong>@couscousdude</strong>.
<Button variant="outline" size="icon" on:click={copyDiscord} class="mt-2"
><ClipboardCopy /></Button
>
</Popover.Content>
</Popover.Root>
<Button
class="hover:scale-110 transition-transform"
variant="ghost"
size="icon"
href="https://discord.com/users/307507140199710720"
>
<DiscordLogo />
</Button>
<Popover.Root>
<Popover.Trigger asChild let:builder>
<Button
Expand All @@ -87,17 +64,15 @@
</Popover.Trigger>
<Popover.Content>
<p>
You can reach my Gmail at <a class="link" href="mailto:[email protected]"
You can reach my personal mail at <a class="link" href="mailto:[email protected]"
>[email protected]</a
>
or my institutional address at
<a class="link" href="mailto:[email protected]">[email protected]</a>. I sign all of my mail
with my <a href="./youwen.gpg">PGP key</a>. It is also available on the
<a href="https://keys.openpgp.org/">OpenPGP key servers</a>.
</p>
<br />
<p>
Or, if you prefer, you can securely email me on Protonmail at <a
class="link"
href="mailto:[email protected]">[email protected]</a
>
</p>
</Popover.Content>
</Popover.Root>
</div>
2 changes: 2 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
<Card.Content>
<h3>Find me on:</h3>
<Socials />
I read message requests everywhere but do not accept Discord friend requests if I don't know
you. The best way to reach me and receive a response is probably by email.
</Card.Content>
</Card.Root>
</div>
Expand Down

1 comment on commit c27dec1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@check-spelling-bot Report

🔴 Please review

See the 📜action log or 📝 job summary for details.

Unrecognized words (8)

dotfile
edu
nixos
nixpkgs
numtide
stdenv
Treil
ucsb

Previously acknowledged words that are now absent couscousdude protonmail 🫥
To accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands

... in a clone of the [email protected]:youwen5/coredump.git repository
on the main branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/youwen5/coredump/actions/runs/9692812476/attempts/1'
Available 📚 dictionaries could cover words (expected and unrecognized) not in the 📘 dictionary

This includes both expected items (205) from .github/actions/spelling/expect.txt and unrecognized words (8)

Dictionary Entries Covers Uniquely
cspell:k8s/dict/k8s.txt 153 2 2
cspell:cryptocurrencies/cryptocurrencies.txt 125 1 1
cspell:ruby/dict/ruby.txt 157 1 1

Consider adding them (in .github/workflows/spelling.yml) for uses: check-spelling/check-spelling@main in its with:

      with:
        extra_dictionaries:
          cspell:k8s/dict/k8s.txt
          cspell:cryptocurrencies/cryptocurrencies.txt
          cspell:ruby/dict/ruby.txt

To stop checking additional dictionaries, add (in .github/workflows/spelling.yml) for uses: check-spelling/check-spelling@main in its with:

check_extra_dictionaries: ''

Please sign in to comment.