mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 20:35:13 -05:00
feat: refactored cucks
This commit is contained in:
parent
667440f60f
commit
354b9418f8
69 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ pageList =
|
|||
|
||||
transitionStyle : Attribute msg
|
||||
transitionStyle =
|
||||
htmlAttribute <| style "transition" "all .2s"
|
||||
htmlAttribute <| style "transition" "all .1s"
|
||||
|
||||
|
||||
transitionHighlightedLinkHover : Element msg -> Element msg
|
||||
|
|
|
@ -125,7 +125,7 @@ cuckMaker cuck =
|
|||
, clip
|
||||
, width <| px 72
|
||||
]
|
||||
{ src = "cucks/" ++ cuck.cuckImage ++ ".png"
|
||||
{ src = "cucks/" ++ cuck.cuckImage ++ "/" ++ cuck.cuckImage ++ ".png"
|
||||
, description = cuck.cuckName
|
||||
}
|
||||
, column
|
||||
|
|
19
frontend/src/scripts/directoryconverter.sh
Executable file
19
frontend/src/scripts/directoryconverter.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
for file in *; do
|
||||
# Check if it's a file (not a directory)
|
||||
if [ -f "$file" ]; then
|
||||
# Get filename without extension
|
||||
dirname="${file%.*}"
|
||||
|
||||
# Create directory if it doesn't exist
|
||||
if [ ! -d "$dirname" ]; then
|
||||
mkdir "$dirname"
|
||||
echo "Created directory: $dirname"
|
||||
fi
|
||||
|
||||
# Move the file into its directory
|
||||
mv "$file" "$dirname/"
|
||||
echo "Moved $file to $dirname/"
|
||||
fi
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue