Skip to content

Commit

Permalink
Merge pull request #1648 from wso2/Nashaath-patch-38
Browse files Browse the repository at this point in the history
Hide content on Choreo samples
  • Loading branch information
Nashaath authored Nov 5, 2024
2 parents 6791f42 + 42e71a4 commit 7b89e8a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 50 deletions.
4 changes: 2 additions & 2 deletions en/docs/choreo-samples/quick-deploy-a-sample.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Quick Deploy a Sample

Choreo provides a quick deploy option for samples, allowing you to deploy a sample with a single click. This capability lets you quickly explore the sample and its functionalities.
Choreo provides a quick deploy option for samples, allowing you to deploy a sample with a single click. This capability lets you quickly explore the sample.

## Prerequisites

Expand Down Expand Up @@ -30,4 +30,4 @@ Once you quick deploy a sample, you can follow one of the following post-deploym

- **For services**: Go to the **Test Console** to test the deployed service.
- **For web applications**: Open the deployed web application using the provided URL.
- **For tasks (manual tasks and scheduled tasks):** Go to the **Tasks** page and execute the task. For scheduled tasks, you can also find the cron schedule on the **Overview** page.
- **For manual tasks and scheduled tasks:** Go to the **Execute** page and run the task. For scheduled tasks, you can also find the cron schedule on the **Overview** page.
2 changes: 1 addition & 1 deletion en/docs/choreo-samples/samples-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ When you view all samples, you can filter and search for samples by the followin
- **Component Type**: Filters by the component type. For example, service, web application, scheduled tasks, manual tasks, etc.
- **Tags**: Use tags like REST, HTTP, or GraphQL to find samples with specific functionalities or integrations.

For each sample, you can either try out the quick deploy feature or access the sample source code on GitHub. For details on quickly deploying a sample, see [Quick Deploy a Sample](./quick-deploy-a-sample.md).
You can either quick deploy a sample or access its source code on GitHub. For details on quick deploying a sample, see [Quick Deploy a Sample](./quick-deploy-a-sample.md).
5 changes: 0 additions & 5 deletions en/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ nav:
- Deploy Your First Service: quick-start-guides/deploy-your-first-service.md
- Deploy Your First Static Web Application: quick-start-guides/deploy-your-first-static-web-application.md
- Deploy a Web Application that Consumes a Backend Service: quick-start-guides/deploy-a-web-application-that-consumes-a-backend-service.md
- Choreo Samples:
- Explore the Samples Collection:
- Samples Overview: choreo-samples/samples-overview.md
- Quick Deploy a Sample: choreo-samples/quick-deploy-a-sample.md
- Explore the Demo Organization: choreo-samples/explore-the-demo-organization.md
- Tutorials:
- Expose a Service as a Managed API: tutorials/expose-a-service-as-a-managed-api.md
- Secure an API with Role-Based Access Control: tutorials/secure-an-api-with-role-based-access-control.md
Expand Down
47 changes: 5 additions & 42 deletions en/theme/material/templates/home-page-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,44 +330,7 @@ <h1 style="font-weight: 700; font-size: 43px; line-height: 48px; padding-top: 2.
<div class="spacer_div" style="width: 2%;"></div>
<!-- Start of second column-->
<div class="md_home_column column">

<!-- Second column - 1st card-->
<div class= "md_home_link_container" >
<div class="cIconContainer">
<div class="hText">
Choreo Samples
</div>
<div class="hIcon">
<svg width="16" height="15" viewBox="0 0 16 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.46562 13.4822C8.56106 13.4749 8.65587 13.4653 8.75 13.4536C11.464 13.1151 13.6151 10.964 13.9536 8.25C13.9653 8.15587 13.9749 8.06106 13.9822 7.96562C13.9871 7.90216 13.991 7.83842 13.9938 7.77441C13.9979 7.68346 14 7.59197 14 7.5C14 4.18629 11.3137 1.5 8 1.5C4.68629 1.5 2 4.18629 2 7.5C2 7.567 2.0011 7.63374 2.00327 7.70021C2.10714 10.8682 4.66684 13.4149 7.84002 13.4979C7.89317 13.4993 7.94649 13.5 8 13.5C8.05732 13.5 8.11444 13.4992 8.17134 13.4976C8.27005 13.4948 8.36816 13.4897 8.46562 13.4822ZM8.53452 11.9686C8.60277 11.989 8.6751 12 8.75 12C10.8211 12 12.5 10.3211 12.5 8.25C12.5 8.1751 12.489 8.10277 12.4686 8.03452C12.376 7.72533 12.0893 7.5 11.75 7.5C11.3358 7.5 11 7.83579 11 8.25C11 9.49264 9.99264 10.5 8.75 10.5C8.33579 10.5 8 10.8358 8 11.25C8 11.5893 8.22533 11.876 8.53452 11.9686ZM9.5 14.85C9.01534 14.9484 8.5137 15 8 15C7.4863 15 6.98466 14.9484 6.5 14.85C5.97829 14.7441 5.47625 14.584 5 14.3759V18.75C5 19.1642 5.33579 19.5 5.75 19.5H10.25C10.6642 19.5 11 19.1642 11 18.75V14.3759C10.9732 14.3876 10.9463 14.3992 10.9193 14.4106C10.4672 14.6019 9.99234 14.75 9.5 14.85ZM12.5 13.5005C14.3217 12.1322 15.5 9.95373 15.5 7.5C15.5 3.35786 12.1421 0 8 0C3.85786 0 0.5 3.35786 0.5 7.5C0.5 9.82995 1.56245 11.9118 3.2293 13.2874C3.31785 13.3604 3.40811 13.4315 3.5 13.5005V18.75C3.5 19.9926 4.50736 21 5.75 21V21.75C5.75 22.9926 6.75736 24 8 24C9.24264 24 10.25 22.9926 10.25 21.75V21C11.4926 21 12.5 19.9926 12.5 18.75V13.5005ZM7.25 21.75C7.25 22.1642 7.58579 22.5 8 22.5C8.41421 22.5 8.75 22.1642 8.75 21.75V21H7.25V21.75Z" fill="black"/>
</svg>
</div>
</div>
<div class="cContentContainer">
<div class="iconTextcontainer">
<div class="cIcon">
<svg width="11" height="20" viewBox="0 -3 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.95801 0.0537109L10.748 4.83643L5.95801 9.62646L5.21094 8.88672L8.76318 5.36377L0.0473633 5.34912V4.33105L8.74854 4.31641L5.21094 0.793457L5.95801 0.0537109Z" fill="#5567D5"/>
</svg>
</div>
<div class="cText">
<a href="choreo-samples/quick-deploy-a-sample/"> Quick Deploy a Sample</a>
</div>
</div>
<div class="iconTextcontainer last_in_card">
<div class="cIcon">
<svg width="11" height="20" viewBox="0 -3 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.95801 0.0537109L10.748 4.83643L5.95801 9.62646L5.21094 8.88672L8.76318 5.36377L0.0473633 5.34912V4.33105L8.74854 4.31641L5.21094 0.793457L5.95801 0.0537109Z" fill="#5567D5"/>
</svg>
</div>
<div class="cText">
<a href="choreo-samples/explore-the-demo-organization/"> Explore the Demo Organization</a>
</div>
</div>
</div>
</div>
<!-- Second column - 2nd card-->
<div class="spacer_div_verticle first_column_space"></div>
<!-- Second column - 1st card-->
<div class= "md_home_link_container" >
<div class="cIconContainer">
<div class="hText">Develop Components </div>
Expand Down Expand Up @@ -452,12 +415,12 @@ <h1 style="font-weight: 700; font-size: 43px; line-height: 48px; padding-top: 2.
</div>
</div>
</div>
<!-- End of Second column - 2nd card-->
<!-- End of Second column - 1st card-->
<!-- End of second column-->
<div class="spacer_div" style="width: 2%;"></div>
<!-- Start of 3rd column-->
<div class="md_home_column column">
<!-- Third column - 1st card-->
<!-- Second column - 2nd card-->
<div class= "md_home_link_container">
<div class="cIconContainer">
<div class="hText"> Developer Tools </div>
Expand Down Expand Up @@ -491,10 +454,10 @@ <h1 style="font-weight: 700; font-size: 43px; line-height: 48px; padding-top: 2.
</div>
</div>

<!-- End of third column - 1st card-->
<!-- End of second column - 2nd card-->
<div class="spacer_div_verticle first_column_space"></div>

<!-- Start of 3rd column- 2nd card-->
<!-- Start of 3rd column- 1st card-->
<div class= "md_home_link_container">
<div class="cIconContainer">
<div class="hText">
Expand Down

0 comments on commit 7b89e8a

Please sign in to comment.