Skip to content

Commit

Permalink
open collective integration (#702)
Browse files Browse the repository at this point in the history
* Open Collective integration
  • Loading branch information
gvreddy04 authored Apr 30, 2024
1 parent 2d7dd25 commit 26057aa
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"github": "//github.com/vikramlearning/blazorbootstrap",
"twitter": "//twitter.com/blazorbootstrap",
"linkedin": "//www.linkedin.com/groups/14161025",
"opencollective": "//opencollective.com/blazorbootstrap",
"github_issues": "//github.com/vikramlearning/blazorbootstrap/issues",
"github_discussions": "//github.com/vikramlearning/blazorbootstrap/discussions",
"stackoverflow": "//stackoverflow.com/questions/tagged/blazor-bootstrap"
Expand Down
17 changes: 14 additions & 3 deletions BlazorBootstrap.Demo.RCL/Components/Layout/EmptyLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,22 @@
<small class="d-lg-none ms-2">LinkedIn</small>
</a>
</li>
<li class="nav-item col-6 col-lg-auto">
<a class="nav-link py-2 px-0 px-lg-2" href="@openCollectiveUrl" target="_blank" rel="noopener">
<i class="bi bi-opencollective"></i>
<small class="d-lg-none ms-2">Open Collective</small>
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>

<main>
@Body
</main>

<footer class="bd-footer py-4 py-md-5 mt-5 bg-light">
<div class="container py-4 py-md-5 px-4 px-md-3">
<div class="row">
Expand Down Expand Up @@ -100,9 +108,10 @@
<div class="col-6 col-lg-2 mb-3">
<h5>Community</h5>
<ul class="list-unstyled">
<li class="mb-2"><a href="@githubIssuesUrl">Issues</a></li>
<li class="mb-2"><a href="@githubDiscussionsUrl">Discussions</a></li>
<li class="mb-2"><a href="@stackoverflowUrl">Stack Overflow</a></li>
<li class="mb-2"><a href="@githubIssuesUrl" target="_blank" rel="noopener">Issues</a></li>
<li class="mb-2"><a href="@githubDiscussionsUrl" target="_blank" rel="noopener">Discussions</a></li>
<li class="mb-2"><a href="@openCollectiveUrl" target="_blank" rel="noopener">Open Collective</a></li>
<li class="mb-2"><a href="@stackoverflowUrl" target="_blank" rel="noopener">Stack Overflow</a></li>
</ul>
</div>
<div class="col-6 col-lg-2 mb-3">
Expand All @@ -118,6 +127,7 @@
private string githubUrl = default!;
private string twitterUrl = default!;
private string linkedInUrl = default!;
private string openCollectiveUrl = default!;
private string githubIssuesUrl = default!;
private string githubDiscussionsUrl = default!;
private string stackoverflowUrl = default!;
Expand All @@ -132,6 +142,7 @@
githubUrl = $"{Configuration["urls:github"]}";
twitterUrl = $"{Configuration["urls:twitter"]}";
linkedInUrl = $"{Configuration["urls:linkedin"]}";
openCollectiveUrl = $"{Configuration["urls:opencollective"]}";
githubIssuesUrl = $"{Configuration["urls:github_issues"]}";
githubDiscussionsUrl = $"{Configuration["urls:github_discussions"]}";
stackoverflowUrl = $"{Configuration["urls:stackoverflow"]}";
Expand Down
7 changes: 4 additions & 3 deletions BlazorBootstrap.Demo.RCL/Components/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@
<div class="col-6 col-lg-2 mb-3">
<h5>Community</h5>
<ul class="list-unstyled">
<li class="mb-2"><a href="@githubIssuesUrl">Issues</a></li><!--!-->
<li class="mb-2"><a href="@githubDiscussionsUrl">Discussions</a></li><!--!-->
<li class="mb-2"><a href="@stackoverflowUrl">Stack Overflow</a></li>
<li class="mb-2"><a href="@githubIssuesUrl" target="_blank" rel="noopener">Issues</a></li>
<li class="mb-2"><a href="@githubDiscussionsUrl" target="_blank" rel="noopener">Discussions</a></li>
<li class="mb-2"><a href="@openCollectiveUrl" target="_blank" rel="noopener">Open Collective</a></li>
<li class="mb-2"><a href="@stackoverflowUrl" target="_blank" rel="noopener">Stack Overflow</a></li>
</ul>
</div>
<div class="col-6 col-lg-2 mb-3"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public partial class MainLayout : LayoutComponentBase
private string githubUrl = default!;
private string twitterUrl = default!;
private string linkedInUrl = default!;
private string openCollectiveUrl = default!;
private string githubIssuesUrl = default!;
private string githubDiscussionsUrl = default!;
private string stackoverflowUrl = default!;
Expand All @@ -25,6 +26,7 @@ protected override void OnInitialized()
githubUrl = $"{Configuration["urls:github"]}";
twitterUrl = $"{Configuration["urls:twitter"]}";
linkedInUrl = $"{Configuration["urls:linkedin"]}";
openCollectiveUrl = $"{Configuration["urls:opencollective"]}";
githubIssuesUrl = $"{Configuration["urls:github_issues"]}";
githubDiscussionsUrl = $"{Configuration["urls:github_discussions"]}";
stackoverflowUrl = $"{Configuration["urls:stackoverflow"]}";
Expand Down
1 change: 1 addition & 0 deletions BlazorBootstrap.Demo.Server/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"github": "//github.com/vikramlearning/blazorbootstrap",
"twitter": "//twitter.com/blazorbootstrap",
"linkedin": "//www.linkedin.com/groups/14161025",
"opencollective": "//opencollective.com/blazorbootstrap",
"github_issues": "//github.com/vikramlearning/blazorbootstrap/issues",
"github_discussions": "//github.com/vikramlearning/blazorbootstrap/discussions",
"stackoverflow": "//stackoverflow.com/questions/tagged/blazor-bootstrap"
Expand Down
1 change: 1 addition & 0 deletions BlazorBootstrap.Demo.WebAssembly/wwwroot/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"github": "//github.com/vikramlearning/blazorbootstrap",
"twitter": "//twitter.com/blazorbootstrap",
"linkedin": "//www.linkedin.com/groups/14161025",
"opencollective": "//opencollective.com/blazorbootstrap",
"github_issues": "//github.com/vikramlearning/blazorbootstrap/issues",
"github_discussions": "//github.com/vikramlearning/blazorbootstrap/discussions",
"stackoverflow": "//stackoverflow.com/questions/tagged/blazor-bootstrap"
Expand Down
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

[![NuGet](https://img.shields.io/nuget/vpre/blazor.bootstrap)](https://www.nuget.org/packages/blazor.bootstrap/absoluteLatest)
[![NuGet](https://img.shields.io/nuget/dt/blazor.bootstrap.svg)](https://www.nuget.org/packages/blazor.bootstrap/absoluteLatest)
[![Backers on Open Collective](https://img.shields.io/opencollective/backers/blazorbootstrap?logo=opencollective&logoColor=fff)](#backers)
[![Sponsors on Open Collective](https://img.shields.io/opencollective/sponsors/blazorbootstrap?logo=opencollective&logoColor=fff)](#sponsors)

## Docs & Demos

Expand Down Expand Up @@ -201,6 +203,29 @@ Blazor Bootstrap's documentation, which is included in this repository's root di

**Vikram Reddy**

- <https://twitter.com/gvreddy04>

## Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/blazorbootstrap#sponsor)]

[![OC sponsor 0](https://opencollective.com/blazorbootstrap/sponsor/0/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/0/website)
[![OC sponsor 1](https://opencollective.com/blazorbootstrap/sponsor/1/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/1/website)
[![OC sponsor 2](https://opencollective.com/blazorbootstrap/sponsor/2/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/2/website)
[![OC sponsor 3](https://opencollective.com/blazorbootstrap/sponsor/3/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/3/website)
[![OC sponsor 4](https://opencollective.com/blazorbootstrap/sponsor/4/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/4/website)
[![OC sponsor 5](https://opencollective.com/blazorbootstrap/sponsor/5/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/5/website)
[![OC sponsor 6](https://opencollective.com/blazorbootstrap/sponsor/6/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/6/website)
[![OC sponsor 7](https://opencollective.com/blazorbootstrap/sponsor/7/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/7/website)
[![OC sponsor 8](https://opencollective.com/blazorbootstrap/sponsor/8/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/8/website)
[![OC sponsor 9](https://opencollective.com/blazorbootstrap/sponsor/9/avatar.svg)](https://opencollective.com/blazorbootstrap/sponsor/9/website)

## Backers

Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/blazorbootstrap#backer)]

[![Backers](https://opencollective.com/blazorbootstrap/backers.svg?width=890)](https://opencollective.com/blazorbootstrap#backers)

## Copyright and license

Code and documentation copyright 2024 [Blazor Bootstrap](https://docs.blazorbootstrap.com/) Code released under the [Apache-2.0 License](https://github.com/vikramlearning/blazorbootstrap/blob/main/LICENSE.txt).

0 comments on commit 26057aa

Please sign in to comment.