Commit graph

153 commits

Author SHA1 Message Date
Emil Gulamov
f98deb7535 Update Content-Security-Policy in vercel.json
Added 'unsafe-eval' to the script-src directive in Content-Security-Policy header. This allows the use of eval() and similar methods for JavaScript within the project's scope. However, be aware that this might increase the risk of cross-site scripting attacks.
2024-03-20 08:52:21 +04:00
Emil Gulamov
1e171a0995 Remove Starlight Tailwind plugin 2024-03-20 07:54:52 +04:00
Emil Gulamov
f6d71d98fc Add Starlight documentation
Added Starlight to the project for improved documentation capabilities, including internalization support and enhanced styling. This will provide a more streamlined and user-friendly experience for users accessing documentation across different languages and platforms.
2024-03-20 07:46:14 +04:00
Emil Gulamov
317c56ff29 Remove ESLint and related dependencies
Company policies have changed so our workflow should reflect that. Therefore, ESLint and related dependencies were removed along with corresponding sections in package.json, package-lock.json and GitHub Actions workflow.
2024-03-19 18:25:04 +04:00
Emil Gulamov
4d824fa403 Replace PNPM with NPM in GitHub Actions workflow 2024-03-19 18:14:27 +04:00
Emil Gulamov
02a4101ae2 Replace PNPM with NPM in GitHub Actions workflow 2024-03-19 17:39:07 +04:00
Emil Gulamov
cebc5deed6 Update PNPM version in GitHub Actions workflow
Modified the GitHub Actions workflow to use a specific version of PNPM. This can ensure a consistent environment for the setup and execution of necessary tools and
2024-03-19 17:33:39 +04:00
Emil Gulamov
2b518f5773 Merge remote-tracking branch 'origin/main' 2024-03-19 17:22:28 +04:00
Emil Gulamov
400022bd8d Add GitHub Actions for tool setup and code quality checks
Introduced new GitHub Actions workflows for installing necessary tools (PNPM, Node.js) and dependencies. Also added jobs to perform code quality checks using Astro and ESLint to ensure code quality and standards.
2024-03-19 17:22:09 +04:00
Emil Gulamov
082c32f825
Merge pull request #14 from mearashadowfax/dependabot/npm_and_yarn/astro-4.5.6
Bump astro from 4.5.3 to 4.5.6
2024-03-18 21:46:58 +04:00
dependabot[bot]
a8fcae09fb
Bump astro from 4.5.3 to 4.5.6
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.5.3 to 4.5.6.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@4.5.6/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 17:18:17 +00:00
Emil Gulamov
87cf339241 Remove astro-critters package and update astro.config.mjs
The astro-critters package has been removed resulting in updates in the astro.config.mjs, package.json and package-lock.json files. The code in astro.config.mjs has been reformatted for better readability.
2024-03-17 17:37:30 +04:00
Emil Gulamov
5f2ccf2243 Merge remote-tracking branch 'origin/main' 2024-03-17 17:26:52 +04:00
Emil Gulamov
e0cec536e7 Update astro.config.mjs and add astro-critters package
Added the astro-critters package to improve critical CSS inlining and prioritization. This update involves changes to both the astro.config.mjs to import the package and set it up for integration, and package.json along with package-lock.json to add the package.
2024-03-17 17:25:44 +04:00
Emil Gulamov
27aedef96d
Update README.md 2024-03-17 08:54:24 +04:00
Emil Gulamov
8e3bd5b87c
Update README.md 2024-03-17 04:30:38 +00:00
Emil Gulamov
991ec9a909 Add new PostFeedback and SocialShare components
Created the 'PostFeedback.astro' and 'SocialShare.astro' component files to enrich the UI interface. The PostFeedback component renders a user feedback section with a title and two responsive buttons. Whereas, the SocialShare component provides users with hyperlinks to popular social media platforms - it also enables copy-pasting of current page links using the ClipboardJS utility function and dropdown functionality from the Preline plugin.
2024-03-17 08:05:52 +04:00
Emil Gulamov
b4f128b6e2 Add Bookmark button functionality and update blog post layout
This commit introduces a new Bookmark button component along with its corresponding functionality using localStorage. It also updates the blog post layout by adding the Bookmark button, SocialShare, and PostFeedback components as well as restructuring the post tags section for better UI.
2024-03-17 08:04:59 +04:00
Emil Gulamov
ed6d643023 Update package dependencies and enhance accessibility
This commit updates the versions for several package dependencies in the `package.json` and `package-lock.json` files. Additionally, it adds the "gsap" package to the dependencies list. The commit also introduces ARIA roles to the "AnnouncementBanner.astro" component for improved accessibility. These labels help assistive technology, like screen readers, interpret the banner's purpose and information.
2024-03-14 17:08:46 +04:00
Emil Gulamov
3c4ce677c3 Add "eager" loading to images in TabContent and TestimonialItem
Added "eager" loading attribute to the image tags in two Astro components: TabContent and TestimonialItem. This optimization allows images to load immediately as soon as the page starts loading, improving the user's visual experience when first accessing the page.
2024-03-11 22:09:59 +04:00
Emil Gulamov
133b9e64a8
Merge pull request #8 from mearashadowfax/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.12
Bump prettier-plugin-tailwindcss from 0.5.11 to 0.5.12
2024-03-11 21:25:51 +04:00
Emil Gulamov
4499eee479
Merge pull request #11 from mearashadowfax/dependabot/npm_and_yarn/typescript-5.4.2
Bump typescript from 5.3.3 to 5.4.2
2024-03-11 21:25:22 +04:00
Emil Gulamov
33f667cd55 Update @astrojs/check, @astrojs/vercel and astro packages versions
Updated the versions of @astrojs/check, @astrojs/vercel and astro packages in package.json and package-lock.json. Also enabled the directRenderScript experimental feature in astro.config.mjs. Refactored navigation link active class logic in NavLink.astro to use 'DOMContentLoaded' event for better performance.
2024-03-11 21:22:51 +04:00
dependabot[bot]
8cc4084bed
Bump typescript from 5.3.3 to 5.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 17:21:25 +00:00
dependabot[bot]
f83025ecb4
Bump prettier-plugin-tailwindcss from 0.5.11 to 0.5.12
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.11 to 0.5.12.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.11...v0.5.12)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 17:20:06 +00:00
Emil Gulamov
a338bfbf71 @astrojs/vercel and astro package versions
The versions of @astrojs/vercel and astro packages in package.json are upgraded. This change was necessary to utilize the latest features and improvements provided by these updated versions.
2024-03-10 00:09:16 +04:00
Emil Gulamov
a05415e1c0 @astrojs/vercel and astro package versions
The versions of @astrojs/vercel and astro packages in package.json are upgraded. This change was necessary to utilize the latest features and improvements provided by these updated versions.
2024-03-10 00:08:52 +04:00
Emil Gulamov
1ab6b250fa Correct dark mode brightness for banner button
The CSS class associated with the button in the AnnouncementBanner component has been modified. Specifically, the backdrop brightness in dark mode has been updated to ensure better visibility and user experience. This change takes into consideration users who prefer dark themed interfaces.
2024-03-07 17:30:14 +04:00
Emil Gulamov
845c972565 Merge remote-tracking branch 'origin/main' 2024-03-07 02:05:28 +04:00
Emil Gulamov
e95dd9987a Update button title and make banner title optional
The button title on the main page has been changed to "Explore ScrewFast on GitHub". Also, the title for AnnouncementBanner is now optional, enabling use of the banner without a predefined title, increasing its reusability. The CSS styles have also been updated to accommodate these changes.
2024-03-07 02:05:02 +04:00
Emil Gulamov
b4c0b290c3
Merge pull request #7 from mearashadowfax/dependabot/npm_and_yarn/astro-4.4.10
Bump astro from 4.4.5 to 4.4.10
2024-03-04 21:51:42 +04:00
dependabot[bot]
6c0aeab9a6
Bump astro from 4.4.5 to 4.4.10
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.4.5 to 4.4.10.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@4.4.10/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 17:50:30 +00:00
Emil Gulamov
6edea738fa Add ReviewComponent and refactor HeroSection
The HeroSection component code has been refactored to include a whole new block component called ReviewComponent, which contains code for presenting avatars, review ratings, and the number of reviews previously contained within HeroSection alone. This enhances code modularity. Now, HeroSection simply imports and utilizes ReviewComponent when needed, making the code more concise and easier to manage.
2024-02-27 06:15:35 +04:00
Emil Gulamov
93fd511a97
Merge pull request #3 from mearashadowfax/dependabot/npm_and_yarn/astrojs/vercel-7.3.4
Bump @astrojs/vercel from 7.3.1 to 7.3.4
2024-02-26 22:19:50 +04:00
Emil Gulamov
f511b63cba
Merge pull request #4 from mearashadowfax/dependabot/npm_and_yarn/astrojs/sitemap-3.1.1
Bump @astrojs/sitemap from 3.0.5 to 3.1.1
2024-02-26 22:19:31 +04:00
dependabot[bot]
3cb8c4f054
Bump @astrojs/sitemap from 3.0.5 to 3.1.1
Bumps [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap) from 3.0.5 to 3.1.1.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/sitemap@3.1.1/packages/integrations/sitemap)

---
updated-dependencies:
- dependency-name: "@astrojs/sitemap"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 18:18:04 +00:00
dependabot[bot]
2c5d1beced
Bump @astrojs/vercel from 7.3.1 to 7.3.4
Bumps [@astrojs/vercel](https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel) from 7.3.1 to 7.3.4.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/vercel/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/vercel@7.3.4/packages/integrations/vercel)

---
updated-dependencies:
- dependency-name: "@astrojs/vercel"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 18:17:26 +00:00
Emil Gulamov
a6f482f8f5
Merge pull request #5 from mearashadowfax/dependabot/npm_and_yarn/astro-4.4.5
Bump astro from 4.4.0 to 4.4.5
2024-02-26 22:16:26 +04:00
Emil Gulamov
83568a99db
Merge pull request #6 from mearashadowfax/dependabot/npm_and_yarn/astrojs/check-0.5.6
Bump @astrojs/check from 0.5.4 to 0.5.6
2024-02-26 22:16:11 +04:00
dependabot[bot]
fb10272cd5
Bump @astrojs/check from 0.5.4 to 0.5.6
Bumps [@astrojs/check](https://github.com/withastro/language-tools/tree/HEAD/packages/astro-check) from 0.5.4 to 0.5.6.
- [Release notes](https://github.com/withastro/language-tools/releases)
- [Changelog](https://github.com/withastro/language-tools/blob/main/packages/astro-check/CHANGELOG.md)
- [Commits](https://github.com/withastro/language-tools/commits/@astrojs/check@0.5.6/packages/astro-check)

---
updated-dependencies:
- dependency-name: "@astrojs/check"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 17:10:53 +00:00
dependabot[bot]
70dffb5cd9
Bump astro from 4.4.0 to 4.4.5
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.4.0 to 4.4.5.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@4.4.5/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 17:10:26 +00:00
Emil Gulamov
7809c7857d
Update README.md 2024-02-25 02:42:55 -08:00
Emil Gulamov
32e163e9b5 Update color scheme in AnnouncementBanner component
Color scheme for the text and hover effect within the 'AnnouncementBanner' component has been updated for better visibility and user interface aesthetics. The changes predominantly involve the adjustment of 'text-neutral' and 'text-neutral-hover' classes in the Astro component file. These changes are expected to greatly enhance user readability and overall UI experience.
2024-02-25 03:46:27 +04:00
Emil Gulamov
4bd23d612e Move 'banner-pattern.svg' asset to public directory
The 'banner-pattern.svg' asset has been moved from the 'src/images' directory to the 'public' directory. References to this asset have been updated accordingly in 'AnnouncementBanner.astro'. The move facilitates more efficient asset management and ensures correct file referencing.
2024-02-25 00:07:34 +04:00
Emil Gulamov
b422d079fb Refactor event handlers to remove unused event parameter
In several areas of the code, event handlers had an unused event parameter. This change removes these unused parameters to improve the code's readability and maintainability. Specifically, the changes were made in the "Navbar.astro", "[...slug].astro", and "services.astro" components.
2024-02-24 23:59:08 +04:00
Emil Gulamov
bdfe5a4539 Remove 'bannerId' property from AnnouncementBanner
The 'bannerId' property has been removed from the AnnouncementBanner component as it is unneeded. This change has been reflected in both the component definition and places where the component is used, resulting in cleaner and more maintainable code.
2024-02-24 23:49:56 +04:00
Emil Gulamov
0d2c92052b Add new Announcement Banner component
Implemented a new Announcement Banner component on the main page. This banner features a dismiss button and is customizable with dynamic properties for title, bannerId, button Id, button title, and URL. Also, added a new SVG file for the banner's background pattern.
2024-02-24 23:39:00 +04:00
Emil Gulamov
f81a5542dd "Add example URL in blog page comments"
Included a comment in the '[...slug].astro' file within the src/pages/blog directory. This comment includes a URL providing an example of a more refined approach to choosing related blog posts.
2024-02-24 05:48:44 +04:00
Emil Gulamov
899cdd6cad Merge remote-tracking branch 'origin/main' 2024-02-23 20:56:25 +04:00
Emil Gulamov
8e6f720f75 Fix missing closing tag in Navbar
Fixed an issue where the NavLink component in the Navbar.astro file was not correctly closed.
2024-02-23 20:55:36 +04:00