Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating OgImage and adding meta tags for Home page #31

Open
opdev1004 opened this issue Oct 10, 2024 · 4 comments
Open

Creating OgImage and adding meta tags for Home page #31

opdev1004 opened this issue Oct 10, 2024 · 4 comments

Comments

@opdev1004
Copy link
Contributor

opdev1004 commented Oct 10, 2024

Since we added the SEO plugin, now we can gennerate our own Ogimage from Vue component or use default one from Nuxt SEO, Nuxt and other community's preset. I think we still needs to use useSeoMeta from Nuxt.

Example of default OG image:
example

defineOgImageComponent("NuxtSeo", {
  title: "Redot Engine",
  description: "Open‑source Multi-platform 2D and 3D game engine for everyone",
  theme: "#FF6E01",
  colorMode: "dark",
});

useSeoMeta({
  title: "Redot Engine, game engine for everyone",
  ogTitle: "Redot Engine, game engine for everyone",
  description: "Open‑source Multi-platform 2D and 3D game engine",
  ogDescription: "Open‑source Multi-platform 2D and 3D game engine",
});

So I or anyone can add this but I want to confirm about content of these meta tag data.

If I do this I may setup for blog posts as well.

@opdev1004
Copy link
Contributor Author

opdev1004 commented Oct 10, 2024

#32 will do basic setting.

defineOgImageComponent("RedotOG", {
  title: "Redot Engine",
  description: "Open‑source Multi-platform 2D and 3D game engine for everyone",
  imageUrl: "",
  backgroundColor: "#000000",
  brandColor: "#FF6E01",
});

useSeoMeta({
  title: "Redot Engine, game engine for everyone",
  ogTitle: "Redot Engine, game engine for everyone",
  description: "Open‑source Multi-platform 2D and 3D game engine",
  ogDescription: "Open‑source Multi-platform 2D and 3D game engine",
});

@reflexguru
Copy link
Collaborator

i'm currently working on banners in figma. check the "social banners" page.

example, not final:
image

@opdev1004
Copy link
Contributor Author

maybe just adding an image better

@opdev1004
Copy link
Contributor Author

opdev1004 commented Oct 11, 2024

I'll create a pull request after the OG image is added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants