Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name change first steps #384

Merged
merged 6 commits into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ jobs:
id: preview
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_PROJECT_NAME: ${{ vars.CLOUDFLARE_PROJECT_NAME }}
run: |
npm --prefix code ci
npm --prefix code exec -- wrangler pages deploy public --project-name enterprise-contract --branch pr-${{ steps.data.outputs.PR_NUMBER }} | tee out.txt
npm --prefix code exec -- wrangler pages deploy public --project-name "$CLOUDFLARE_PROJECT_NAME" --branch pr-${{ steps.data.outputs.PR_NUMBER }} | tee out.txt
grep 'Deployment complete! Take a peek over at ' out.txt | sed -e 's/.*over at /PREVIEW_URL=/' >> $GITHUB_OUTPUT
- name: Add comment
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
Expand Down
2 changes: 1 addition & 1 deletion antora/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Enterprise Contract website
# Conforma (formerly Enterprise Contract) website

This directory contains the configuration needed by [Antora][antora] to render
the content of the `docs` directory and documentation sources from other
Expand Down
3 changes: 2 additions & 1 deletion antora/antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ runtime:
log:
failure_level: warn
site:
title: Enterprise Contract
title: Conforma
url: https://enterprisecontract.dev/docs
#url: https://conforma.dev/docs
start_page: user-guide::index.adoc
robots: allow
content:
Expand Down
4 changes: 2 additions & 2 deletions antora/supplemental-ui/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<nav class="navbar">
<div class="navbar-brand">
<div class="navbar-item">
<img id="navbar-logo" src="{{or site.url (or siteRootUrl siteRootPath)}}/../images/logo-white.svg" alt="Enterprise Contract Seadog">
<a href="{{or site.url (or siteRootUrl siteRootPath)}}">Enterprise Contract Documentation</a>
<img id="navbar-logo" src="{{or site.url (or siteRootUrl siteRootPath)}}/../images/logo-white.svg" alt="Conforma Seadog Logo">
<a href="{{or site.url (or siteRootUrl siteRootPath)}}">Conforma Documentation</a>
</div>
<button class="navbar-burger" data-target="topbar-nav" aria-label="Menu">
<span></span>
Expand Down
445 changes: 329 additions & 116 deletions common/logo-src/ec-logo-final.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enterprisecontract.dev/website",
"version": "0.0.0",
"description": "Website for Enterprise Contract",
"description": "Website for Conforma (formerly Enterprise Contract)",
"license": "Apache-2.0",
"bugs": {
"url": "https://issues.redhat.com/browse/HACBS"
Expand Down
14 changes: 12 additions & 2 deletions website/assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,12 @@ p.big {
}

.hero-header {
min-height: 120px;
min-height: 200px;
background-size: contain;
background-origin:content-box;
background-position: center;
background-repeat: no-repeat;
background-image: url("../images/logo-title.svg");
background-image: url("../images/logo-title.png");
}

.hero-tagline {
Expand All @@ -474,6 +474,16 @@ p.big {
padding: 1em 1em 2.5em;
}

.hero-intro p.announcement {
margin-top: 2em;
padding: 1em;
border: solid 1px var(--ec-icon-purple);
border-radius: 0.25em;
font-style: italic;
font-size: 90%;
color: var(--ec-icon-purple);
}

.hero-highlights {
display: grid;
grid-template-columns: auto auto;
Expand Down
2 changes: 1 addition & 1 deletion website/config/_default/hugo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
baseURL = 'https://enterprise-contract.dev/'
languageCode = 'en-us'
title = 'Enterprise Contract'
title = 'Conforma'
theme = 'github.com/basil/antora-default-ui-hugo-theme'
publishDir = '../public'
copyright = "Red Hat, Inc. All rights reserved."
Expand Down
4 changes: 2 additions & 2 deletions website/layouts/_default/contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h2>Collaboration is Welcomed!</h2>
We encourage you to reach out and be part of our community.
</p>
<p>
If you'd like to report an issue with the Enterprise Contract code, or if you have questions
If you'd like to report an issue with Conforma (formerly Enterprise Contract), or if you have questions
about the code, visit the appropriate GitHub repository:
</p>
<div class="github">
Expand Down Expand Up @@ -54,7 +54,7 @@ <h2>Collaboration is Welcomed!</h2>
{{ partial "slack-icon-svg.html" . }}
</div>
<div class="details">
Looking for real-time conversations about Enterprise Contract? Join the conversation
Looking for real-time conversations about Conforma? Join the conversation
in our Slack workspace.
</div>
</div>
Expand Down
6 changes: 4 additions & 2 deletions website/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

<div class="hero-intro">
<p>Securely verify supply chain artifacts, and enforce policies about how they were built and tested, in a manageable, scalable, and declarative way.</p>

<p class="announcement">Note: Conforma was previously known as "Enterprise Contract", often abbreviated as "EC". Please bear with us as we update the documentation and other resources to use the new name.</p>
</div>

<div class="hero-links">{{ .Content }}</div>
Expand All @@ -26,7 +28,7 @@
{{ partial "hero-feature.html" (dict
"icon" "wrench-screwdriver"
"title" "Built with Sigstore and Open Policy Agent"
"content" "Enterprise Contract builds on the industry standard open source solutions for artifact provenance verification and policy validation, backed by the Open Source Security Foundation and the Cloud Native Computing Foundation."
"content" "Conforma builds on the industry standard open source solutions for artifact provenance verification and policy validation, backed by the Open Source Security Foundation and the Cloud Native Computing Foundation."
) }}

{{ partial "hero-feature.html" (dict
Expand All @@ -38,7 +40,7 @@
{{ partial "hero-feature.html" (dict
"icon" "square-3-stack-3d"
"title" "Fits into your existing CI/CD pipelines"
"content" "Enterprise Contract is platform agnostic. With its multi-format output, it can easily fit into your CI/CD workflow. Use it as post-build CI, as a gate for releases, as a deploy-time verifier, or anywhere in between."
"content" "Conforma is platform agnostic. With its multi-format output, it can easily fit into your CI/CD workflow. Use it as post-build CI, as a gate for releases, as a deploy-time verifier, or anywhere in between."
) }}

{{ partial "hero-feature.html" (dict
Expand Down
2 changes: 1 addition & 1 deletion website/layouts/partials/header-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<nav class="navbar">
<div class="navbar-brand">
<div class="navbar-item">
<img id="navbar-logo" src="/images/logo.svg" alt="Enterprise Contract Seadog">
<img id="navbar-logo" src="/images/logo.svg" alt="Conforma Seadog Logo">
<a href="{{ .Site.Home.RelPermalink }}">{{ .Site.Title | markdownify }}</a>
</div>
<button class="navbar-burger" data-target="topbar-nav" aria-label="Menu">
Expand Down
Binary file added website/static/images/logo-title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion website/static/images/logo-title.svg

This file was deleted.

Loading