- .husky
- .vscode
- Annual-Reports
- Security-Reports
- content
- src
-
static
-
data
-
fonts
-
images
- 2020-02-10-cilium-17-demo-preview.png
- 2020-06-02-cilium-18-kube-proxy.svg
- 2020-06-02-cilium-18-xdp-arch.png
- 2020-06-02-cilium-18-xdp-bench.png
- 2020-06-02-cilium-18-xdp-bench2.png
- 2020-06-02-cilium-18-xdp-test.png
- 2020-06-02-cilium-18-xdp.svg
- 2020-10-cilium-19-edt.png
- 2020-10-cilium-19-tcp-combined.png
- 2020-10-cilium-19-tcp-rr-bench.png
- 2020-10-cilium-19-tcp-stream-bench.png
- 2020-10-cilium-19-vm.png
- 2020-10-cilium-anywhere.png
- 2020-11-cilium-19-maglev.gif
- 2020-11-cilium-19-random.gif
- 2021-05-cilium-110-perf1.png
- 2021-05-cilium-110-perf2.png
- 2021-05-cilium-110-perf3.png
- 2021-05-cilium-110-xdp-lb-dsr.png
- 2021-05-cilium-110-xdp-lb-health.png
- 2021-05-cilium-110-xdp-lb.png
- _redirects
-
data
- .commitlintrc.json
- .drone.yml
- .env.example
- .eslintrc.js
- .gitignore
- .lintstagedrc
- .markdownlint.json
- .nvmrc
- .prettierignore
- .prettierrc
- CONTRIBUTING.md
- DEPENDENCY_UPDATES.md
- Events-Guidelines.md
- LICENSE
- README.md
- architecture.png
- gatsby-browser.js
- gatsby-config.js
- gatsby-node.js
- gatsby-ssr.js
- jsconfig.json
- netlify.toml
- package-lock.json
- package.json
- postcss.config.js
- tailwind.config.js
- testing.png
Explanation
The code defines a React component TransparentEncryptionPage
that showcases Cilium’s transparent encryption feature.
Component Structure:
- Uses
MainLayout
for page structure. - Employs
Hero
to present a headline, description, and image. - Leverages
FeatureSection
to highlight Cilium’s benefits with a video. - Includes a
UseCaseCard
with testimonials from Ascend and Cosmonic. - Ends with a
JoinUsCard
for a call-to-action.
Data Structures:
heroContent
: Object containing title, tagline, description, image details for the Hero component.sectionContent1
: Object containing title, description, and video link for the FeatureSection component.testimonials
: Array of objects, each containing logo, title, CTAs (calls-to-action), and description for the UseCaseCard component.
Key Functionality:
- Head Component:
- Uses
SEO
to define metadata for the page, pulling title, tagline, and slug fromheroContent
. - Page Content:
- Displays the hero section, feature section, and use cases with testimonials.
- Provides a call-to-action for joining Cilium.
Technical Aspects:
- Uses inline SVGs for logos.
- Leverages static image import for the Hero component.
- Includes a YouTube video embed for the FeatureSection.
- Utilizes React’s JSX syntax for component rendering.
Overall:
The code effectively presents Cilium’s transparent encryption feature using a well-structured React component with appropriate content, data structures, and design elements. It aims to educate users about the benefits of using Cilium for encryption and provide real-world examples through testimonials.
Graph
The graph shows the usage of functions within the codebase.
Select a code symbol to view it's graph