Skip to content

Commit 53f0e90

Browse files
committed
initial commit
0 parents  commit 53f0e90

13 files changed

+6757
-0
lines changed

.github/workflows/deploy.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Sample workflow for building and deploying a VitePress site to GitHub Pages
2+
#
3+
name: Deploy VitePress site to Pages
4+
5+
on:
6+
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
7+
# using the `master` branch as the default branch.
8+
push:
9+
branches:
10+
- main
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
21+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
22+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
23+
concurrency:
24+
group: pages
25+
cancel-in-progress: false
26+
27+
jobs:
28+
# Build job
29+
build:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
with:
35+
fetch-depth: 0 # Not needed if lastUpdated is not enabled
36+
- uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
37+
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
38+
- name: Setup Node
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: 20
42+
cache: pnpm # or pnpm / yarn
43+
- name: Setup Pages
44+
uses: actions/configure-pages@v4
45+
- name: Install dependencies
46+
run: pnpm install # or pnpm install / yarn install / bun install
47+
- name: Build with Slidev
48+
run: pnpm build
49+
- name: Upload artifact
50+
uses: actions/upload-pages-artifact@v3
51+
with:
52+
path: dist
53+
54+
# Deployment job
55+
deploy:
56+
environment:
57+
name: github-pages
58+
url: ${{ steps.deployment.outputs.page_url }}
59+
needs: build
60+
runs-on: ubuntu-latest
61+
name: Deploy
62+
steps:
63+
- name: Deploy to GitHub Pages
64+
id: deployment
65+
uses: actions/deploy-pages@v4

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.log
2+
node_modules
3+
*-export*
4+
dist
5+
.DS_Store

.prettierrc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"trailingComma": "es5",
5+
"printWidth": 120,
6+
"overrides": [
7+
{
8+
"files": ["*.md"],
9+
"options": {
10+
"parser": "slidev",
11+
"plugins": ["prettier-plugin-slidev"]
12+
}
13+
}
14+
]
15+
}

README.md

Whitespace-only changes.

components/nyulogo.vue

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<script setup>
2+
const props = defineProps({
3+
color: {
4+
default: 'fill-black',
5+
},
6+
color2: {
7+
default: 'fill-white',
8+
},
9+
})
10+
</script>
11+
<template>
12+
<svg
13+
id="Layer_1"
14+
data-name="Layer 1"
15+
xmlns="http://www.w3.org/2000/svg"
16+
viewBox="0 0 419.73 72"
17+
style="z-index: 10; width: 225px"
18+
>
19+
<rect :class="color2 + ' cls_2'" x="9.44" y="8" width="47.19" height="58.99" />
20+
<g>
21+
<path
22+
:class="color + ' cls_1'"
23+
d="M72,72H0V0h72v72h0ZM33.5,63.58c.09.5,1.18.75,1.42,0l2.52-19.94h-6.11l2.18,19.94h0ZM39.58,42.19v-3.02h-10.39v3.02h10.39ZM36.59,37.7c13.17.47,14.1-11.53,14.16-16.02,0-.26-.13-.29-.2-.11-.38.94-2.1,4.29-6.85,6.32-4.24,1.82-6.79,5.95-7.23,9.67-.03.09.05.13.12.14ZM35.13,36.83c2.09-10,10.22-10.24,10.95-12.14,1.14-2.96-.94-8.21-1.47-8.83-.05-.07-.12-.03-.15.03-1.11,2.43-2.9,4.73-4.21,5.79-1.84,1.49-8.91,6.73-5.29,15.16.05.1.14.09.17,0ZM33.7,37.23c-4.42-9.43,4.41-15.52,5.85-16.84.21-.19.15-.36.16-.57,0-2.96-1.7-7.77-2.25-8.45-.08-.11-.15-.06-.18.04-.76,2.93-4.78,7.29-5.58,8.24-6.82,8.09-5.26,13.03,1.85,17.68.09.05.2,0,.15-.11ZM31.72,37.55c-7.38-4.41-6.64-10.69-3.58-15.31.07-.1.09-.26.07-.45-.13-1.1-1.32-3.88-1.82-4.63-.13-.2-.24-.18-.25-.05-.04,1.26-1.48,4.41-3.66,8.04-2.33,3.87-2.34,12.25,9.23,12.57.1,0,.14-.1.03-.17Z"
24+
/>
25+
<g>
26+
<polygon
27+
:class="color + ' cls_1'"
28+
points="90.19 27.87 93.48 27.87 101.09 37.88 101.09 27.87 104.63 27.87 104.63 44.12 101.58 44.12 93.71 33.79 93.71 44.12 90.19 44.12 90.19 27.87 90.19 27.87"
29+
/>
30+
<polygon
31+
:class="color + ' cls_1'"
32+
points="110.84 27.87 123.11 27.87 123.11 31.05 114.4 31.05 114.4 34.35 122.06 34.35 122.06 37.53 114.4 37.53 114.4 40.94 123.22 40.94 123.22 44.12 110.84 44.12 110.84 27.87 110.84 27.87"
33+
/>
34+
<polygon
35+
:class="color + ' cls_1'"
36+
points="127.47 27.87 131.3 27.87 134.66 38.88 138.31 27.82 141.38 27.82 145.02 38.88 148.39 27.87 152.13 27.87 146.58 44.24 143.47 44.24 139.8 33.61 136.13 44.24 133.02 44.24 127.47 27.87 127.47 27.87"
37+
/>
38+
<polygon
39+
:class="color + ' cls_1'"
40+
points="170.96 37.72 164.71 27.87 168.89 27.87 172.77 34.4 176.71 27.87 180.77 27.87 174.53 37.64 174.53 44.12 170.96 44.12 170.96 37.72 170.96 37.72"
41+
/>
42+
<path
43+
:class="color + ' cls_1'"
44+
d="M196.4,36.05v-.05c0-2.78-2.04-5.1-4.92-5.1s-4.88,2.27-4.88,5.05v.05c0,2.78,2.04,5.11,4.92,5.11s4.88-2.28,4.88-5.06h0ZM182.86,36.05v-.05c0-4.62,3.64-8.4,8.66-8.4s8.62,3.73,8.62,8.35v.05c0,4.62-3.65,8.41-8.66,8.41s-8.61-3.73-8.61-8.36h0Z"
45+
/>
46+
<path
47+
:class="color + ' cls_1'"
48+
d="M212.83,35.77c1.74,0,2.74-.93,2.74-2.3v-.04c0-1.53-1.07-2.32-2.81-2.32h-3.55v4.67h3.62ZM205.64,27.87h7.42c2.08,0,3.68.58,4.74,1.65.91.91,1.4,2.18,1.4,3.71v.05c0,2.63-1.42,4.27-3.48,5.04l3.96,5.8h-4.16l-3.49-5.2h-2.81v5.2h-3.58v-16.25h0Z"
49+
/>
50+
<polygon
51+
:class="color + ' cls_1'"
52+
points="224.75 27.87 228.33 27.87 228.33 34.98 234.92 27.87 239.23 27.87 232.62 34.77 239.53 44.12 235.24 44.12 230.2 37.2 228.33 39.16 228.33 44.12 224.75 44.12 224.75 27.87 224.75 27.87"
53+
/>
54+
<path
55+
:class="color + ' cls_1'"
56+
d="M253.05,37.16v-9.29h3.58v9.19c0,2.65,1.32,4.02,3.5,4.02s3.51-1.33,3.51-3.9v-9.31h3.58v9.17c0,4.92-2.77,7.33-7.13,7.33s-7.04-2.44-7.04-7.21h0Z"
57+
/>
58+
<polygon
59+
:class="color + ' cls_1'"
60+
points="273.18 27.87 276.47 27.87 284.08 37.88 284.08 27.87 287.62 27.87 287.62 44.12 284.58 44.12 276.7 33.79 276.7 44.12 273.18 44.12 273.18 27.87 273.18 27.87"
61+
/>
62+
<polygon
63+
:class="color + ' cls_1'"
64+
points="294 27.87 297.58 27.87 297.58 44.12 294 44.12 294 27.87 294 27.87"
65+
/>
66+
<polygon
67+
:class="color + ' cls_1'"
68+
points="302.57 27.87 306.52 27.87 310.76 39.31 315.01 27.87 318.87 27.87 312.3 44.24 309.14 44.24 302.57 27.87 302.57 27.87"
69+
/>
70+
<polygon
71+
:class="color + ' cls_1'"
72+
points="323.69 27.87 335.96 27.87 335.96 31.05 327.25 31.05 327.25 34.35 334.91 34.35 334.91 37.53 327.25 37.53 327.25 40.94 336.07 40.94 336.07 44.12 323.69 44.12 323.69 27.87 323.69 27.87"
73+
/>
74+
<path
75+
:class="color + ' cls_1'"
76+
d="M348.76,35.77c1.74,0,2.73-.93,2.73-2.3v-.04c0-1.53-1.06-2.32-2.8-2.32h-3.56v4.67h3.63ZM341.57,27.87h7.43c2.07,0,3.67.58,4.73,1.65.91.91,1.39,2.18,1.39,3.71v.05c0,2.63-1.41,4.27-3.47,5.04l3.96,5.8h-4.18l-3.48-5.2h-2.82v5.2h-3.57v-16.25h0Z"
77+
/>
78+
<path
79+
:class="color + ' cls_1'"
80+
d="M359.56,41.75l2.11-2.53c1.47,1.2,3,1.98,4.86,1.98,1.45,0,2.34-.59,2.34-1.53v-.05c0-.91-.56-1.37-3.27-2.07-3.28-.83-5.39-1.74-5.39-4.97v-.04c0-2.95,2.37-4.9,5.7-4.9,2.36,0,4.38.75,6.03,2.07l-1.86,2.69c-1.44-.99-2.85-1.6-4.23-1.6s-2.09.63-2.09,1.42v.05c0,1.07.7,1.42,3.51,2.13,3.29.86,5.15,2.04,5.15,4.87v.04c0,3.23-2.46,5.05-5.97,5.05-2.46,0-4.94-.86-6.89-2.61h0Z"
81+
/>
82+
<polygon
83+
:class="color + ' cls_1'"
84+
points="378.01 27.87 381.59 27.87 381.59 44.12 378.01 44.12 378.01 27.87 378.01 27.87"
85+
/>
86+
<polygon
87+
:class="color + ' cls_1'"
88+
points="391.76 31.17 386.82 31.17 386.82 27.87 400.29 27.87 400.29 31.17 395.33 31.17 395.33 44.12 391.76 44.12 391.76 31.17 391.76 31.17"
89+
/>
90+
<polygon
91+
:class="color + ' cls_1'"
92+
points="409.92 37.72 403.68 27.87 407.85 27.87 411.73 34.4 415.67 27.87 419.73 27.87 413.49 37.64 413.49 44.12 409.92 44.12 409.92 37.72 409.92 37.72"
93+
/>
94+
</g>
95+
</g>
96+
</svg>
97+
</template>
98+
<style scoped>
99+
.cls_1,
100+
.cls_2 {
101+
stroke-width: 0px;
102+
}
103+
</style>

package.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "talk_template",
3+
"scripts": {
4+
"dev": "slidev slides.md",
5+
"build": "slidev build",
6+
"export": "slidev export --wait 1000 --per-slide --output ./slides.pdf"
7+
},
8+
"type": "module",
9+
"version": "0.0.0",
10+
"devDependencies": {
11+
"vite": "^5.3.2",
12+
"@slidev/cli": "^0.49.16"
13+
},
14+
"dependencies": {
15+
"slidev-theme-neversink": "^0.0.3"
16+
}
17+
}

0 commit comments

Comments
 (0)