Skip to content
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 .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{config,csproj,css,js,json,props,ruleset,xslt}]
[*.{config,csproj,css,js,json,props,ruleset,xslt,html}]
indent_size = 2

[*.{cs}]
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,8 @@ Alternatively, to build and validate the code, run all tests, generate code cove
```bash
pwsh Build.ps1
```

## Sponsors

<a href="https://jb.gg/OpenSourceSupport"><img align="middle" src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg" alt="JetBrains Logo" style="width:150px"></a> &nbsp;
<a href="https://www.araxis.com/buy/open-source"><img align="middle" src="https://www.araxis.com/theme/37/img/araxis-logo-lg.svg" alt="Araxis Logo" style="width:150px"></a>
35 changes: 28 additions & 7 deletions docs/home/assets/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ h1, h2, h3, h4, h5, h6, .font-primary {
margin-top: 72px;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
Expand Down Expand Up @@ -300,12 +299,6 @@ section {
.breadcrumbs ol li {
display: inline-block;
}


}

div[feature]:hover {
cursor: pointer;
}

/*--------------------------------------------------------------
Expand Down Expand Up @@ -401,6 +394,34 @@ div[feature]:hover {
margin-bottom: 0;
}

div[feature]:hover {
cursor: pointer;
}

/*--------------------------------------------------------------
# Sponsors
--------------------------------------------------------------*/
.sponsors .icon-box {
padding: 30px;
position: relative;
overflow: hidden;
margin: 0 0 40px 0;
background: #fff;
box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
transition: all 0.3s ease-in-out;
border-radius: 15px;
text-align: center;
border-bottom: 3px solid #fff;
}

.sponsors .icon-box:hover {
transform: translateY(-5px);
border-color: #ef7f4d;
}

div[sponsor]:hover {
cursor: pointer;
}

/*--------------------------------------------------------------
# Footer
Expand Down
11 changes: 8 additions & 3 deletions docs/home/assets/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
}
});


// Feature panels linking
$('div[feature]#filter').on('click', () => navigateTo('usage/reading/filtering.html'));
$('div[feature]#sort').on('click', () => navigateTo('usage/reading/sorting.html'));
Expand All @@ -49,13 +48,19 @@
$('div[feature]#validation').on('click', () => navigateTo('usage/options.html#enable-modelstate-validation'));
$('div[feature]#customizable').on('click', () => navigateTo('usage/extensibility/resource-definitions.html'));


const navigateTo = (url) => {
if (!window.getSelection().toString()){
if (!window.getSelection().toString()) {
window.location = url;
}
}

// Sponsor panels linking
$('div[sponsor]#jetbrains').on('click', () => navigateExternalTo('https://jb.gg/OpenSourceSupport'));
$('div[sponsor]#araxis').on('click', () => navigateExternalTo('https://www.araxis.com/buy/open-source'));

const navigateExternalTo = (url) => {
window.open(url, "_blank");
}

hljs.initHighlightingOnLoad()

Expand Down
Loading