updates to website

This commit is contained in:
janis
2023-03-14 10:09:15 +01:00
parent 31c9eeb426
commit e85cf73881
5 changed files with 32 additions and 19 deletions

View File

@@ -63,6 +63,13 @@ body {
border-radius: 30px;
cursor: pointer;
margin: 1.5%;
transition: 1s;
}
.button:hover {
transition: 0.2s;
border-radius: 5px;
background-color: rgb(60, 85, 140);
}
#nav {

View File

@@ -21,7 +21,7 @@
</div>
<div class="content">
<h2>What is myevent?</h2>
<p>myevent is a free and fully open source self-hosted event management solution that you can use to sell tickets for your next event. It is written in Node.js, JavaScript, TypeScript, HTML and CSS. It uses Vue.js for the ticket purchasing system and features both an iOS and Android App you can download and use entirely for free. If you like this project, please consider giving it a star on GitHub and donating to help fund development of this project!</p>
<p>myevent is a free and fully open source self-hosted event management solution that you can use to sell tickets for your next event. It is written in Node.js, JavaScript, TypeScript, HTML and CSS. It uses Vue.js for the ticket purchasing system and features both an iOS and Android App you can download and use entirely for free. If you like this project, please consider giving it a star on <a href="https://github.com/simplePCBuilding/myevent">GitHub</a> and donating to help fund development of this project!</p>
<div class="image-group">
<a href="https://commons.wikimedia.org/wiki/File:Node.js_logo.svg"><img src="/assets/Node.js_logo.svg" class="image"></a>
<a href="https://commons.wikimedia.org/wiki/File:Node.js_logo.svg"><img src="/assets/htmlCSSJS.png" class="image"></a>

View File

@@ -10,14 +10,4 @@
$( document ).ready( function () {
$( '#nav' ).load( '/nav.html' );
$( '.button' ).mouseenter( function () {
$( this ).stop();
$( this ).animate( { 'border-radius': '5px', 'background-color': 'rgb(60, 85, 140)' }, 200 );
} );
$( '.button' ).mouseleave( function () {
$( this ).stop();
$( this ).animate( { 'border-radius': '30px', 'background-color': 'rgb(24, 43, 61)' }, 400 );
} );
} );

View File

@@ -27,16 +27,19 @@
</div>
<script>
$( document ).ready( function () {
if ( window.location.pathname.slice( 1, window.location.pathname.length - 1 ) != '' ) {
$( '#' + window.location.pathname.slice( 1, window.location.pathname.length - 1 ) ).animate( { "color":"rgba(184, 214, 240, 1)", "background-color":"rgba(0, 0, 175, 1)" }, 200 );
};
$('.navitem' ).mouseenter( function () {
if ( window.location.pathname.slice( 1, window.location.pathname.length ) == this.id ) {} else {
if ( window.location.pathname.slice( 1, window.location.pathname.length - 1 ) == this.id ) {} else {
$( this ).stop();
$( this ).animate( { "color":"rgba(184, 214, 240, 1)", "background-color":"rgba(0, 0, 175, 1)" }, 200 );
};
});
$( '.navitem' ).mouseleave( function () {
if ( window.location.pathname.slice( 1, window.location.pathname.length ) == this.id ) {} else {
if ( window.location.pathname.slice( 1, window.location.pathname.length - 1 ) == this.id ) {} else {
$( this ).stop();
$( this ).animate( { "color":"black", "background-color":"rgba(0, 0, 0, 0)" }, 200 );
$( this ).animate( { "color":"black", "background-color":"rgba(0, 0, 0, 0)" }, 600 );
};
} );
} );