Skip to content

Commit

Permalink
chore: improve doc site (#171)
Browse files Browse the repository at this point in the history
* fix blunder in site

* fix blunder in site
  • Loading branch information
shivasurya authored Oct 22, 2024
1 parent b3b236d commit 6fdf618
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/content/docs/ci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The code-pathfinder docker image is available on [Docker Hub](https://hub.docker
uses: actions/checkout@v4

- name: Code-Pathfinder SAST Scan
uses: shivasurya/code-pathfinder@shiva/fix-github-action
uses: shivasurya/code-pathfinder@main
with:
command: 'ci'
project: '.'
Expand Down
17 changes: 14 additions & 3 deletions docs/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Code-PathFinder Console:
SELECT md, "Listing all main methods"

public static void main(String[] args) {
System.out.println("\"Set thy heart upon thy work,");
System.out.println("but never on its reward.\" - Bhagavad Gita, Chapter 2, Verse 47");
System.out.println("Set thy heart upon thy work,");
System.out.println("but never on its reward. - Bhagavad Gita, Chapter 2, Verse 47");
}
```

Expand Down Expand Up @@ -83,7 +83,7 @@ public static void main(String[] args) {

<br/>
<CardGrid>
<div style="border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-color: #e0e0e0; width: 75%;">
<div style="border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-color: #e0e0e0;">
<img src="/assets/cpf-illustration.jpg" alt="Getting Started" style="width: 100%; height: 200px; object-fit: cover;" />
<div style="padding: 16px;">
<h4 style="color: #333;">CodeQL Opensource Alternative</h4>
Expand All @@ -93,6 +93,17 @@ public static void main(String[] args) {
</a>
</div>
</div>

<div style="border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-color: #e0e0e0;">
<img src="/assets/webview.webp" alt="Getting Started" style="width: 100%; height: 200px; object-fit: cover;" />
<div style="padding: 16px;">
<h4 style="color: #333;">Detecting WebView Misconfigurations</h4>
<br />
<a href="/blog/finding-webview-misconfigurations-android" style="display: inline-block; background-color: #4CAF50; color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; margin-top: 10px;">
<span style="font-size: 1.2em;">Read →</span>
</a>
</div>
</div>
</CardGrid>


Expand Down

0 comments on commit 6fdf618

Please sign in to comment.