Add page based seo#85
Merged
Merged
Conversation
…ta and integrate into cube detail page
…de sitemap reference
- Deleted several unused image files including CubeIndex pixel art and default profile images to clean up the assets. - Introduced a new logo in WebP format and a new version of the "we want you" image for updated branding.
- Changed the property attribute to name in the description meta tag to align with HTML5 standards, enhancing search engine optimization.
- Replaced the CubeIndex pixel art logo with a new WebP format logo across the footer, navbar, and about page for improved performance and visual consistency. - Updated the "we want you" image filename for better clarity and organization.
… in dbTableTypes - Added CubesModelFeatures interface to define structure for cube model features, including primary key, slug, feature code, and timestamps. - Introduced UserCubeRatings interface to capture user ratings for cubes, including rating value, optional comments, and timestamps for creation and updates. - Updated relevant components to import types from dbTableTypes for improved type consistency.
- Added import for Clash Display font in app.css and updated font variable to "ClashDisplay-Semibold". - Enhanced app.html by updating favicon references and adding multiple apple-touch-startup-image links for improved mobile support. - Replaced the legendary cube image with a WebP format for better performance. - Removed outdated image files and added new icons and splash images for improved branding and user experience. - Introduced new Clash Display font files in various formats for better compatibility.
- Added netlify.toml for deployment configuration and redirects. - Updated .gitignore to exclude dev-dist directory. - Introduced PWA functionality with @vite-pwa/sveltekit for improved offline capabilities. - Implemented reloadPrompt component to notify users of new content availability and offline readiness. - Enhanced tsconfig.json to include types for PWA client and info. - Updated vite.config.ts to configure PWA settings and manifest details.
- Updated image sources in various components to utilize Cloudinary for optimized loading and format conversion. - Implemented eager loading for avatar and cube images to improve performance. - Adjusted app.html to preload Font Awesome styles for faster rendering and added a noscript fallback for better accessibility.
…ance - Added width, height, and fetchpriority attributes to the CubeIndex logo in both footer and navbar components to optimize loading and improve rendering efficiency.
- Added preconnect links for Umami and Supabase to improve resource loading times and overall performance of the application.
- Added Cache-Control headers to various load functions across public routes to enhance caching strategies and optimize resource loading times.
- Added a preload link for cube images to improve loading performance.
- Updated structured data script to use {@html} for better rendering.
- Set fetchpriority to high for cube images to optimize loading efficiency.
- Added disallow rules for /staff/, /api/, and /user/settings/ to prevent search engines from indexing sensitive areas of the site.
- Implemented dynamic page titles across various routes, including login, signup, reset password, user profiles, achievements, and more, to enhance search engine optimization and provide clearer context for users.
- Changed image source paths in app.html to ensure they are correctly referenced with leading slashes, improving accessibility and resource loading for icons and splash images.
- Implemented dynamic SVG to PNG conversion for user and cube profile images using Satori and Resvg. - Integrated data fetching from Supabase to populate profile and cube metrics. - Added support for custom fonts and color formatting using Culori. - Created new API routes for generating Open Graph images for user and cube profiles.
- Changed error handling in the user ratings loading function to throw an error instead of logging it, ensuring better visibility of issues during data fetching. - Reformatted the select statement for clarity.
…tadata - Implemented a detailed loading function for cube data, including average ratings, shop availability, and ownership statistics. - Added a description builder for improved SEO and user engagement, ensuring concise and informative summaries of cube features. - Updated the Svelte component to utilize server-provided metadata for Open Graph and canonical links, enhancing social sharing and search visibility. - Improved image preloading strategy for better performance and user experience.
- Implemented a comprehensive loading function for user profiles, including follower and following counts, cubes, and achievements. - Added a description builder for improved SEO, generating concise summaries for user profiles. - Updated the Svelte component to utilize server-provided metadata for Open Graph and canonical links, enhancing social sharing and search visibility. - Included image preloading for user avatars to improve performance and user experience.
…onent - Temporarily commented out the offline readiness message in the reload prompt Svelte component for further review and potential redesign. - Maintained the structure of the component to ensure future updates can easily reintegrate the message.
✅ Deploy Preview for cubeindexbeta ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Added registration type and injection settings for the PWA to enhance offline capabilities. - Integrated service worker registration in the layout component for immediate activation.
…dling - Removed redundant server-provided metadata handling for canonical URLs and Open Graph images in the cube detail Svelte component. - Updated image source to utilize a new preload image variable for improved performance.
- Changed the language attribute in app.html from a dynamic placeholder to a static value of "en" for improved clarity and consistency in HTML structure.
… metadata - Refactored the loading function for cube details to streamline data fetching, including user ratings, vendor links, and related cubes. - Integrated a new JSON-LD structure for better SEO and social sharing capabilities. - Updated the Svelte component to utilize derived states for features and improved error handling for data fetching. - Removed the now outdated +page.ts file to simplify the codebase and enhance maintainability.
…arameters for URL handling
…nce image preloading
- Replaced the existing +page.server.ts files with a new +page.ts file to streamline user data fetching for cubes and achievements. - Updated the user achievements component to simplify the display logic and removed unnecessary variables. - Optimized image loading in the user profile layout by changing the image source format. - Removed outdated server files to clean up the codebase and improve maintainability.
…EO optimization - Added a new layout for user profiles that fetches user data, including profile details and statistics. - Implemented functions to build a concise profile description for improved SEO. - Integrated error handling for data fetching and set appropriate meta tags for better social sharing. - Introduced avatar preloading to enhance user experience.
- Deleted the test file for the page component as it is no longer needed. - Cleaned up the codebase by removing unnecessary test cases.
…odebase - Deleted the configCatClient and FeatureDisabled component imports from various pages to streamline the code. - Removed feature availability checks from explore pages, simplifying the rendering logic. - Cleaned up unused variables and imports to enhance maintainability and readability of the codebase.
…ptimization - Introduced a new page for cube details that fetches extensive data including user ratings, vendor links, and related cubes. - Implemented a function to generate a concise cube description for improved SEO. - Enhanced error handling for data fetching and set appropriate meta tags for better social sharing. - Included preloading for images to optimize loading performance.
…tion - Implemented a new server-side function to dynamically generate the sitemap based on public routes, improving SEO and site indexing. - Updated `.env.example` to include a new `PUBLIC_SITE_URL` variable for better configuration management. - Modified `netlify.toml` to set up a redirect for the sitemap to the new server function. - Enhanced the README to reflect the new environment variable requirements.
- Consolidated multiple database queries into Promise.all for improved performance and reduced response time in the cube and user API routes. - Enhanced error handling for data fetching to ensure clearer responses in case of failures. - Streamlined the code by removing redundant query calls, improving maintainability and readability.
…evements pages - Eliminated the configCatClient and FeatureDisabled component imports from login, signup, and achievements pages to streamline the code. - Removed feature availability checks, simplifying the rendering logic and enhancing maintainability. - Cleaned up unused variables and imports across the affected files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds page based seo and og image for cube details page and profile page, (tries to) improve performance, makes every page discoverable by search engines, and makes general improvements...