Commit 590779c4 authored by Zhou Fang's avatar Zhou Fang
Browse files

Fixed sponsor documentation page

parent 8040fc50
......@@ -9,44 +9,72 @@ aliases: []
toc: false
draft: false
hide_sidebar: true
container: "fluid-container"
container: "container-fluid"
---
!! TODO
Sponsors can be added to the site through an `sponsors.yaml` data file added in a subfolder of the data folder for the target locale (for localization, for default, create/use the "en" folder). An example of this path is as follows, `data/en/default/sponsors.yaml`. The data should be similar to the following format:
** Note: fluid-container used to show full width components with banner background simulation
```
items:
- title: Jakarta EE
url: https://jakarta.ee/
image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
width: 200px
- title: IoT
url: https://iot.eclipse.org/
image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
width: 100px
- title: Eclipse Foundation
url: https://www.eclipse.org
image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
width: 200px
```
Items in these data files represent the actual sponsor logo to be represented in the sponsor section.
** Note: container-fluid used to show full width components with banner background simulation
## Default
Expect url like `/default/sponsors`.
{{< events/sponsors >}}
---
## Event
Expect url like `/sample/sponsors`.
{{< events/sponsors event="sample" >}}
---
## Year
Expect url like `/2020/default/sponsors`.
{{< events/sponsors year="2020" >}}
---
## Event + year
Expect url like `/2020/sample/sponsors`.
{{< events/sponsors year="2020" event="sample" >}}
---
## Carousel
{{< events/sponsors useCarousel="true">}}
{{< events/sponsors useCarousel="true" source="sponsors_carousel">}}
---
## Carousel w/ altered counts
{{< events/sponsors
useCarousel="true"
source="sponsors_carousel"
xsSliderCount="3"
smSliderCount="4"
mdSliderCount="5"
lgSliderCount="8"
>}}
---
## Title
{{< events/sponsors title="Sample title">}}
---
## Header class
{{< events/sponsors headerClass="text-center heading-underline">}}
---
## Item class
{{< events/sponsors itemClass="padding-50">}}
items:
- title: Eclipse IDE (2020)
url: https://www.eclipse.org
image: https://www.eclipse.org/artwork/images/v2/logo-800x188.png
- title: Jakarta EE
url: https://jakarta.ee/
image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
width: 200px
- title: IoT (2020)
url: https://www.iot.eclipse.org
image: https://www.eclipse.org/artwork/images/v2/new_iot_logo_clr.svg
width: 150px
url: https://iot.eclipse.org/
image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
width: 100px
- title: Eclipse Foundation (2020)
url: https://www.eclipse.org
image: https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg
image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
width: 200px
\ No newline at end of file
items:
- title: Eclipse IDE (2020/sample)
url: https://www.eclipse.org
image: https://www.eclipse.org/artwork/images/v2/logo-800x188.png
- title: Jakarta EE
url: https://jakarta.ee/
image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
width: 200px
- title: IoT (2020/sample)
url: https://www.iot.eclipse.org
image: https://www.eclipse.org/artwork/images/v2/new_iot_logo_clr.svg
width: 150px
url: https://iot.eclipse.org/
image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
width: 100px
- title: Eclipse Foundation (2020/sample)
url: https://www.eclipse.org
image: https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg
image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
width: 200px
\ No newline at end of file
items:
- title: Eclipse IDE
url: https://www.eclipse.org
image: https://www.eclipse.org/artwork/images/v2/logo-800x188.png
- title: Jakarta EE
url: https://jakarta.ee/
image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
width: 200px
- title: IoT
url: https://www.iot.eclipse.org
image: https://www.eclipse.org/artwork/images/v2/new_iot_logo_clr.svg
width: 150px
url: https://iot.eclipse.org/
image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
width: 100px
- title: Eclipse Foundation
url: https://www.eclipse.org
image: https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg
image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
width: 200px
\ No newline at end of file
items:
- title: Jakarta EE
url: https://jakarta.ee/
image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
width: 200px
- title: IoT (sample)
url: https://iot.eclipse.org/
image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
width: 100px
- title: Eclipse Foundation (sample)
url: https://www.eclipse.org
image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
width: 200px
- title: Jakarta EE
url: https://jakarta.ee/
image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
width: 200px
- title: IoT (sample)
url: https://iot.eclipse.org/
image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
width: 100px
- title: Eclipse Foundation (sample)
url: https://www.eclipse.org
image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
width: 200px
- title: Jakarta EE
url: https://jakarta.ee/
image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
width: 200px
- title: IoT (sample)
url: https://iot.eclipse.org/
image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
width: 100px
- title: Eclipse Foundation (sample)
url: https://www.eclipse.org
image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
width: 200px
\ No newline at end of file
items:
- title: Eclipse IDE (sample)
url: https://www.eclipse.org
image: https://www.eclipse.org/artwork/images/v2/logo-800x188.png
- title: Jakarta EE
url: https://jakarta.ee/
image: https://www.eclipse.org/org/artwork/images/jakartaee_c.png
width: 200px
- title: IoT (sample)
url: https://www.iot.eclipse.org
image: https://www.eclipse.org/artwork/images/v2/new_iot_logo_clr.svg
width: 150px
url: https://iot.eclipse.org/
image: https://www.eclipse.org/org/artwork/images/new_iot_logo_clr.svg
width: 100px
- title: Eclipse Foundation (sample)
url: https://www.eclipse.org
image: https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-white-orange.svg
image: https://www.eclipse.org/org/artwork/images/eclipse_foundation_logo.jpg
width: 200px
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment