Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve doc site #171

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading