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 18a8b6a commit 7a6b513
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# CHANGELOG

**v0.1.3:**
- Introduced new services as [social icons](examples/ConfirmEmailExample/Program.cs):
- `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.2:**
- Introduced `CHANGELOG.md`
- Added `icon.png` to `PackageIcon`
Expand Down
33 changes: 33 additions & 0 deletions src/Templateless/Components/Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ public enum Service
[EnumMember(Value = "EMAIL")]
Email,

[EnumMember(Value = "PHONE")]
Phone,

[EnumMember(Value = "FACEBOOK")]
Facebook,

[EnumMember(Value = "YOUTUBE")]
YouTube,

[EnumMember(Value = "TWITTER")]
Twitter,

Expand All @@ -21,5 +30,29 @@ public enum Service

[EnumMember(Value = "GITHUB")]
GitHub,

[EnumMember(Value = "INSTAGRAM")]
Instagram,

[EnumMember(Value = "LINKEDIN")]
LinkedIn,

[EnumMember(Value = "SLACK")]
Slack,

[EnumMember(Value = "DISCORD")]
Discord,

[EnumMember(Value = "TIKTOK")]
TikTok,

[EnumMember(Value = "SNAPCHAT")]
Snapchat,

[EnumMember(Value = "THREADS")]
Threads,

[EnumMember(Value = "TELEGRAM")]
Telegram,
}
}
2 changes: 1 addition & 1 deletion src/Templateless/Templateless.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>Library</OutputType>

<PackageId>Templateless</PackageId>
<Version>0.1.2</Version>
<Version>0.1.3</Version>
<Description>Ship faster by sending elegant emails using just code</Description>
<PackageTags>Templateless;email;templates</PackageTags>
<PackageIconUrl>https://raw.githubusercontent.com/templateless/templateless-dotnet/main/icon.png</PackageIconUrl>
Expand Down
4 changes: 2 additions & 2 deletions test/Templateless.Tests/Templateless.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit 7a6b513

Please sign in to comment.