aa74822945
feat(package.json): update dev, build, and server scripts to remove bundled js and css files before running rollup and hugo commands
Sped0n
2023-11-02 10:53:56 +08:00
44f3012e31
chore(rollup.config.mjs): update output directory from './static/js' to './static/bundled/js' to match new project structure
Sped0n
2023-11-02 10:51:49 +08:00
4c09b08172
Merge remote-tracking branch 'origin/main' into main
Sped0n
2023-11-02 10:50:24 +08:00
9d365d8c96
fix(gallery.ts): add { passive: true } option to event listeners for better performance and scrolling behavior
Sped0n
2023-11-02 10:46:38 +08:00
b496e23d9a
chore(tsconfig.json): remove "watch" option to avoid confusion as it is not needed chore(tsconfig.json): add "baseUrl" option with value "./" to set the base URL for module resolution
Sped0n
2023-11-01 23:24:05 +08:00
788b9433ba
chore(fonts): add GeistVF.woff2 font file and remove HelveticaNowText-Regular.woff2 font file feat(fonts): add fw.svg font file refactor(swiper): remove swiper-bundle.min.css file
Sped0n
2023-11-01 23:23:34 +08:00
09583bfc0a
chore(rollup.config.mjs): add rollup configuration file to bundle and transpile TypeScript code
Sped0n
2023-11-01 23:13:05 +08:00
b91a67e0da
chore(package.json): update scripts and devDependencies
Sped0n
2023-11-01 23:12:19 +08:00
df5d839074
chore(link.html): update critical style source and options to improve performance and maintainability chore(link.html): update main style source and options to improve performance and maintainability chore(link.html): remove unused meta.html file chore(nav.html): update decrement and increment buttons to use Unicode characters for better accessibility chore(plugin/style.html): update style plugin to support inline styles for critical CSS chore(plugin/style.html): update style plugin to support minification and fingerprinting for main CSS chore(plugin/style.html): remove script plugin as it is no longer used chore(plugin/style.html): update style plugin to support inline styles for critical CSS chore(plugin/style.html): update style plugin to support minification and fingerprinting for main CSS chore(resources/imageJSON.html): update image resize options for better performance and quality
Sped0n
2023-11-01 23:09:53 +08:00
a395513bd6
fix(customCursor.ts): move import statement for active to the top for better organization fix(customCursor.ts): add return type void to onMouse function for clarity fix(customCursor.ts): add passive option to window event listener for mousemove to improve performance fix(stageNav.ts): move import statement for setCustomCursor to the top for better organization fix(stageNav.ts): add return type void to handleClick function for clarity fix(stageNav.ts): add return type void to handleKey function for clarity fix(stageNav.ts): add passive option to overlay event listeners for click, keydown, mouseover, and focus to improve performance fix(stageNav.ts): add passive option to window event listener for keydown to improve performance fix(stageNav.ts): add return type void to nextImage function for clarity fix(stageNav.ts): add return type void to prevImage function for clarity fix(gallery.ts): move import statement for Swiper to the top for better organization fix(gallery.ts): add return type void to slideUp function for clarity fix(gallery.ts): add return type void to initGallery function for clarity fix(gallery.ts): add passive option to window event listener for touchstart to improve performance fix(gallery.ts): add return type void to changeSlide function for clarity fix(gallery.ts): add return type void to scrollToActive function for clarity fix(gallery.ts): add return type void to createGallery function for clarity fix(gallery.ts): add passive option to close event listeners for click and keydown to improve performance fix(gallery.ts): add passive option to overlay event listeners for click, keydown, mouseover, and focus to improve performance fix(gallery.ts): add passive option to window event listener for touchstart to improve performance fix(nav.ts): add return type void to initNav function for clarity fix(utils.ts): add return type number to getRandom function for clarity fix(utils.ts): add return type void to onVisible function for clarity fix(utils.ts): add return type void to addWatcher function in Watchable class for clarity
Sped0n
2023-11-01 23:07:21 +08:00
bb15dbea36
chore(style.scss): update import statement for article partial to import swiper.scss from node_modules chore(link.html): remove unused swiper css import statement
Sped0n
2023-11-01 23:04:05 +08:00
7b48cf6e91
chore(font.scss): update font-face declaration for 'Geist' font and add font-display property for better font loading performance chore(font.scss): add font-face declaration for 'fw' font and set font-display property for better font loading performance chore(typography.scss): update font-family property for body element to use 'Geist' font as the primary font chore(typography.scss): update font-family property for button element to use 'fw' font as the primary font
Sped0n
2023-11-01 23:02:37 +08:00
3d88d5a243
style(base.scss): remove empty line at the end of the file for consistency style(nav.scss): remove unused import statement for mixins in _core folder
Sped0n
2023-11-01 23:02:02 +08:00
2f75ed3d59
feat(scss): add critical.scss file and import necessary partials for critical styles
Sped0n
2023-11-01 23:01:38 +08:00
1a9d5762c4
chore: update images for exampleSite
Sped0n
2023-11-01 23:00:12 +08:00
d01dca5f36
chore(Info.md): update menu configuration to include Info page in the main menu with weight 4 and identifier "Info" chore(Info.md): update theme description to clarify that Bridget is a minimal Hugo theme designed for photographers/visual artists chore(Info.md): add information about the inspiration for the theme and the modifications made to mimic the original design chore(Info.md): update the Instagram link to point to the correct profile chore(Info.md): update the Github link to point to the correct profile chore(Info.md): update the site design credit to mention Tyler McRobert as the original designer chore(Info.md): update the copyright information to mention Spedon as the current owner and mention that the site is powered by Hugo
Sped0n
2023-11-01 22:59:42 +08:00
9bbf3a7f7a
chore(hugo.toml): remove unused disableKinds to improve build performance chore(params.toml): add website title parameter for better customization chore(baseof.html): update page title to use the website title parameter chore(nav.html): update navigation link to use the website title parameter
Sped0n
2023-11-01 22:59:03 +08:00
eb3c91d017
feat(content): move menu configuration to markdown and add new content pages for Erwitt, Gruyaert, and Webb
Sped0n
2023-11-01 22:56:36 +08:00
67c0dcd70b
chore(dependabot.yml): change the update schedule interval from daily to weekly
Sped0n
2023-11-01 22:54:23 +08:00
e1720906f7
refactor(article.scss): remove margin-top from .info class to improve layout consistency feat(article.scss): add media query to apply margin-top to .info class on tablets and devices with no hover support to improve responsiveness
Sped0n
2023-10-31 00:35:17 +08:00
ee40055d6a
feat(link.html): add support for minification of style and script files based on Hugo production mode
Sped0n
2023-10-31 00:07:51 +08:00
bf859ebed9
feat(plugin/script.html): add support for ESBuild to optimize JavaScript resources
Sped0n
2023-10-31 00:07:27 +08:00
bffd43c6cc
feat(gallery.ts): add support for loading active images when sliding up to improve user experience
Sped0n
2023-10-31 00:06:47 +08:00
68ddbce37b
feat(collection.ts): add image preloading functionality to improve performance and user experience
Sped0n
2023-10-31 00:06:14 +08:00
6606dcec93
refactor(stage.ts): extract getElNextFive() function to improve code readability and reusability refactor(stage.ts): move lores(getElNextFive()) to setPositions() function to ensure images are preloaded before setting positions refactor(stage.ts): move lores(getElTrail()) to setPositions() function to ensure images are preloaded before setting positions when isOpen is true refactor(stage.ts): remove redundant lores(imgs) call from minimizeImage() function refactor(stage.ts): move lores(getElNextFive()) to initStage() function to ensure images are preloaded when stage is initialized refactor(stage.ts): remove unused e.src assignment in createStage() function
Sped0n
2023-10-31 00:05:43 +08:00
1e945353df
refactor(state.ts): improve code readability by adding comments and organizing code into sections feat(state.ts): add nextFive property to state object to store the next five indices for preload feat(state.ts): add getNextFive function to calculate the next five indices based on the current index and length
Sped0n
2023-10-31 00:04:29 +08:00
102e9aacf7
fix(state.ts): change the increment value in decThreshold function from 1 to -1 to correctly decrease the threshold value
Sped0n
2023-10-31 00:03:59 +08:00
f9af230110
refactor(collection.ts): rename variable 'container' to 'collection' for better clarity and semantics refactor(collection.ts): update classList manipulation to use 'collection' instead of 'container' for consistency and clarity
Sped0n
2023-10-31 00:03:14 +08:00
4b2639d669
style(article.scss): add margin-top to .info class to create space below the navigation bar style(article.scss): remove media query for positioning .info class on tablets and devices without hover support
Sped0n
2023-10-31 00:02:28 +08:00
071f53071e
feat(gallery.ts): change image source to a data attribute and dynamically load it when the image is visible
Sped0n
2023-10-30 17:47:06 +08:00
b5aae19c70
feat(stage.ts): add functions to switch between high-resolution and low-resolution images for better image quality and performance
Sped0n
2023-10-30 17:45:46 +08:00
3cbbc5b6da
refactor(resources.ts): update ImageJSON interface to include separate properties for low resolution and high resolution image URLs, heights, and widths for better organization and clarity
Sped0n
2023-10-30 17:44:59 +08:00
6be9717f2f
style(article.scss): add media query for tablets and devices with no hover support to fix positioning of .info element
Sped0n
2023-10-30 17:44:21 +08:00
33c9f863c8
feat(year.html): add new shortcode to display the current year
Sped0n
2023-10-30 15:58:53 +08:00
e20fb7c105
feat(imageJSON.html): add imageJSON.html partial template to generate JSON data for image resources
Sped0n
2023-10-30 15:58:37 +08:00
2553c7e1fc
feat(plugin): add script.html partial template to handle rendering of script tags with various options
Sped0n
2023-10-30 15:58:00 +08:00
a74f15b908
feat(currentMenuItem.html): add template partial to retrieve the current menu item based on the current page URL
Sped0n
2023-10-30 15:57:32 +08:00
1632803e91
refactor(plugin/style.html): improve code formatting and indentation for better readability
Sped0n
2023-10-30 15:57:13 +08:00
40f278ce1c
feat(nav.ts): add functionality to set the current link based on the currentMenuItemIndex attribute
Sped0n
2023-10-30 15:55:02 +08:00
ead0a84ac7
refactor(main.ts): improve code readability by adding conditional check for ijs length before initializing stage or collection fix(resources.ts): handle case when imagesJson element is not found to prevent error and return empty array
Sped0n
2023-10-30 15:54:36 +08:00
f328d727d5
refactor(stage.ts): reorder imports for better readability and consistency fix(stage.ts): fix incorrect import order of incIndex and state in stage.ts
Sped0n
2023-10-30 15:54:03 +08:00
d575d8e867
feat(scss): add new partial _article.scss to handle styling for article content
Sped0n
2023-10-30 15:53:27 +08:00
e4bc4a8d92
style(customCursor.scss): reorganize code to improve readability and maintainability
Sped0n
2023-10-30 15:53:06 +08:00
3d9237758d
chore: update example site
Sped0n
2023-10-30 15:51:52 +08:00
144132ae72
fix(fonts): update font file path in _font.scss to use the new woff2 file format fix(fonts): remove HelveticaNowText-Regular.woff font file and add HelveticaNowText-Regular.woff2 font file
Sped0n
2023-10-30 15:51:17 +08:00
2022c7f03a
feat(customCursor.scss): add custom cursor styles to improve user experience refactor(customCursor.ts): remove unused code and optimize custom cursor functionality refactor(stageNav.ts): remove unused code and optimize stage navigation functionality refactor(stage.ts): remove unused code and optimize stage functionality
Sped0n
2023-10-29 22:25:36 +08:00
13fa8b21fb
Merge branch 'dev' into main
Sped0n
2023-10-29 22:15:47 +08:00
6e4213054c
refactor(state.ts): refactor state management to use a Watchable class for improved reactivity and encapsulation fix(state.ts): fix bug in decThreshold function where the wrong value was being passed to updateThreshold function
Sped0n
2023-10-29 22:12:31 +08:00
047ec5c630
feat(container.scss): add container styles for fixed position and scrolling behavior
Sped0n
2023-10-29 22:12:06 +08:00
c419b304df
feat(nav.scss): add styles for navigation bar
Sped0n
2023-10-29 22:11:32 +08:00
bd2354e2f5
feat: add new SCSS partials for collection and gallery components
Sped0n
2023-10-29 22:11:04 +08:00
2e3fc3d7b6
feat(reset.scss): add new CSS reset file to reset default styles and improve cross-browser consistency
Sped0n
2023-10-29 22:10:02 +08:00
ca4f2d2902
feat(scss): add core base styles
Sped0n
2023-10-29 22:09:36 +08:00
f3b5642f16
chore(eslint): update eslint configuration to include recommended rules and plugins
Sped0n
2023-10-29 22:08:26 +08:00
2025a57ae4
fix(customCursor.ts): fix variable declaration and initialization for cursor and cursorInner to improve code readability and maintainability feat(customCursor.ts): add support for setting custom text for cursorInner to display different cursor text fix(stage.ts): fix variable declaration and initialization for imgs, last, cordHist, isOpen, isAnimating, and active to improve code readability and maintainability feat(stage.ts): add support for minimizing image and initialize stage with image JSON data fix(stageNav.ts): fix variable declaration and initialization for navItems to improve code readability and maintainability feat(stageNav.ts): add support for handling click and key events for stage navigation fix(nav.ts): fix variable declaration and initialization for thresholdDiv and indexDispNums to improve code readability and maintainability feat(nav.ts): initialize nav and update threshold text
Sped0n
2023-10-29 15:09:10 +08:00
6848e413ca
chore(utils.ts): add custom helpers and types for better code organization and reusability
Sped0n
2023-10-29 14:54:52 +08:00
a60ff94c7c
feat(customCursor.ts): add custom cursor functionality to improve user experience feat(stage.ts): implement stage functionality to display images and handle mouse events feat(stageNav.ts): add stage navigation functionality to navigate between images and close the stage fix(main.ts): fix import paths for customCursor, stage, and stageNav modules
Sped0n
2023-10-29 14:52:43 +08:00
b1303970da
# # <type><package>: <subject> {needed} # # <body> {optional} # # <footer> {optional} # # example: # feat(login): implementation login api function # # finished login module and integration with server login api # # <Type> # feat: new feature # fix: bug fix # docs: docs only changes # style: style changes # refactor: feature refactor # perf: performance optimize # test: test related changes # build: build related changes # ci: ci related changes # chore: changes not related to src or test files # revert: reverts a previous commit # # <Subject> # describe all major changes briefly # # <Body> # detailed info on major changes #
Sped0n
2023-10-29 12:50:14 +08:00
bb9870176f
refactor(stage.ts): rename class 'watchable' to 'Watchable' for consistency and clarity feat(utils.ts): add Watchable class to provide a generic watchable object with getter, setter, and watcher functionality
Sped0n
2023-10-29 12:31:48 +08:00
d7cabdb894
chore(tsconfig.json): add "moduleResolution" property with value "node" to improve module resolution in the project configuration
Sped0n
2023-10-29 12:30:25 +08:00
60c8148f56
chore: add helvetica now font
Sped0n
2023-10-29 12:29:51 +08:00
6d3a9f2e7d
chore(package.json): add prettier-plugin-go-template as a dev dependency to enable formatting of Go templates with Prettier
Sped0n
2023-10-29 12:29:24 +08:00
e93bca55d5
refactor(customCursor.ts): rename addActiveCallback to active.addWatcher for better readability and consistency refactor(stageNav.ts): rename getIsAnimating to isAnimating.get for better readability and consistency refactor(stageNav.ts): rename addActiveCallback to active.addWatcher for better readability and consistency feat(stageNav.ts): add check for isOpen.get() and isAnimating.get() before handling key events to prevent unwanted actions
Sped0n
2023-10-29 02:42:04 +08:00
817b543ee0
refactor(stage.ts): change cordHist, isOpen, isAnimating, and active variables to instances of the watchable class to improve semantics and encapsulation
Sped0n
2023-10-29 02:41:37 +08:00
a07b7bc1a0
fix(index.html): fix doctype declaration to use lowercase 'doctype' for HTML5 compliance fix(index.html): fix meta tag indentation for better readability fix(index.html): fix indentation of head and body tags for better readability fix(index.html): fix indentation of header, main, and footer sections for better readability fix(index.html): fix indentation of script tag for better readability fix(index.html): fix indentation of closing div tag for better readability fix(index.html): fix indentation of closing body and html tags for better readability feat(index.html): add partial for navigation bar to improve website navigation fix(head.html): fix indentation of esBuildOpts variable for better readability fix(head.html): fix indentation of script tag for better readability feat(nav.html): add navigation bar partial to improve website navigation
Sped0n
2023-10-29 00:59:26 +08:00
d32d5b5e4f
fix(main.ts): import correct functions from utils module feat(stage.ts): implement stage navigation functionality feat(stageNav.ts): implement stage navigation overlay functionality feat(state.ts): implement state management for index and threshold feat(utils.ts): add utility functions for increment and decrement
Sped0n
2023-10-29 00:58:53 +08:00
2bc6d213ee
chore(variables.scss): update variable names and values for better readability and consistency chore(style.scss): reorganize import statements for better organization and readability
Sped0n
2023-10-29 00:58:26 +08:00
d709f9a418
chore(base.scss): improve font rendering by adding font smoothing properties to all elements feat(base.scss): add user-select: none to body to disable text selection feat(base.scss): add overscroll-behavior-y: none to html and body to disable vertical scrolling on overscroll feat(base.scss): add cursor: pointer to anchor tags and buttons for better user experience feat(font.scss): add font-face declaration for HelveticaNow font refactor(media.scss): remove unused file feat(mixins.scss): add min-width and max-width mixins for responsive design feat(reset.scss): add the new CSS reset version 1.8.4 feat(reset.scss): remove all styles from User-Agent-Stylesheet except for the display property feat(reset.scss): set box-sizing: border-box for all elements feat(reset.scss): revert cursor style for anchor tags and buttons feat(reset.scss): remove list styles (bullets/numbers) from ol, ul, and menu feat(reset.scss): set max-inline-size and max-block-size to 100% for images feat(reset.scss): set border-collapse: collapse for tables feat(reset.scss): set -webkit-user-select: auto for input and textarea to fix Safari issue feat(reset.scss): revert white-space property for textarea on Safari feat(reset.scss): set -webkit-appearance: revert for meter element feat(reset.scss): revert all styles for preformatted text feat(reset.scss): unset color for input placeholder feat(reset.scss): remove default dot sign for lists feat(reset.scss): set display: none for elements with hidden attribute feat(reset.scss): revert styles for contenteditable elements feat(reset.scss): set -webkit-user-drag: element for draggable elements feat(reset.scss): revert native behavior for modal dialogs feat(typography.scss): set line-height, font-size, and font-family for body feat(typography.scss): increase font-size for tablet and laptop breakpoints
Sped0n
2023-10-29 00:57:27 +08:00
649e17a086
chore(.prettierrc.json): update Prettier configuration to include support for go-template files and improve code formatting settings
Sped0n
2023-10-28 20:13:15 +08:00