Commit index.html + add OG embedding tags

This commit is contained in:
Xevion
2022-04-06 01:51:09 -05:00
parent 6a1943c372
commit b79ef8c0b1
3 changed files with 35 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1,7 +1,6 @@
node_modules
.DS_Store
*.local
index.html
.remote-assets
components.d.ts
.idea

View File

@@ -12,4 +12,17 @@ To start the slide show:
- `yarn run dev`
- Visit `http://localhost:3030`
Edit the [slides.md](./slides.md) to see the changes.
Edit the [slides.md](./slides.md) to see the changes.
## OpenGraph Meta Tags
Since I can't quite figure out how to get `slidev` to add these automatically, I'll just copy them in and upload them
like that since it's literally almost 2AM and I need to wake up early. 😳
```html
<meta property="og:type" content="website">
<meta property="og:title" content="elect.xevion.dev">
<meta property="og:url" content="https://elect.xevion.dev">
<meta property="og:image" content="https://elect.xevion.dev/banner.png">
<meta property="og:description" content="My election presentation for the role of Projects Officer at UTSA ACM's 2022 Officer Election">
```

21
docs/index.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png">
<meta property="og:type" content="website">
<meta property="og:title" content="elect.xevion.dev">
<meta property="og:url" content="https://elect.xevion.dev">
<meta property="og:image" content="https://elect.xevion.dev/banner.png">
<meta property="og:description" content="My election presentation for the role of Projects Officer at UTSA ACM's 2022 Officer Election">
<script type="module" crossorigin src="/assets/index.b5f88166.js"></script>
<link rel="stylesheet" href="/assets/index.c08c73ae.css">
</head>
<body>
<div id="app"></div>
</body>
</html>