Skip to content

Commit 3b88e92

Browse files
authored
Merge branch 'main' into space-between-social-logos
2 parents 2fcf329 + 3f9d186 commit 3b88e92

File tree

18 files changed

+177
-22
lines changed

18 files changed

+177
-22
lines changed

components/card/card.tsx

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
'use client'
2+
3+
import { useEffect } from 'react'
4+
15
import { PageItem } from '@/lib/db-types'
26
import { getFormattedIdentifier } from '@/lib/utils'
37

@@ -13,6 +17,21 @@ type CardProps = {
1317
export const Card = ({ item }: CardProps) => {
1418
const { cover, imgPlaceholder, titleCard, infoExtra, links, videos } = item
1519

20+
useEffect(() => {
21+
const highlightedCard =
22+
window.location.hash === `#${getFormattedIdentifier(item.imgPlaceholder)}`
23+
24+
if (highlightedCard) {
25+
const card = document.getElementById(
26+
getFormattedIdentifier(item.imgPlaceholder)
27+
)
28+
card?.classList.add('ring-accent')
29+
setTimeout(() => {
30+
card?.classList.remove('ring-accent')
31+
}, 2000)
32+
}
33+
}, [item.imgPlaceholder])
34+
1635
return (
1736
<div
1837
className='card p-4 ring-1 bg-base-100 shadow-lg h-auto hover:scale-105 transition-transform'

db/backend/tools.ts

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
import { DocPage, LinkType } from '@/lib/db-types'
2+
3+
const tools: DocPage = {
4+
title: 'Herramientas',
5+
description: [
6+
'Diferentes herramientas que te pueden ayudar en el día a día como BackEnd.',
7+
],
8+
contributors: [
9+
{ github_username: 'nsdonato' },
10+
{ github_username: 'eduWTR' },
11+
],
12+
pageItems: [
13+
{
14+
imgPlaceholder: 'Express',
15+
titleCard:
16+
'Entorno de trabajo para aplicaciones web para el programario Node.js, de código abierto.',
17+
links: [{ type: LinkType.Web, url: 'https://expressjs.com/' }],
18+
cover: {
19+
src: '/backend/tools/expressjs.svg',
20+
height: 70,
21+
width: 150,
22+
},
23+
videos: [],
24+
},
25+
{
26+
imgPlaceholder: 'Spring Boot',
27+
titleCard:
28+
'Marco de código abierto basado en Java que se utiliza para programar aplicaciones independientes.',
29+
links: [
30+
{ type: LinkType.Web, url: 'https://spring.io/projects/spring-boot' },
31+
],
32+
cover: {
33+
src: '/backend/tools/spring-boot.no-invert.svg',
34+
height: 80,
35+
width: 80,
36+
},
37+
videos: [],
38+
},
39+
{
40+
imgPlaceholder: 'Django',
41+
titleCard:
42+
'Framework de desarrollo web de código abierto, escrito en Python, respetando el módelo MVC',
43+
links: [{ type: LinkType.Web, url: 'https://www.djangoproject.com/' }],
44+
cover: {
45+
src: '/backend/tools/django.svg',
46+
height: 80,
47+
width: 150,
48+
},
49+
videos: [],
50+
},
51+
{
52+
imgPlaceholder: 'Ruby on Rails',
53+
titleCard:
54+
'Framework de aplicaciones web de código abierto del lado del servidor escrito en el lenguaje de programación Ruby.',
55+
links: [{ type: LinkType.Web, url: 'https://rubyonrails.org/' }],
56+
cover: {
57+
src: '/backend/tools/rubyrails.no-invert.svg',
58+
height: 110,
59+
width: 110,
60+
},
61+
videos: [],
62+
},
63+
],
64+
}
65+
66+
export default tools

db/ciberseguridad/streamers.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const streamers: DocPage = {
2222
cover: {
2323
src: '/streamers/hack4u.jpg',
2424
height: 80,
25-
width: 90,
25+
width: 80,
2626
},
2727
videos: [],
2828
},
@@ -37,7 +37,7 @@ export const streamers: DocPage = {
3737
cover: {
3838
src: '/streamers/securiters.png',
3939
height: 80,
40-
width: 90,
40+
width: 80,
4141
},
4242
videos: [],
4343
},

db/conferences/spain.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ const spain: DocPage = {
107107
{ type: LinkType.Web, url: 'https://softwarecrafters.barcelona/' },
108108
],
109109
cover: {
110-
src: '',
111-
height: 80,
112-
width: 190,
110+
src: '/conferences/espana/scbcn.png',
111+
height: 60,
112+
width: 60,
113113
},
114114
videos: [],
115115
infoExtra: {
@@ -126,9 +126,9 @@ const spain: DocPage = {
126126
titleCard: '',
127127
links: [{ type: LinkType.Web, url: 'https://www.devbcn.com/' }],
128128
cover: {
129-
src: '/conferences/espana/scbcn.png',
129+
src: '/conferences/espana/dev-bcn.png',
130130
height: 60,
131-
width: 60,
131+
width: 160,
132132
},
133133
videos: [],
134134
infoExtra: {
@@ -145,9 +145,9 @@ const spain: DocPage = {
145145
titleCard: '',
146146
links: [{ type: LinkType.Web, url: 'https://pamplonaswcraft.com/' }],
147147
cover: {
148-
src: '',
148+
src: '/conferences/espana/pamplonaswcraft.jpg',
149149
height: 80,
150-
width: 190,
150+
width: 80,
151151
},
152152
videos: [],
153153
infoExtra: {

db/extensions/vscode.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ const vscode: DocPage = {
346346
titleCard: '',
347347
cover: {
348348
src: '/extensions/vscode/colorize.no-invert.svg',
349-
height: 50,
349+
height: 90,
350350
width: 150,
351351
},
352352
links: [
@@ -411,8 +411,8 @@ const vscode: DocPage = {
411411
titleCard: '',
412412
cover: {
413413
src: '/extensions/vscode/es7-react-js-icon.png',
414-
height: 70,
415-
width: 70,
414+
height: 80,
415+
width: 120,
416416
},
417417
links: [
418418
{

db/frontend/deploys.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { DocPage, LinkType } from '@/lib/db-types'
33
const deploys: DocPage = {
44
title: 'Deploys en frontend',
55
description: [
6-
'¿Como hacemos que otra persona pueda ver nuestra web por internet? <br />',
7-
'¿Que herramientas nos permiten publicarla, configurarla, entre otras necesidades? <br />',
8-
'Tu elección va a depender de las necesidades del proyecto y las preferencias del equipo de desarrollo. <br />',
6+
'¿Como hacemos que otra persona pueda ver nuestra web por internet?',
7+
'¿Que herramientas nos permiten publicarla, configurarla, entre otras necesidades?',
8+
'Tu elección va a depender de las necesidades del proyecto y las preferencias del equipo de desarrollo.',
99
'Algunas de las herramientas más populares son:',
1010
],
1111
contributors: [

db/frontend/domains.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { DocPage, LinkType } from '@/lib/db-types'
22

33
const domains: DocPage = {
44
title: 'Dominios',
5-
description: ['Donde comprar tu dominio para tu proyecto'],
5+
description: ['Donde comprar tu dominio para tu proyecto.'],
66
contributors: [
77
{ github_username: 'nsdonato' },
88
{ github_username: 'guguponce' },

db/frontend/fonts.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { DocPage, LinkType } from '@/lib/db-types'
33
const fonts: DocPage = {
44
title: 'Fuentes',
55
description: [
6-
'Encontrá la tipografía que más se adapte a tu proyecto! <br /> En alguna de las herramientas también podés encontrar combinaciones de fuentes que funcionan bien juntas.',
6+
'Encontrá la tipografía que más se adapte a tu proyecto!',
7+
'En alguna de las herramientas también podés encontrar combinaciones de fuentes que funcionan bien juntas.',
78
],
89
contributors: [
910
{ github_username: 'nsdonato' },

db/menu.ts

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ const data: Menu[] = [
8282
name: 'Aprender',
8383
url: '/backend/learn',
8484
},
85+
{
86+
name: 'Herramientas',
87+
url: '/backend/tools',
88+
},
8589
],
8690
},
8791
{

db/mobile/streamers.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const streamers: DocPage = {
2323
cover: {
2424
src: '/streamers/neryad.png',
2525
height: 80,
26-
width: 90,
26+
width: 80,
2727
},
2828
videos: [],
2929
},
@@ -45,7 +45,7 @@ const streamers: DocPage = {
4545
cover: {
4646
src: '/streamers/vadim-headshot.webp',
4747
height: 80,
48-
width: 90,
48+
width: 80,
4949
},
5050
videos: [],
5151
},
@@ -63,7 +63,7 @@ const streamers: DocPage = {
6363
cover: {
6464
src: '/streamers/moure.png',
6565
height: 80,
66-
width: 90,
66+
width: 80,
6767
},
6868
videos: [],
6969
},

db/testing/streamers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const streamers: DocPage = {
3131
cover: {
3232
src: '/streamers/charlyautomatiza.png',
3333
height: 80,
34-
width: 90,
34+
width: 80,
3535
},
3636
videos: [],
3737
},

db/testing/tools.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { DocPage, LinkType } from '@/lib/db-types'
22

33
const tools: DocPage = {
44
title: 'Testing',
5-
description: ['Frameworks o herramientas para testing'],
5+
description: ['Frameworks o herramientas para testing.'],
66
contributors: [
77
{
88
github_username: 'nsdonato',

public/backend/tools/django.svg

+28
Loading

public/backend/tools/expressjs.svg

+1
Loading

public/backend/tools/rubyrails.no-invert.svg

+8
Loading
Loading

public/conferences/espana/dev-bcn.png

28.5 KB
Loading
8.97 KB
Loading

0 commit comments

Comments
 (0)