Skip to content

Commit

Permalink
change npm to pnpm
Browse files Browse the repository at this point in the history
update to astro v3
  • Loading branch information
easylogic committed Oct 3, 2023
1 parent bf34f6f commit 7f74174
Show file tree
Hide file tree
Showing 7 changed files with 3,951 additions and 142 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,20 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
node-version: 18
- name: install pnpm
run: npm i pnpm@latest -g
- name: Install
run: npm install
run: pnpm install
- name: build
run: npm run build
run: pnpm build
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './docs'
path: "./docs"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# build output
dist/
.output/
docs/

# dependencies
node_modules/
Expand Down
1 change: 0 additions & 1 deletion docs/assets/index.816d8874.css

This file was deleted.

27 changes: 3 additions & 24 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/png" href="/logo.png">
<meta name="generator" content="Astro v1.4.2">
<title>Welcome to Astro.</title>
<link rel="stylesheet" href="/assets/index.816d8874.css" /></head>
<body>
<main class="astro-YMPE3LFM">
<img src="/logo.png" alt="KODE team Logo" width="150px" class="astro-YMPE3LFM">
<h1 class="astro-YMPE3LFM">Welcome to &nbsp;<span class="text-gradient astro-YMPE3LFM">KODE team</span></h1>
<p class="instructions astro-YMPE3LFM">
<strong class="astro-YMPE3LFM">K</strong>orea <strong class="astro-YMPE3LFM">O</strong>penSource <strong class="astro-YMPE3LFM">D</strong>eveloper & <strong class="astro-YMPE3LFM">D</strong>esigner team
</p>
</main><div class="community astro-YMPE3LFM">
<a href="https://github.com/kode-team" target="_blank" class="astro-YMPE3LFM">Github</a>
<a href="https://twitter.com/kodeteam2" target="_blank" class="astro-YMPE3LFM">Twitter</a>
<a href="https://discord.gg/JCcEmR2yec" target="_blank" class="astro-YMPE3LFM">Discord</a>
</div>

</body></html>

<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width"><link rel="icon" type="image/png" href="/logo.png"><meta name="generator" content="Astro v3.2.2"><title>Welcome to KODE team.</title><style>:root{--accent: 124, 58, 237;--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), #da62c4 30%, white 60%)}html{font-family:system-ui,sans-serif;background-color:#000}body{margin:0;padding:0}main[data-astro-cid-j7pv25f6]{margin:-50px auto auto;padding:3rem;color:#fff;text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column;height:100vh;box-sizing:border-box}h1[data-astro-cid-j7pv25f6]{font-size:3rem;font-weight:800;margin:0;display:block;width:100%}.text-gradient[data-astro-cid-j7pv25f6]{background-image:var(--accent-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-size:400%;background-position:0%}.instructions[data-astro-cid-j7pv25f6]{line-height:1.6;margin:1rem 0;padding:1rem;border-radius:.4rem;text-align:center;font-size:2rem;letter-spacing:.15em}.instructions[data-astro-cid-j7pv25f6] code[data-astro-cid-j7pv25f6]{font-size:.875em;font-weight:700;background:rgba(var(--accent),12%);color:rgb(var(--accent));border-radius:4px;padding:.3em .45em}.instructions[data-astro-cid-j7pv25f6] strong[data-astro-cid-j7pv25f6]{color:rgb(var(--accent))}.link-card-grid[data-astro-cid-j7pv25f6]{display:grid;grid-template-columns:repeat(auto-fit,minmax(24ch,1fr));gap:1rem;padding:0}.community[data-astro-cid-j7pv25f6]{position:fixed;bottom:100px;color:#fff;text-align:center;left:0;right:0}.community[data-astro-cid-j7pv25f6] a[data-astro-cid-j7pv25f6]{color:#fff;text-decoration:none;margin:0 20px}@media (max-width: 400px){.instructions[data-astro-cid-j7pv25f6]{font-size:1.5rem}.community[data-astro-cid-j7pv25f6]{bottom:50px}.community[data-astro-cid-j7pv25f6] a[data-astro-cid-j7pv25f6]{margin:0 10px}}@media (max-width: 600px){.instructions[data-astro-cid-j7pv25f6]{font-size:1.5rem}.community[data-astro-cid-j7pv25f6]{bottom:50px}.community[data-astro-cid-j7pv25f6] a[data-astro-cid-j7pv25f6]{margin:0 10px}}
</style></head><body><main data-astro-cid-j7pv25f6><img src="/logo.png" alt="KODE team Logo" width="150px" data-astro-cid-j7pv25f6><h1 data-astro-cid-j7pv25f6>Welcome to &nbsp;<span class="text-gradient" data-astro-cid-j7pv25f6>KODE team</span></h1><p class="instructions" data-astro-cid-j7pv25f6><strong data-astro-cid-j7pv25f6>K</strong>orea <strong data-astro-cid-j7pv25f6>O</strong>penSource <strong data-astro-cid-j7pv25f6>D</strong>eveloper & <strong data-astro-cid-j7pv25f6>D</strong>esigner team
</p></main><div class="community" data-astro-cid-j7pv25f6><a href="https://github.com/kode-team" target="_blank" data-astro-cid-j7pv25f6>Github</a><a href="https://twitter.com/kodeteam2" target="_blank" data-astro-cid-j7pv25f6>Twitter</a><a href="https://discord.gg/JCcEmR2yec" target="_blank" data-astro-cid-j7pv25f6>Discord</a></div></body></html>
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@example/basics",
"name": "@kode/team-website",
"type": "module",
"version": "0.0.1",
"private": true,
Expand All @@ -12,6 +12,8 @@
"copy:resource": "cp CNAME ./docs"
},
"dependencies": {
"astro": "^1.4.2"
"@astrojs/react": "^3.0.2",
"@astrojs/tailwind": "^5.0.0",
"astro": "^3.2.2"
}
}
Loading

0 comments on commit 7f74174

Please sign in to comment.