diff --git a/.husky/_/commit-msg b/.husky/_/commit-msg index 6d75457..16aae78 100755 --- a/.husky/_/commit-msg +++ b/.husky/_/commit-msg @@ -1,5 +1,2 @@ -#!/bin/sh -. "$(dirname "$0")/husky.sh" - -# Validate commit message -npx --no-install commitlint --edit "$1" +#!/usr/bin/env sh +. "$(dirname "$0")/h" \ No newline at end of file diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh index 472dabe..f9d0637 100644 --- a/.husky/_/husky.sh +++ b/.husky/_/husky.sh @@ -1,31 +1,9 @@ -#!/bin/sh -if [ -z "$husky_skip_init" ]; then - debug () { - [ "$HUSKY_DEBUG" = "1" ] && echo "husky:debug $1" - } +echo "husky - DEPRECATED - readonly hook_name="$(basename "$0")" - debug "starting $hook_name..." +Please remove the following two lines from $0: - if [ "$HUSKY" = "0" ]; then - debug "HUSKY env variable is set to 0, skipping hook" - exit 0 - fi +#!/usr/bin/env sh +. \"\$(dirname -- \"\$0\")/_/husky.sh\" - if [ -f ~/.huskyrc ]; then - debug "sourcing ~/.huskyrc" - . ~/.huskyrc - fi - - export readonly husky_skip_init=1 - sh -e "$0" "$@" - exitCode="$?" - - if [ $exitCode != 0 ]; then - debug "hook failed" - else - debug "hook succeeded" - fi - - exit $exitCode -fi \ No newline at end of file +They WILL FAIL in v10.0.0 +" \ No newline at end of file diff --git a/.husky/_/pre-commit b/.husky/_/pre-commit index 77c876a..16aae78 100755 --- a/.husky/_/pre-commit +++ b/.husky/_/pre-commit @@ -1,30 +1,2 @@ -#!/bin/sh -# Ensure the script fails on the first error (except when running prettier) -set -e - -# Run Prettier to format code -echo "Running Prettier..." -npx prettier --write . - -# Capture the Prettier exit code -PRETTIER_EXIT_CODE=$? - -# Run ESLint to lint code -echo "Running ESLint..." -npx eslint . - -# Capture the ESLint exit code -ESLINT_EXIT_CODE=$? - -# If Prettier or ESLint failed, exit with an error -if [ "$PRETTIER_EXIT_CODE" -ne 0 ]; then - echo "Prettier formatting failed" -fi - -if [ "$ESLINT_EXIT_CODE" -ne 0 ]; then - echo "ESLint failed" - exit 1 # Ensure pre-commit fails on lint issues -fi - -# If both succeeded or ESLint failed, allow commit to proceed -exit 0 +#!/usr/bin/env sh +. "$(dirname "$0")/h" \ No newline at end of file diff --git a/favs.html b/favs.html index b5e2c05..b4778eb 100644 --- a/favs.html +++ b/favs.html @@ -142,7 +142,7 @@

Share GIF

  • - + diff --git a/index.html b/index.html index b8ea3d8..d358d21 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,7 @@ src="https://kit.fontawesome.com/72fc4d72f1.js" crossorigin="anonymous" > + @@ -66,19 +67,19 @@

    Share GIF

    Giphy Search

    - + By Luis Rojano
    @@ -139,7 +140,7 @@

    Share GIF

  • - +
    @@ -151,7 +152,7 @@

    Share GIF

    2000 diff --git a/login.html b/login.html index f37b1b0..57cbc44 100644 --- a/login.html +++ b/login.html @@ -8,7 +8,7 @@ /* CSS for styling the login page */ body { font-family: 'Arial', sans-serif; - background-color: #f0f4f8; + background-color: black; display: flex; justify-content: center; align-items: center; @@ -19,6 +19,7 @@ .login-container { background-color: #fff; padding: 40px; + border: 5px solid #c253b7; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 300px; @@ -82,20 +83,23 @@ - -
    -

    Login

    -
    - - - - - -
    -