Skip to content

Commit af361cb

Browse files
Merge branch 'main' of github.com:CuCodersCommunity/cucoderscommunity.github.io
2 parents 07272ad + a023fa4 commit af361cb

63 files changed

Lines changed: 1764 additions & 3925 deletions

File tree

Some content is hidden

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

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
- name: Checkout your repository using git
2323
uses: actions/checkout@v2
2424
- name: Install, build, and upload your site
25-
uses: withastro/action@v0
25+
uses: withastro/action@v3.0.0
2626
with:
27-
node-version: 18
27+
package-manager: pnpm@9
2828

2929
deploy:
3030
needs: build
@@ -35,4 +35,4 @@ jobs:
3535
steps:
3636
- name: Deploy to GitHub Pages
3737
id: deployment
38-
uses: actions/deploy-pages@v1
38+
uses: actions/deploy-pages@v4

.github/workflows/deployJob.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- name: Checkout your repository using git
2222
uses: actions/checkout@v2
2323
- name: Install, build, and upload your site
24-
uses: withastro/action@v0
24+
uses: withastro/action@v3.0.0
2525
with:
26-
node-version: 18
26+
package-manager: pnpm@9
2727

2828
deploy:
2929
needs: build
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
- name: Deploy to GitHub Pages
3636
id: deployment
37-
uses: actions/deploy-pages@v1
37+
uses: actions/deploy-pages@v4
3838
- name: Create Telegram Notification
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.SECRET_GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ pnpm-debug.log*
1818

1919
# macOS-specific files
2020
.DS_Store
21+
._*
2122

2223
# Astro
2324
.astro/

astro.config.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ import sitemap from "@astrojs/sitemap";
99
// https://astro.build/config
1010
import partytown from "@astrojs/partytown";
1111

12-
// https://astro.build/config
13-
import image from "@astrojs/image";
12+
import svelte from '@astrojs/svelte';
1413

1514
// https://astro.build/config
1615
export default defineConfig({
1716
site: "https://cucoders.dev/",
1817
integrations: [
1918
tailwind(),
19+
svelte(),
2020
sitemap({
2121
serialize(item) {
2222
if (/.*cucoders\.dev\/dev\/[\w-]+\/[\w-]/.test(item.url)) {
@@ -35,6 +35,5 @@ export default defineConfig({
3535
forward: ["dataLayer.push"],
3636
},
3737
}),
38-
image(),
3938
],
4039
});

package.json

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,28 @@
1111
"astro": "astro"
1212
},
1313
"dependencies": {
14-
"@astrojs/image": "^0.16.1",
15-
"@astrojs/partytown": "^1.0.3",
16-
"@astrojs/rss": "^2.1.0",
17-
"@astrojs/sitemap": "^1.0.1",
18-
"@astrojs/tailwind": "^3.0.1",
19-
"astro": "^2.10.0",
20-
"astro-seo-schema": "^2.0.0",
21-
"dayjs": "^1.11.7",
22-
"flowbite": "^1.6.0",
14+
"@astrojs/partytown": "^1.2.3",
15+
"@astrojs/rss": "^2.4.4",
16+
"@astrojs/sitemap": "^1.4.0",
17+
"@astrojs/svelte": "^5.7.1",
18+
"@astrojs/tailwind": "^5.1.0",
19+
"astro": "^4.15.4",
20+
"astro-seo-schema": "^4.0.2",
21+
"dayjs": "^1.11.13",
22+
"dexie": "^4.0.9",
23+
"flowbite": "^1.8.1",
2324
"markdown-to-text-renderer": "^0.1.1",
24-
"marked": "^4.2.12",
25+
"marked": "^4.3.0",
2526
"reading-time": "^1.5.0",
26-
"tailwindcss": "^3.0.24",
27-
"topbar": "^2.0.1"
27+
"svelte": "^4.2.19",
28+
"svelter-search": "^0.1.1",
29+
"svelter-search-ui": "^0.0.7",
30+
"tailwindcss": "^3.4.10",
31+
"topbar": "^2.0.2",
32+
"vite": "^5.4.5"
2833
},
2934
"devDependencies": {
30-
"@tailwindcss/line-clamp": "^0.4.2",
31-
"@tailwindcss/typography": "^0.5.9"
35+
"@tailwindcss/line-clamp": "^0.4.4",
36+
"@tailwindcss/typography": "^0.5.15"
3237
}
3338
}

public/.well-known/assetlinks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[
2+
{
3+
"relation": [
4+
"delegate_permission/common.handle_all_urls",
5+
"delegate_permission/common.get_login_creds"
6+
],
7+
"target": {
8+
"namespace": "android_app",
9+
"package_name": "dev.cucoders.twa",
10+
"sha256_cert_fingerprints": [
11+
"69:A4:F8:A0:D9:36:A6:94:EC:C9:F9:71:02:D6:02:D5:E3:A6:F0:69:23:11:DB:95:DF:51:62:8B:D8:F1:67:BC"
12+
]
13+
}
14+
}
15+
]
25.1 KB
Loading

src/components/apps/appCard.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import appCategories from "../../data/appsCategories.json";
3-
import { Image } from "@astrojs/image/components";
3+
import { Image } from 'astro:assets';
44
55
const {
66
url,
@@ -21,6 +21,7 @@ const {
2121
format="webp"
2222
quality={85}
2323
width={48}
24+
height={48}
2425
aspectRatio={1}
2526
fit="cover"
2627
position="center"

src/components/blogCard.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dayjs.locale("es");
55
import readingTime from "reading-time";
66
import categories from "../data/categories.json";
77
import { members_api_url } from "../data/conf.json";
8-
import { Image } from "@astrojs/image/components";
8+
import { Image } from 'astro:assets';
99
import { convertASCIICharsToText, convertMarkdownToPlainText } from "markdown-to-text-renderer";
1010
1111
const { post, index } = Astro.props;
@@ -32,6 +32,7 @@ let imgLoading = index === 0 || index === 1 ? "eager" : "lazy";
3232
format="webp"
3333
quality={85}
3434
width={908}
35+
height={500}
3536
loading={imgLoading}
3637
aspectRatio={16 / 9}
3738
fit="cover"

src/components/eventCard.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import dayjs from "dayjs";
33
import "dayjs/locale/es";
4-
import { Image } from "@astrojs/image/components";
4+
import { Image } from 'astro:assets';
55
66
dayjs.locale("es");
77
@@ -30,8 +30,8 @@ if (!event.data.image){
3030
alt={event.data.name + " logo"}
3131
format="webp"
3232
quality={85}
33-
width={420}
34-
aspectRatio={16 / 9}
33+
width={380}
34+
height={208}
3535
fit="cover"
3636
position="center"
3737
/>

0 commit comments

Comments
 (0)