Skip to content

Commit

Permalink
Merge pull request #97 from TypedDevs/homepage
Browse files Browse the repository at this point in the history
Homepage
  • Loading branch information
Chemaclass authored Sep 16, 2023
2 parents 5843b42 + d9ef111 commit fb909a3
Show file tree
Hide file tree
Showing 11 changed files with 77 additions and 17 deletions.
22 changes: 22 additions & 0 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,30 @@ h1, h2, h3, h4, h5, h6 {

:root {
--vp-home-hero-name-color: #2e3436;
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#a462e5 50%,
#8ae234 50%
);
--vp-home-hero-image-filter: blur(40px);
}

.dark {
--vp-home-hero-name-color: #eceeee;
}

.VPFeature .VPImage {
all: unset;
background: #2e3436;
padding: 0.4rem;
border-radius: 0.6rem;
width: 2rem;
height: 2rem;
object-fit: contain;
object-position: center;
}

.VPHero .VPImage {
translate: -50% -50%;
transform: none;
}
34 changes: 30 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ layout: home

hero:
name: bashunit
tagline: A simple testing library for bash scripts
text: A simple testing library for bash scripts
tagline: Test your bash scripts in the fastest and simplest way, discover the most modern bash testing library.
image:
src: /logo.svg
alt: bashunit
actions:
- theme: brand
text: Getting Started
Expand All @@ -14,11 +18,33 @@ hero:
link: /assertions

features:
- title: Flexible
- icon:
src: /flexible.svg
title: Flexible
details: Robust assertions for comparing, matching, and validating results, ensuring thorough testing of your codebase.
- title: Accessible
- icon:
src: /accessible.svg
title: Accessible
details: An intuitive API and clear documentation for a smooth developer experience, reducing testing complexity.
- title: Updated
- icon:
src: /updated.svg
title: Updated
details: A vibrant GitHub community for support, collaboration, and continuous library enhancement. Join forces with like-minded developers.
- icon:
src: /multiplatform.svg
title: Multiplatform
details: Seamlessly operates on Linux, macOS, and Windows (via WSL), facilitating a consistent testing environment across major platforms.
---

<script setup lang="ts">
import VanillaTilt from 'vanilla-tilt';

window.onload = () => {
const heroImage = document.querySelector('.VPHero .VPImage');

VanillaTilt.init(heroImage, {
'full-page-listening': true,
reverse: true
});
};
</script>
1 change: 1 addition & 0 deletions docs/public/accessible.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/public/flexible.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/public/logo_name.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fb909a3

Please sign in to comment.