Commit Graph

25 Commits

Author SHA1 Message Date
Charlie Egan a2c2138ff6 docs: add lf trademarks note (#6558)
Fixes https://github.com/open-policy-agent/opa/issues/6557

Signed-off-by: Charlie Egan <charlie@styra.com>
2024-01-29 16:46:17 +00:00
Charlie Egan 9bf54788f5 [docs] Move OPA ecosystem pages to site top-level (#6198)
* We are having trouble managing the complexity of having ecosystem pages shown in the versioned area of the OPA docs site (see website: link ecosystem from edge #6170)
* We have invested in the OPA ecosystem data recently and it makes sense to make it more prominent.
* The data in the OPA Ecosystem is harder to use when nested in docs as some Hugo functions are unavailable to nested sections.

This PR implements a solution by:

* Pages that were under /docs/version/ecosystem, /docs/version/integrations etc have been moved to /ecosystem and /integrations.
* Redirects have been created for the old pages in the netlify config.

Signed-off-by: Charlie Egan <charlie@styra.com>
2023-08-31 09:36:51 +01:00
Charlie Egan e723bed021 [website] Add new full width banner
I have used JPGs to make the images smaller.

A wider image is used for the larger breakpoint.

Menu moved into header to make spacing easier to
achieve without height: 0 and other hacks.

Signed-off-by: Charlie Egan <charlie@styra.com>
2023-06-14 11:22:01 -07:00
Charlie Egan 93b496523f Refactor site to use Hugo for other pages (#5984)
This is what I have done:

* bring all pages into Hugo structure (security, community, support)
* make styles consistent more consistent with homepage
* merge and try to de-dupe css
* Reduced number of breakpoints to 2, one for mobile and one for larger

This is intended to be a step in the right direction, making the site
easier to maintain and more design consistent. There is much left to do,
some examples of things still to work on:

* The remaining CSS is still very messy and likely has some unused.
* The homepage still has an entirely different Dom for mobile in one section, this is toggled on and off.
* We don't use Hugo to generate any page content from markdown for these pages
* ... the list goes on.

Signed-off-by: Charlie Egan <charlie@styra.com>
2023-06-12 11:06:48 +01:00
Charlie Egan 67529bf428 Remove newsletter sign-ups (#5981)
This is not something that we're promoting at the moment.

Signed-off-by: Charlie Egan <charlie@styra.com>
2023-06-06 16:04:51 +01:00
UTKARSH MISHRA e5bc273e58 website: Updated Footer Color (#5334)
Fixes #5254.

Signed-off-by: Utkarsh Mishra <nasautkarsh@gmail.com>
2022-11-04 10:25:10 +01:00
Or Weis f2d1466d46 website/security: style improvements (#5119)
Signed-off-by: orweis <orweis@gmail.com>
2022-09-10 20:07:15 +02:00
Stephan Renatus ebf19976bf SECURITY: migrate policy to web site, update content (#5094)
This commit migrates the security policy to the OPA website. Also, it is
deliberately not part of the versioned docs; we don't want anyone to find old
information when it's important to get up-to-date information.

Fixes #4272.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-09-06 12:50:53 -04:00
Marcus Stade 42adc06090 website: fix community page issues (#4904)
* Fix inconsistent spacing in community.css
* Fix background on community page so it doesn't become white when scrolling

The white background happened because it was forced to a height of the viewport,
but the overflowing child elements were still visible. Because its a parent
element that scrolls, the background would scroll with the page causing the
white background to appear.

The culprit is setting `height: 100%`, which means it won't pick up the height
from its child elements. If instead we set `min-height: 100%` it'll be at
minimum the height of its parent (`<body>`, which along with `<html>` is set to
be `100%` of the viewport width and height – this is probably not ideal) but it
can still expand to fit all its child elements.

There are other ways to fix this, but this is probably the minimally invasive.

* Make dividers no push beyond the viewport width, and more responsive

The dividers will no longer push beyond the viewport width with these changes
(key culprit: the `-1em` left/right margins) and also will disappear on smaller
screens so they don't become very thin.

Signed-off-by: Marcus Stade <marcus@styra.com>
2022-07-19 14:27:36 +02:00
Michael Sorens 495cdee9c7 website/community: stretch background so it covers on larger screens (#4405)
Fixes #4402.

Signed-off-by: Michael Sorens <msorens@styra.com>
2022-03-04 10:40:17 +01:00
Peter ONeill 6991b00f08 website: Community Webpage Updates (#4390)
- Added two more community champions
- Removed enterprise support from community page
- Changed blurry line to solid line
- Updated newsletter signup from Medium to Mailchimp
- add hugo lock to gitignore

Signed-off-by: Peter ONeill <peteroneilljr@gmail.com>
2022-03-01 07:30:12 +01:00
Stephan Renatus 218a3d8ec6 website/community: smaller touch-ups
- remove my-item (unused)
- remove aria-pressed="true"
- use FA for twitter/github icons
- cleanup footer
- drop txt templates

  For now, maintaining an extra manual templating mechanism does not
  seem like the right move: if we find ourselves in the need to replace
  the static HTML page, we can move stuff over to Hugo's data templates.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-02-01 12:31:24 +01:00
Michael Sorens d73cc9c22f website: add new "Community" page
Correct CSS for easy local static viewing

  With this tweak, can just open local support.html in the browser

Revise flex container for 2-up

Define tile layout

Add page header (with suggested text)

Swap Community for Support across site

Swap anchor for button

  Advantages:
  - removes JavaScript dependency; now pure HTML
  - more accessible; confusing to have a button act like a link

Add stylized horizontal rule

Fill out remaining horizontal rules

Add data and images for the page

  The data has been normalized to allow a semi-automated fill of an HTML
  fragment template in the next commit.

Semi-automated template for data generation in vim

Fill out page from semi-autogenerated content

  Now take the generated content and cut-and-paste the content
  for each section into the support.html file.

Refine layout with actual content now present

  Have to make the section headers readable on the two
  backgrounds: near the top--where the background image
  appears--we use white text, but in the remainder
  of the screen (with a white background) we use blue text.

Add connection to existing newsletter sign-up

Accessibilty refinements

  Ran axe accessibility checker (Chrome extension) and fixed:
  - All content in landmarks
  - Main landmark present
  - Content structured with <h1> and <h2>
  - Images have alternate text
  - Links have discernable text

Add back original support blurb

Improve responsive design

  Switch from bootstrap to CSS grid to better handle reflow
  into narrow screen width

Move new page to community.html

Reinstate original support page

Correct relative addresses

Add reference to new page in old page

Refine responsive design

  On mobile, last pass reduced to one column,
  but the individual cards were still truncated.

Fixes near bottom: action buttons and page margin

Spruce up the background image a bit

  Per @srenatus' suggestion, keep the background image
  (actually, two images)
  stationary--with a bit of a color shift
  that came along for the ride! :-)

Add github and twitter logo links for champions

Signed-off-by: Michael Sorens <msorens@styra.com>
2022-02-01 12:31:24 +01:00
Arun Kumar 99be0630d3 Fixed home page learn more buttons
Signed-off-by: Arun Kumar <arunbsar@gmail.com>
2020-04-27 12:34:02 -07:00
Arun Kumar 6a20655604 Fixed home page hover issue #2206
Signed-off-by: Arun Kumar <arunbsar@gmail.com>
2020-04-17 14:07:37 -07:00
Frederic 5234aae191 Fixed changes requested by @patrick-east (squash before merge)
Signed-off-by: Frederic <frederic.vanreet@icloud.com>
2020-03-26 11:57:05 -07:00
Patrick East 1a6b9b54e8 website: Move social icons to nav bar
Instead of links in the footer we put them back at the top of the page

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-11-25 17:53:29 -05:00
Patrick East 65080cb538 website: Theme /support the same as the homepage
Drop the viking ships in favor of blue clouds.

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-11-18 11:48:46 -08:00
Patrick East 418d7334ea website: Replace homepage with new version
This integrates the new https://openpolicyagent.org/ home page
contents into the site build.

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-11-17 19:07:05 -08:00
Mikol Graves 6be8fb490b website: Fix examples syntax highlighting
Signed-off-by: Mikol Graves <mikol@thinbox.org>
2019-10-28 15:01:02 -07:00
Patrick East b3cbea4184 website: Change to minimal set of Links with icons
This updates some of the links added to be buttons with the logo,
and removes a few that we can't do that easily with right now.

Logos that are added (and renamed) from other projects come from:

https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
https://github.com/envoyproxy/artwork/blob/master/Stacked%20PNG/Envoy_Logo_Stacked_PANTONE.png
https://svn.apache.org/repos/asf/kafka/site/logos/kafka-logo-tall.png

Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-09-12 18:37:05 -04:00
Tim Hinrichs 05ce97b4a0 docs: Add links to homepage
Previously, there were no links from the homepage to any of the
more detailed docs about use cases and even mention of use cases
was below the fold.

This change adds links to use cases at the very top of the page,
along with pointers to core docs and the OPA summit.

Signed-off-by: Tim Hinrichs <tim@styra.com>
2019-09-12 18:37:05 -04:00
lucperkins e570c53f75 Improve image responsiveness for mobile
Signed-off-by: lucperkins <lucperkins@gmail.com>
2019-04-30 07:09:36 -07:00
lucperkins 4af269b43b Add CNCF logo to main page
Signed-off-by: lucperkins <lucperkins@gmail.com>
2019-04-30 07:09:36 -07:00
Patrick East 58d336aff9 Refactor doc directories
Signed-off-by: Patrick East <east.patrick@gmail.com>
2019-04-26 17:12:15 -07:00