Skip to content

Commit

Permalink
Merge pull request #3010 from dbt-labs/joellabes-disclaimer-banner
Browse files Browse the repository at this point in the history
Add disclaimer
  • Loading branch information
joellabes authored Feb 26, 2024
2 parents 0045fe7 + 8f618dc commit ef0b336
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 3 deletions.
1 change: 1 addition & 0 deletions config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class Middleman::Util::EnhancedHash
set :js_dir, 'javascripts'
set :images_dir, 'img'

activate :directory_indexes

activate :autoprefixer do |prefix|
prefix.browsers = "last 2 versions"
Expand Down
34 changes: 34 additions & 0 deletions source/disclaimer.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<header class="header">
<%= partial "nav" %>
<section class="section orange iso center">
<div class="section-content section-content-small">
<h1 class="h0">Package Disclaimer</h1>
</div>
</section>
</header>

<main class="main">

<section class="section offset white">
<div class="section-content">
<p>dbt Labs hosts this Package Hub as a courtesy to the dbt Community, but cannot undertake any liability with respect to your use of the Package Hub. You retain any and all associated liability and risks, and you are responsible for evaluating the suitability of packages.</p>
<p>Use of the Package Hub, including installation of any packages, is confirmation that the website visitor has notice of and understands that:
<ul>
<li>the Packages are not included as services or products purchased from dbt Labs unless otherwise expressly indicated by dbt Labs in an ordering document; </li>
<li>dbt Labs has not certified or confirmed the integrity, operability, effectiveness, or security of any Packages; and</li>
<li>dbt Labs does not and cannot convey ownership of or license to the Packages to any current or prospective customer or website visitor.</li>
</ul>
</p>
<p>Definitions:
<ul>
<li>"Packages" means the contents, packages, code and/or routines offered, listed, indexed, named, linked to (for example below the Featured Packages and the Package Index headings), or described on this webpage.</li>
<li>"Use of the Package Hub" includes a visitor installing, downloading, viewing, clicking on, selecting, or using Packages or their associated content.</li>
<li>The use of "you" in any form (e.g., including yourself, yours, etc.) means the reader who may be the Package owner, an individual, business, or company.</li>
</ul>
</p>

<p>For any questions or concerns, please contact your dbt sales representative or <a href="mailto:[email protected]">[email protected]</a>.</p>

</div>
</section>
</main>
12 changes: 9 additions & 3 deletions source/layouts/layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,22 @@
<a href="<%= site_url %>">
Home
</a>
<li>
</li>
<li>
<a href="<%= site_url %>/disclaimer">
Disclaimer
</a>
</li>
<li>
<a href="https://www.getdbt.com/"
target="_blank">dbt</a>
target="_blank">About dbt</a>
</li>
<li>
<a href="https://blog.getdbt.com"
target="_blank">Blog</a>
</li>
<li>
<a href="https://github.com/dbt-labs/dbt"
<a href="https://github.com/dbt-labs/dbt-core"
target="_blank">GitHub</a>
</li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions source/package.template.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ packages:
version: <%= version.version %></pre>
<p> Run <code>dbt deps</code> to install the package.
<p> For more information on using packages in your dbt project, check out the <a href="https://docs.getdbt.com/docs/package-management">dbt Documentation</a>.
<p><strong>Important Notice:</strong> dbt Labs does not certify or confirm the integrity, operability, effectiveness, or security of any Packages. Please read the <a href="<%= site_url %>/disclaimer">dbt Labs Package Disclaimer</a></p>
</div>
</div>
</div>
Expand Down

0 comments on commit ef0b336

Please sign in to comment.