textures1245 / csmju-comcamp-22nd-promote

ComCamp 22nd for Computer Science Maejo University promote project.
https://comcamp.csmju.com/
0 stars 1 forks source link

Add meta tags, Google Analytics and static adapter to build a static webpage #3

Closed moking55 closed 10 months ago

moking55 commented 10 months ago

This pull request adds the following changes to the project:

  1. Meta tags to the app.html file
  2. The @sveltejs/adapter-static package to build a static webpage
  3. Adding @beyonk/svelte-google-analytics to use the Google Analytics

Here is a more detailed description of each change:

Meta tags are used to provide information about a webpage to search engines and other web applications. I have added the following meta tags to index.html

<meta name="title" content="โครงการค่ายยุวชนคอมพิวเตอร์ครั้งที่ 22 มหาวิทยาลัยแม่โจ้" />
<meta name="description" content="โครงการค่ายยุวชนคอมพิวเตอร์ครั้งที่ 22 มหาวิทยาลัยแม่โจ้ กลับมาแล้ว! กับกิจกรรมสุดมันส์และความรู้แน่นๆ ที่จะพาน้องๆ ไปเรียนรู้เกี่ยวกับเทคโนโลยีและนวัตกรรมใหม่ๆในปัจจุบัน" />

These meta tags will help search engines to better understand and index our webpage

Adding the @sveltejs/adapter-static package:

The @sveltejs/adapter-static package is a SvelteKit adapter that can be used to build static webpages. I have added this package to the project and configured it to build a static webpage in the build directory.

Adding @beyonk/svelte-google-analytics to use the Google Analytics: This will allow us to track website traffic and learn more about how users are interacting with our website.

I have also added the following line to .env:

VITE_GA_ID=[google analytic id]
vercel[bot] commented 10 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @textures1245 on Vercel.

@textures1245 first needs to authorize it.

textures1245 commented 10 months ago

Thank you for your pull request. The changes you made are very valuable for our project.

I have noticed the changes you made to the information it needs for search engines which helps us track website traffic and learn more about how users interact with our website.

I have reviewed your pull request and I will merge your changes into the project.

In the future, when you have made a pull request. Please pull requests from the prototype branch instead of the main branch. This will help to prevent accidental auto-deployments. I will update the prototype branch to the latest version for you to pull requests next time, And I will review pull requests from the "prototype" branch and then merge them into the main branch when they are ready to be deployed to production.

Again, thank you for your help.