LinkStack è una piattaforma per la gestione e la condivisione dei link online. Offre un sito web simile a Linktree, che consente agli utenti di superare la limitazione di poter aggiungere un solo link sulle piattaforme dei social media. https://l.devol.it
Go to file
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
app Change public path 2022-02-14 12:47:57 +01:00
bootstrap admin littlelink 2021-04-16 03:30:00 +04:30
config Change public path 2022-02-14 12:52:24 +01:00
css Change public path 2022-02-14 13:53:16 +01:00
database Replaced (-) hyphen button seed with custom link button 2022-02-11 22:14:43 +01:00
img Change public path 2022-02-14 13:12:46 +01:00
js Change public path 2022-02-14 13:13:49 +01:00
littlelink Added js.cookie.min.js 2022-02-18 09:20:57 +01:00
resources Added dark mode detection 2022-02-18 10:02:43 +01:00
routes add /@littlelink_name as default page link, and force scheme to https ability 2021-07-06 15:56:05 +07:00
storage admin littlelink 2021-04-16 03:30:00 +04:30
studio Change public path 2022-02-14 13:19:20 +01:00
tests admin littlelink 2021-04-16 03:30:00 +04:30
.editorconfig admin littlelink 2021-04-16 03:30:00 +04:30
.env.example admin littlelink 2021-04-16 03:30:00 +04:30
.gitattributes admin littlelink 2021-04-16 03:30:00 +04:30
.gitignore admin littlelink 2021-04-16 03:30:00 +04:30
.htaccess Change public path 2022-02-14 13:09:33 +01:00
.styleci.yml admin littlelink 2021-04-16 03:30:00 +04:30
LICENSE Update LICENSE 2022-02-18 09:17:51 +01:00
README.md Update README.md 2022-02-12 19:42:16 +01:00
artisan admin littlelink 2021-04-16 03:30:00 +04:30
composer.json upadate composer.json 2021-05-22 18:52:24 +04:30
composer.lock update packages via composer 2021-07-06 15:41:44 +07:00
index.php Change public path 2022-02-14 13:06:58 +01:00
mix-manifest.json Change public path 2022-02-14 13:08:37 +01:00
package-lock.json update package-lock.json 2021-05-22 19:11:12 +04:30
package.json admin littlelink 2021-04-16 03:30:00 +04:30
phpunit.xml admin littlelink 2021-04-16 03:30:00 +04:30
robots.txt Change public path 2022-02-14 13:07:38 +01:00
server.php Change public path 2022-02-14 13:26:42 +01:00
tailwind.config.js admin littlelink 2021-04-16 03:30:00 +04:30
web.config Change public path 2022-02-14 13:10:09 +01:00
webpack.mix.js Change public path 2022-02-14 13:28:19 +01:00

README.md

Forked from littlelink-admin

LittleLink Admin is an admin panel for littlelink that provides you a website similar linktree.

📑 Features

  • creating a link page with more than 20 buttons
  • raising important links on the page
  • button hover animations (new) | demo
  • ordering links (new)
  • custom link option (new)
  • Social Share Preview for individual users (new)
  • counting clicks
  • managing users and pages and links
  • and ...

🔨 Install

git clone https://github.com/JulianPrieber/littlelink-admin
cd littlelink-admin
cp .env.example .env
composer update -vvv
  • edit .env file
DB_DATABASE=YOUR_DB_NAME
DB_USERNAME=YOUR_DB_USER
DB_PASSWORD=YOUR_DB_PASS
APP_NAME="YOUR_APP_NAME"
  • run migration & db seed
php artisan migrate
php artisan db:seed 
(or commands below)
php artisan db:seed --class="AdminSeeder"
php artisan db:seed --class="PageSeeder"
php artisan db:seed --class="ButtonSeeder"

php artisan key:generate
php artisan serve (optional)
  • login:
email: admin@admin.com
password: 12345678

💞 Partners

🎲 Donate

@khashayarzavosh bitcoin: 1FQJWCZJoLKfJei7NFisTH65yNUjugJRi4