Skip to content

Commit

Permalink
chore: new socials services
Browse files Browse the repository at this point in the history
  • Loading branch information
4kimov committed Feb 16, 2024
1 parent 8554708 commit fcf3292
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# CHANGELOG

**Unpublished:**
- Introduced CHANGELOG
- Introduced `CHANGELOG.md`
- Introduced new services as social icons:
- `Service::PHONE` (converts into a link with `tel:` prefix)
- `Service::FACEBOOK`
- `Service::YOUTUBE`
- `Service::INSTAGRAM`
- `Service::LINKEDIN`
- `Service::SLACK`
- `Service::DISCORD`
- `Service::TIKTOK`
- `Service::SNAPCHAT`
- `Service::THREADS`
- `Service::TELEGRAM`

**v0.1.0-alpha.0:**
- Initial implementation
11 changes: 11 additions & 0 deletions src/Components/Socials.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,20 @@ enum Service: string
{
case WEBSITE = 'WEBSITE';
case EMAIL = 'EMAIL';
case PHONE = 'PHONE';
case FACEBOOK = 'FACEBOOK';
case YOUTUBE = 'YOUTUBE';
case TWITTER = 'TWITTER';
case X = 'X';
case GITHUB = 'GITHUB';
case INSTAGRAM = 'INSTAGRAM';
case LINKEDIN = 'LINKEDIN';
case SLACK = 'SLACK';
case DISCORD = 'DISCORD';
case TIKTOK = 'TIKTOK';
case SNAPCHAT = 'SNAPCHAT';
case THREADS = 'THREADS';
case TELEGRAM = 'TELEGRAM';
}

class Item implements JsonSerializable
Expand Down

0 comments on commit fcf3292

Please sign in to comment.