Skip to content

Commit 416aeef

Browse files
committed
Initial import
0 parents  commit 416aeef

File tree

288 files changed

+71702
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+71702
-0
lines changed

.github/workflows/static.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Single deploy job since we're just deploying
26+
deploy:
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v3
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v3
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v1
38+
with:
39+
# Upload specific build target dir
40+
path: 'dist'
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v2

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules
2+
.DS_Store
3+
*.local
4+
.remote-assets
5+
components.d.ts
6+
*:Zone.Identifier
7+
archives
8+
/index.html

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/snippets/*

components/Filename.vue

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<template>
2+
<p class="fileName"><slot/></p>
3+
</template>
4+
5+
<style>
6+
.fileName {
7+
font-family: "Operator Mono SSm A", "Operator Mono SSm B", "JetBrains Mono",
8+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
9+
"Courier New", monospace !important;
10+
color: silver;
11+
font-size: 0.6rem;
12+
position: relative;
13+
top: -1rem;
14+
}
15+
</style>

components/Footnote.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<template>
2+
<footer class="footnote" :style="style">
3+
<slot />
4+
</footer>
5+
</template>

components/OurCode.vue

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<template>
2+
<span class="ourCode">In our code 😱</span>
3+
</template>
4+
5+
<style>
6+
.ourCode {
7+
position: absolute;
8+
right: 1rem;
9+
top: 1rem;
10+
padding: 0.2rem;
11+
border-radius: 0.2rem;
12+
font-size: 1rem;
13+
background: var(--docto-yellow);
14+
animation: 1s infinite alternate pulse;
15+
color: white;
16+
font-family: var(--docto-font-titles);
17+
font-weight: var(--docto-font-titles-weight);
18+
}
19+
20+
@keyframes pulse {
21+
from {
22+
transform: rotate(10deg) scale(1);
23+
opacity: 0.5;
24+
}
25+
26+
to {
27+
transform: rotate(10deg) scale(1.1);
28+
opacity: 1;
29+
}
30+
}
31+
</style>

components/SideBySide.vue

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<template>
2+
<div :class="class" style="display: flex; gap: 1rem; align-items: flex-start">
3+
<slot />
4+
</div>
5+
</template>
6+
7+
<style>
8+
.fullWidth {
9+
justify-content: space-between;
10+
}
11+
12+
.slidev-layout div > img {
13+
margin: 0;
14+
}
15+
16+
</style>

components/SmallerCode.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<div style="--slidev-code-font-size: 12.5px; --slidev-code-line-height: 20px;"><slot/></div>
3+
</template>

components/SnippetPath.vue

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<script setup>
2+
const props = defineProps({
3+
path: String
4+
})
5+
</script>
6+
<template>
7+
<p class="fileName"><a :href="`https://github.com/tdd/dotjs-esproxies/blob/main/snippets/${path}`">{{path}}</a></p>
8+
</template>
9+
10+
<style scoped>
11+
.fileName {
12+
font-family: "Operator Mono SSm A", "Operator Mono SSm B", "JetBrains Mono",
13+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
14+
"Courier New", monospace !important;
15+
color: silver;
16+
font-size: 0.6rem;
17+
position: relative;
18+
top: -1rem;
19+
}
20+
.fileName::before { content: '🌎 » '; opacity: 0.6; }
21+
</style>

dist/404.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta name="slidev:version" content="51.4.0">
7+
<link rel="icon" href="https://delicious-insights.com/apple-touch-icon.png">
8+
<title>Clarke's Third Law in Action: Having Fun With ES proxies • A talk by Christophe Porteneuve at dotJS 2025</title>
9+
<meta name="description" content="## Clarke's Third Law in Action: Having Fun With ES proxies\n\nA talk by [Christophe Porteneuve](https://www.linkedin.com/in/christopheporteneuve/) at [dotJS 2025](https://dotjs.io/).\n">
10+
<link rel="preconnect" href="https://fonts.gstatic.com" />
11+
<link
12+
href="https://fonts.googleapis.com/css2?family=Sriracha&family=Titillium+Web&display=swap"
13+
rel="stylesheet"
14+
/>
15+
<link
16+
rhef="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap"
17+
rel="stylesheet"
18+
/>
19+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap" type="text/css">
20+
<script type="module" crossorigin src="/dotjs-esproxies/assets/index-DtGzsKi4.js"></script>
21+
<link rel="modulepreload" crossorigin href="/dotjs-esproxies/assets/modules/vue-CY3OsIzI.js">
22+
<link rel="modulepreload" crossorigin href="/dotjs-esproxies/assets/modules/file-saver-BzOOqXCn.js">
23+
<link rel="modulepreload" crossorigin href="/dotjs-esproxies/assets/monaco/bundled-types-GyhiB4uL.js">
24+
<link rel="modulepreload" crossorigin href="/dotjs-esproxies/assets/modules/shiki-Bsyf5hhV.js">
25+
<link rel="stylesheet" crossorigin href="/dotjs-esproxies/assets/monaco/bundled-types-9vTKz99q.css">
26+
<link rel="stylesheet" crossorigin href="/dotjs-esproxies/assets/modules/shiki-Bxv373Z5.css">
27+
<link rel="stylesheet" crossorigin href="/dotjs-esproxies/assets/index-D9N020UF.css">
28+
</head>
29+
<body>
30+
<div id="app"></div>
31+
<div id="mermaid-rendering-container"></div>
32+
33+
34+
</body>
35+
</html>

0 commit comments

Comments
 (0)