Commit Graph

2049 Commits

Author SHA1 Message Date
JulianPrieber 69fc08668c fixed logo.svg 2022-02-20 14:09:08 +01:00
JulianPrieber 696d2f0d82
Fixed spelling
Changed button to buttons
2022-02-20 13:56:19 +01:00
JulianPrieber a3013082f6
Added animation
Added animation for new logo and element fade in
2022-02-20 13:39:53 +01:00
JulianPrieber 61dac5f754
Uploaded the logo vector graphics
The new logo vectors have been added (https://github.com/JulianPrieber/littlelink-custom/milestone/1).
2022-02-20 13:27:46 +01:00
JulianPrieber e7cae13055
Changed avatar@2x.png to new logo
avatar@2x.png is not really getting used anymore besides the srcset behind src in some versions of the logo.

I might remove this later on.
2022-02-20 13:26:03 +01:00
JulianPrieber abb81711fb
Removed avatar.png
I removed avatar.png as it is no longer being used and has been replaced with logo.svg.

If an admin uploads a custom logo, this will take the place of avatar.png and will be used as the new logo.
2022-02-20 13:22:39 +01:00
JulianPrieber 8243d7c977 fixed logo.svg 2022-02-20 13:20:21 +01:00
JulianPrieber 96cfd5b4c1 Changed logo
As part of the new logo (https://github.com/JulianPrieber/littlelink-custom/milestone/1) I'm now using the new 'logo.svg' vector logo.

For this, I added an if-else statement in most cases, which first check for a custom logo uploaded by the admin or the avatar of an individual user. If the image doesn't exist, the default logo (logo.svg) is used.
2022-02-20 13:12:25 +01:00
JulianPrieber 5db777053e
Added dark mode detection
Added automatic dark mode detection to littlelink.blade.php via a cookie with js.cookie.min.js (see previous commit).

Detecting the dark mode setting is done with JavaScript. The script detects the preferred dark mode setting in the client's browser and saves it with a cookie. If the script detects a change in this setting, it corrects the cookie. 

Loading the appropriate skeleton.css is done via PHP with an if-else statement. If the cookie (saved by the previous script) color scheme equals 'dark' it will load skeleton-dark.css (found in /littlelink/css). 

If dark mode is not detected OR nothing is detected/cookie is getting blocked, the statement defaults to skeleton-light.css (also found in /littlelink/css).

You could change what the if-else statement defaults to (i.e. which color scheme is loaded if the cookie fails to detect) by switching 'skeleton-dark.css' and 'skeleton-light.css' around (see comment in if statement).

Everything added is commented and marked with begin/end.


Credit to 'user1575941' on Stack Overflow who's commented code REALLY helped getting behind all this.
2022-02-18 10:10:13 +01:00
JulianPrieber a5c81158cf
Added dark mode detection
Added automatic dark mode detection to home.blade.php via a cookie with js.cookie.min.js (see previous commit).

Detecting the dark mode setting is done with JavaScript. The script detects the preferred dark mode setting in the client's browser and saves it with a cookie. If the script detects a change in this setting, it corrects the cookie. 

Loading the appropriate skeleton.css is done via PHP with an if-else statement. If the cookie (saved by the previous script) color scheme equals 'dark' it will load skeleton-dark.css (found in /littlelink/css). 

If dark mode is not detected OR nothing is detected/cookie is getting blocked, the statement defaults to skeleton-light.css (also found in /littlelink/css).

You could change what the if-else statement defaults to (i.e. which color scheme is loaded if the cookie fails to detect) by switching 'skeleton-dark.css' and 'skeleton-light.css' around (see comment in if statement).

Everything added is commented and marked with begin/end.


Credit to 'user1575941' on Stack Overflow who's commented code REALLY helped getting behind all this.
2022-02-18 10:08:24 +01:00
JulianPrieber b67651df04 Revert "Added dark mode detection"
This reverts commit cc71e0d6ca.
2022-02-18 10:06:14 +01:00
JulianPrieber cc71e0d6ca
Added dark mode detection
Added automatic dark mode detection to home.blade.php via a cookie with js.cookie.min.js (see previous commit).

Detecting the dark mode setting is done with JavaScript. The script detects the preferred dark mode setting in the client's browser and saves it with a cookie. If the script detects a change in this setting, it corrects the cookie. 

Loading the appropriate skeleton.css is done via PHP with an if-else statement. If the cookie (saved by the previous script) color scheme equals 'dark' it will load skeleton-dark.css (found in /littlelink/css). 

If dark mode is not detected OR nothing is detected/cookie is getting blocked, the statement defaults to skeleton-light.css (also found in /littlelink/css).

You could change what the if-else statement defaults to (i.e. which color scheme is loaded if the cookie fails to detect) by switching 'skeleton-dark.css' 'skeleton-light.css around' (see comment in if statement).

Everything added is commented and marked with begin/end.


Credit to 'user1575941' on Stack Overflow who's commented code REALLY helped getting behind all this.
2022-02-18 10:02:43 +01:00
JulianPrieber b81190bddc
Added js.cookie.min.js
A simple, lightweight JavaScript API for handling browser cookies. See next commit.

(https://github.com/js-cookie/js-cookie)
2022-02-18 09:20:57 +01:00
JulianPrieber 99dbfafe91
Update LICENSE 2022-02-18 09:17:51 +01:00
JulianPrieber 11d05a558b
Added button entrance animation
Live demo: https://julianprieber.github.io/littlelink-admin-demo/button-entrance.html

Added an entrance animation for buttons on home.blade.php. This animation was made by the Animate.css project (https://github.com/animate-css/animate.css).

Each button entrance animation lasts 100ms. Every button after the first adds 100ms to the value of the previous button i.e. button 1 loads after 100ms, button 2 loads after 200ms,  button 3 after 300ms and so on...

Timings for the buttons can be changed in /littlelink/css/animate.css

I put every button in a separate <div> Tag, so the animation wouldn't in interfere with the existing hover animation.
2022-02-17 22:15:51 +01:00
JulianPrieber 44f57ce954
Added button entrance animation
Live demo: https://julianprieber.github.io/littlelink-admin-demo/button-entrance.html

Added an entrance animation for buttons on littlelink.blade.php. This animation was made by the Animate.css project (https://github.com/animate-css/animate.css).

Each button entrance animation lasts 100ms. Every button after the first adds 100ms to the value of the previous button i.e. button 1 loads after 100ms, button 2 loads after 200ms,  button 3 after 300ms and so on...

Timings for the buttons can be changed in /littlelink/css/animate.css

I put every button in a separate <div> Tag, so the animation wouldn't in interfere with the existing hover animation.

Likewise, I removed all <br> Tags.
2022-02-17 22:09:58 +01:00
JulianPrieber e0cc3e0a26
Added custom animate.css
Added a customized version of Animate, a CSS animation library for new button entrance animation. See next commit.

(https://github.com/animate-css/animate.css)
2022-02-17 21:47:23 +01:00
JulianPrieber 862823154c
Update LICENSE 2022-02-17 21:43:04 +01:00
JulianPrieber c7978ca610
Moved /public
This is the last major public path edit. For simplified usability, I am integrating the public Laravel directory into the root directory. 

All files in /public have been moved into the root directory. This directory is no longer necessary and therefore has been removed.
2022-02-14 13:56:51 +01:00
JulianPrieber f940106897
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

hover-min.css has been moved!
2022-02-14 13:53:16 +01:00
JulianPrieber 37c73f6cd9
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

Added hover-min.css (button animations)
2022-02-14 13:51:40 +01:00
JulianPrieber 02a4ae7e0c
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

Changed path /public to root directory.

!!!NEEDS TO BE TESTED!!!
2022-02-14 13:28:19 +01:00
JulianPrieber 506cecbdac
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

Changed path /public to root directory.

!!!NEEDS TO BE TESTED!!!
2022-02-14 13:26:42 +01:00
JulianPrieber 38f5cfa521
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:19:20 +01:00
JulianPrieber eda7882770
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:18:13 +01:00
JulianPrieber 5ffbf7393d
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:17:47 +01:00
JulianPrieber 425e0ab981
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:15:29 +01:00
JulianPrieber 08b5a040ca
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:13:49 +01:00
JulianPrieber a9dad0a0be
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:12:46 +01:00
JulianPrieber cf4f3e7c07
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:12:20 +01:00
JulianPrieber 85569ce06c
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:10:59 +01:00
JulianPrieber 4cd99d333d
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:10:09 +01:00
JulianPrieber ba963c96e2
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:09:33 +01:00
JulianPrieber de6b36e7a4
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:08:37 +01:00
JulianPrieber 697f72be94
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:07:38 +01:00
JulianPrieber f7d7076ddd
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

This edit is part of moving everything from root/public to root.
2022-02-14 13:06:58 +01:00
JulianPrieber b2ef9378f2
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

Fixed path (removed '/..' ). Index.php will be moved to into the root directory.
2022-02-14 13:02:46 +01:00
JulianPrieber 514e779025
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:56:50 +01:00
JulianPrieber c097c0ae09
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:56:03 +01:00
JulianPrieber 14c324734f
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:54:51 +01:00
JulianPrieber 1c7f71e56f
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:53:07 +01:00
JulianPrieber dc4ab42663
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:52:24 +01:00
JulianPrieber ca328898f0
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:49:05 +01:00
JulianPrieber a025edfeb1
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:48:34 +01:00
JulianPrieber 872f720bb0
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:47:57 +01:00
JulianPrieber cb349a2280
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:47:27 +01:00
JulianPrieber 660caf0f12
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:46:24 +01:00
JulianPrieber fe110cc45f
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. 

For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
2022-02-14 12:44:29 +01:00
JulianPrieber 249ad51d0b
Update README.md
Added feature button hover animation + demo (https://julianprieber.github.io/littlelink-admin-demo)
2022-02-12 19:42:16 +01:00
JulianPrieber 8f1f66ab69
Update README.md
Added partner button animations (https://github.com/IanLunn/Hover)
2022-02-12 19:39:11 +01:00