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

Fixed UI case study page #850

Merged
merged 1 commit into from
Mar 6, 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
28 changes: 19 additions & 9 deletions ui/src/containers/CaseStudy.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script>
import { navigateTo } from "svelte-router-spa";
</script>

<div class="container mx-auto">
<div class="bg-white shadow-lg rounded px-8 pt-6 pb-8 mb-4 flex flex-col">
<article class="markdown-body">
Expand Down Expand Up @@ -43,7 +44,7 @@
Hence, we had to categorize the custom rules according to each framework, discerning which rules are applicable to Gatsby or NextJS, with the aim of mitigating false positive.
</li>
</ul>
<div style="display: inline-flex">
<div class="logo">
<a href="https://ssw.com.au/">
<img width="129" alt="image" src="/images/SSW-Logo.png">
</a>
Expand All @@ -70,13 +71,22 @@
/>
</a>
<p><strong>Figure: Scan result on SSW Rules without any broken link and code errors/warnings</strong></p>
<h3>Want to find and fix your website code problems?
</h3>
<button
type="button"
on:click={() => {navigateTo("/")}}
class="bgred hover:bg-red-800 text-white font-semibold py-2 px-4 border hover:border-transparent rounded"
>Get Started with CodeAuditor</button>
<div class="mt-20 mb-20">
<h3>Want to find and fix your website code problems?
</h3>
<button
type="button"
on:click={() => {navigateTo("/")}}
class="bgred hover:bg-red-800 text-white font-semibold py-2 px-4 border hover:border-transparent rounded"
>Get Started with CodeAuditor</button>
</div>
<div></div>
</article>
</div>
</div>
</div>

<style>
.markdown-body a {
color: #cc4141
}
</style>
6 changes: 6 additions & 0 deletions ui/src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,9 @@ button:focus {
transition: opacity 0.2s ease;
z-index: 3000;
}

.logo {
display: flex;
justify-content: space-around;
margin: 2rem 0
}
Loading