Commit Graph

34 Commits

Author SHA1 Message Date
pluja
6decdcb4fb Refactor code for better readability. 2023-11-13 07:15:11 +01:00
pluja
d3bfef3275 Refactor initialization to init func 2023-11-13 07:14:52 +01:00
pluja
3e4b3646b3 Remove unused dependencies 2023-11-13 07:14:32 +01:00
pluja
56b6dd0817 Add icons to sections 2023-11-12 22:30:34 +01:00
pluja
25e4493631 Update user agent handling 2023-11-12 22:13:58 +01:00
pluja
c91f0b4613 Add handling for nil TosHighlights in ComputeScore function 2023-11-12 22:13:41 +01:00
pluja
68a31df2e8 🔥 refactor(handlers_web.go): remove commented out code related to testing and updating ToS highlights
🐛 fix(handlers_web.go): remove unused code for updating ToS highlights in the handleService function
2023-11-12 22:13:08 +01:00
pluja
2624a29624 add example.env 2023-11-12 22:07:16 +01:00
pluja
54d72fad0d large update 2023-11-12 22:06:22 +01:00
pluja
1b7717b8eb 🐛 fix(handlers_web.go): change default value of 't' query parameter to an empty string to make "all" default
🐛 fix(index.html): make 'All' filter option default
2023-11-01 10:24:51 +01:00
pluja
5e00ea8d94 🔀 refactor(service_card.html): update service card template to display different label based on service type or category
🐛 fix(service_card.html): fix missing newline at the end of the file
2023-10-31 18:00:06 +01:00
pluja
9d6bdb1341 🎨 style(request_service.html): Improve form layout and styling for better user experience
🔧 chore(request_service.html): Add JavaScript functionality to toggle category select based on type select
🐛 fix(request_service.html): Fix typo in label for "Tor Onion URL(s)"
 feat(request_service.html): Add attributes section with checkboxes for user selection
2023-10-31 17:59:52 +01:00
pluja
17d2a45633 🔧 chore(service.html): adjust section margins and image size for better layout
🔧 chore(service.html): update text size for better readability
🔧 chore(service.html): adjust link styling for better visual consistency
🔧 chore(service.html): adjust icon size for better visual balance
🔧 chore(service.html): adjust description section margin for better spacing
🔧 chore(service.html): adjust KYC level section margin for better spacing
🔧 chore(service.html): adjust attribute line spacing for better readability
🔧 chore(service.html): adjust additional info section margin for better spacing
🔧 chore(service.html): adjust ToS checker section margin for better spacing
🔧 chore(service.html): adjust ToS checker text size and opacity for better readability
🔧 chore(service.html): adjust ToS checker highlight section margin for better spacing
🔧 chore(service.html): adjust comments section margin for better spacing
🔧 chore(service.html): update Nostr Comments link to open in new tab
2023-10-31 17:59:35 +01:00
pluja
ba8680beb5 🔧 chore(service.go): add default value for category field to improve data consistency and prevent null values 2023-10-31 17:59:06 +01:00
pluja
56ce1519b2 🔧 fix(handlers_web.go): remove unused import and variable 'strconv'
 feat(handlers_web.go): add support for handling form data in 'handleRequestServicePostForm' function
🔧 fix(handlers_web.go): fix parsing and setting of form data in 'handleRequestServicePostForm' function
2023-10-31 17:58:53 +01:00
pluja
910a779f66 🔀 refactor(attributes.go): extract sorting logic into a separate method for better code organization and reusability 2023-10-31 17:58:19 +01:00
pluja
d84a7c95bf 📝 docs(.gitattributes): add .gitattributes file to exclude CSS files from language detection by Linguist 2023-10-31 17:57:49 +01:00
pluja
c1a40fc3e5 🔧 fix(attribute.html): remove commented out code for attribute title to improve code readability and maintainability
🎨 style(attribute.html): refactor attribute rating display to use emoji icons for better visual representation
2023-10-31 09:40:14 +01:00
pluja
aed76f0db3 📝 docs(attributes.go): update description of AttributeNonCustodialWallet to remove mention of decentralized exchanges
The previous description of AttributeNonCustodialWallet mentioned that non-custodial wallets are usually provided by decentralized crypto exchanges like Uniswap or Sushiswap. However, this is not always the case as non-custodial wallets can be used independently of any specific exchange. This commit updates the description to remove the mention of decentralized exchanges and provide a more accurate definition of a non-custodial wallet.
2023-10-31 09:40:03 +01:00
pluja
0e42b2ae56 🎨 style(index.html): improve styling and semantics of filter buttons and search input field
💄 style(index.html): update border color and opacity of filter buttons to improve visibility

🔧 chore(index.html): update placeholder text color and opacity of search input field for better user experience
2023-10-31 09:39:45 +01:00
pluja
99809bd979 🎨 style(service_card.html): update hover border color opacity to improve visual aesthetics 2023-10-31 09:34:13 +01:00
pluja
ffa6f8f15b 🔧 chore(service.html): reorganize and improve layout of service details section
🔧 chore(service.html): move service icons section to the bottom for better visual flow
2023-10-31 09:34:00 +01:00
pluja
c27ef88594 🎨 style(service_card.html): add max-w-md class to the anchor tag to limit its maximum width
🐛 fix(service_card.html): update href attribute to include the service name for proper routing
2023-10-31 00:05:12 +01:00
pluja
3dcc5d7dc2 🔀 refactor(service.html): rename "Points" section to "Attributes" for clarity and consistency 2023-10-31 00:04:56 +01:00
pluja
0b5559e8ae feat(attribute_line.html): add attribute_line.html component to display attribute information with different styles based on the rating value
🐛 fix(attribute_line.html): fix missing newline at the end of the file to adhere to coding conventions
2023-10-31 00:04:39 +01:00
pluja
89ba93f45c feat(attribute.html): add attribute template to display attribute details and services 2023-10-31 00:04:24 +01:00
pluja
ae8534a693 🔧 fix(handlers_web.go): fix typo in handleAttribute function name
 feat(handlers_web.go): add new route handlers for /point/:id and /attr/:id endpoints to handle attribute requests
2023-10-31 00:03:57 +01:00
pluja
0f745c1a25 🔀 refactor(attributes.go): reorganize attribute constants alphabetically for better readability and maintainability
🔀 refactor(attributes.go): update attribute titles and descriptions for improved clarity and consistency
2023-10-31 00:03:40 +01:00
pluja
c35f8dc307 🐛 fix(database.go): use strings.Join to concatenate attributes with a comma separator for better readability and maintainability in AddFakeData function 2023-10-30 23:33:14 +01:00
pluja
40a8331d40 🔧 fix(service.go): change field type of "attributes" from string slice to string to match the expected data type
🔧 fix(handlers_web.go): add logic to retrieve attributes from the service and pass them to the template for rendering
2023-10-30 23:33:03 +01:00
pluja
37c5541ae8 🐛 fix(attributes.go): change AttributeRating constants from string to int to improve type safety and semantics
 feat(attributes.go): refactor ServiceAttributes map to use AttributeMap struct for better organization and readability
2023-10-30 23:32:31 +01:00
pluja
278c3c1bf7 🔧 fix(point.html): update variable name from .Type to .Rating to reflect the correct attribute being compared
🔧 fix(service.html): update range variable from .Points to .Attributes to correctly iterate over the list of attributes
2023-10-30 23:32:11 +01:00
pluja
ccc30ffa0e revert changes 2023-10-30 22:42:11 +01:00
pluja
b8564a4af7 initial commit 2023-10-30 22:41:30 +01:00