From b403aafd66ad0b42400c04649db83c99a4c009f1 Mon Sep 17 00:00:00 2001 From: Maicol Santos Date: Wed, 22 Feb 2023 14:53:45 +0000 Subject: [PATCH 1/7] Adding Maicol Santos --- src/data.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/data.js b/src/data.js index 3a8ce85d..8d71fbe9 100644 --- a/src/data.js +++ b/src/data.js @@ -216,6 +216,30 @@ module.exports = [ computer: 'linux', tags: ['Student', 'Node.js', 'Javascript', 'Ubuntu'], }, + { + name: 'Maicol Santos', + description: 'Front End Developer.', + url: 'https://maicolsantos.github.io/#/uses', + emoji: '🀘🏻', + country: 'πŸ‡§πŸ‡·', + computer: 'apple', + phone: 'iphone', + tags: [ + 'JavaScript', + 'TypeScript', + 'React', + 'React Native', + 'Next', + 'Vue.js', + 'Angular', + 'AlpineJS', + 'Front End', + 'Redux', + 'React Query', + 'GraphQL', + 'Developer', + ], + }, { name: 'Carretta Riccardo', description: 'Software Developer & UX/UI Designer', From 04a88f6dd48d0c115c04686faefbf072df9a3c56 Mon Sep 17 00:00:00 2001 From: Mosaad <48773133+theMosaad@users.noreply.github.com> Date: Thu, 23 Feb 2023 01:34:50 +0200 Subject: [PATCH 2/7] delete duplicate css --- src/styles.css | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/styles.css b/src/styles.css index 83bd1766..019853c8 100644 --- a/src/styles.css +++ b/src/styles.css @@ -290,13 +290,3 @@ body::-webkit-scrollbar-thumb { grid-template-columns: 1fr; } } - -.People { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); - grid-gap: 5rem; - - @media all and (max-width: 400px) { - grid-template-columns: 1fr; - } -} From 76d65f14ff1ae39d4a43546be6c907962ba72a05 Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Wed, 22 Feb 2023 23:10:05 -0600 Subject: [PATCH 3/7] Add Sean Boult --- src/data.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/data.js b/src/data.js index 7d4e5af6..d9239fb7 100644 --- a/src/data.js +++ b/src/data.js @@ -13597,6 +13597,17 @@ module.exports = [ 'Photographer', ], }, + { + name: 'Sean Boult', + description: 'Full stack developer who likes ReactJS', + url: 'https://boult.me/uses', + twitter: '@Hacksore', + emoji: '🫠', + country: 'πŸ‡ΊπŸ‡Έ', + computer: 'apple', + phone: 'iphone', + tags: ['Full Stack', 'React', 'Typescript', 'Node.js', 'Hacking'], + }, { name: 'Kevin Woblick', description: 'I turn Pizza into Code and Photos', From c04c77eed7d494c505277c7e91ad91c5bf19a9a7 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 23 Feb 2023 06:12:33 +0000 Subject: [PATCH 4/7] chore: generate `readme.md`, lint `src/data.js` --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index d392a7bc..01dd27d6 100644 --- a/readme.md +++ b/readme.md @@ -650,6 +650,7 @@ This readme is auto-generated from the data.js file, so please don't PR this fil * [Tomek Buszewski](https://www.buszewski.com/uses/) β€” Developer and team leader based in Warsaw, Poland. * [Benjamin Mock](https://codesnacks.net/uses/) β€” coder, runner, reader, maker * [Dan Holloran](https://danholloran.me/uses/) β€” Full Stack Developer +* [Sean Boult](https://boult.me/uses) β€” Full stack developer who likes ReactJS * [Kevin Woblick](https://www.kovah.de/uses/) β€” I turn Pizza into Code and Photos * [Michal Slepko](https://michalslepko.dev/uses) β€” Senior web developer learning iOS development. Live coding streamer on Twitch * [MichaΕ‚ Miszczyszyn](https://typeofweb.com/michal-miszczyszyn-uses/) β€” Motivated full-stack developer not afraid to use any technology. Experienced developer and leader. He, him. From 7019b691fd4317d9f4f65699612b08fca0a549fa Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 23 Feb 2023 06:15:05 +0000 Subject: [PATCH 5/7] chore: generate `readme.md`, lint `src/data.js` --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 01dd27d6..3f2b95be 100644 --- a/readme.md +++ b/readme.md @@ -37,6 +37,7 @@ This readme is auto-generated from the data.js file, so please don't PR this fil * [Alex O'Reilly](https://alekzandriia.com/uses/) β€” Scientist turned Web developer from the Great White North. * [Martin Bean](https://martinbean.dev/uses) β€” Web developer and software engineer. * [Dominic Ruggiero](https://userexe.me/uses) β€” Student and idiot +* [Maicol Santos](https://maicolsantos.github.io/#/uses) β€” Front End Developer. * [Carretta Riccardo](https://carrettariccardo.dev/uses/) β€” Software Developer & UX/UI Designer * [Josh Medeski](https://www.joshmedeski.com/uses/) β€” Full-stack developer and content creator. * [Simon Rogers](https://midnite.uk/uses) β€” Software Engineer From 93ff2d3207cfb798ded1e55fd67015e175212897 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Thu, 23 Feb 2023 09:10:33 -0500 Subject: [PATCH 6/7] fix netlify edge functions with assets --- netlify-server.ts | 63 ----------------------------------------------- server.ts | 5 ++-- 2 files changed, 3 insertions(+), 65 deletions(-) delete mode 100644 netlify-server.ts diff --git a/netlify-server.ts b/netlify-server.ts deleted file mode 100644 index d016a1d5..00000000 --- a/netlify-server.ts +++ /dev/null @@ -1,63 +0,0 @@ -import type { AppLoadContext, ServerBuild } from '@netlify/remix-runtime' -import { createRequestHandler as createRemixRequestHandler } from '@netlify/remix-runtime' -import type { Context } from '@netlify/edge-functions' - -type LoadContext = AppLoadContext & Context - -/** - * A function that returns the value to use as `context` in route `loader` and - * `action` functions. - * - * You can think of this as an escape hatch that allows you to pass - * environment/platform-specific values through to your loader/action. - */ -export type GetLoadContextFunction = (request: Request, context: Context) => Promise | LoadContext - -export type RequestHandler = (request: Request, context: LoadContext) => Promise - -export function createRequestHandler({ - build, - mode, - getLoadContext, -}: { - build: ServerBuild - mode?: string - getLoadContext?: GetLoadContextFunction -}): RequestHandler { - const remixHandler = createRemixRequestHandler(build, mode) - - const assetPath = build.assets.url.split('/').slice(0, -1).join('/') - - return async (request: Request, context: LoadContext): Promise => { - const { pathname } = new URL(request.url) - // Skip the handler for static files - if (pathname.startsWith(`${assetPath}/`)) { - // Temporary fix - passing the request to the Netlify static asset handler causes a 203 Not Content error. Passing the through remix works, but I asssume isn't ideal - // console.log('Skipping Remix handler for static file', pathname) - // return; - } - try { - const loadContext = (await getLoadContext?.(request, context)) || context - - const response = await remixHandler(request, loadContext) - - // A useful header for debugging - response.headers.set('x-nf-runtime', 'Edge') - - if (response.status === 404) { - // Check if there is a matching static file - const originResponse = await context.next({ - sendConditionalRequest: true, - }) - if (originResponse.status !== 404) { - return originResponse - } - } - return response - } catch (error: unknown) { - console.error(error) - - return new Response('Internal Error', { status: 500 }) - } - } -} diff --git a/server.ts b/server.ts index 87c1eedb..94a3230e 100644 --- a/server.ts +++ b/server.ts @@ -1,7 +1,6 @@ // Import path interpreted by the Remix compiler import * as build from "@remix-run/dev/server-build"; -// import { createRequestHandler } from "@netlify/remix-edge-adapter"; -import { createRequestHandler } from "./netlify-server"; +import { createRequestHandler } from "@netlify/remix-edge-adapter"; export default createRequestHandler({ build, @@ -12,4 +11,6 @@ export default createRequestHandler({ export const config = { cache: "manual", path: "/*", + // Pass all assets to the netlify asset server + excluded_patterns: ["/_assets/*"], }; From ac9c6fd73f7a822a6c93cb4989a3bfa7f5134383 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Thu, 23 Feb 2023 09:25:12 -0500 Subject: [PATCH 7/7] add shared and .js files to exclude --- server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.ts b/server.ts index 94a3230e..f61ecde4 100644 --- a/server.ts +++ b/server.ts @@ -12,5 +12,5 @@ export const config = { cache: "manual", path: "/*", // Pass all assets to the netlify asset server - excluded_patterns: ["/_assets/*"], + excluded_patterns: ["/_assets/*", "/_shared/*", "/**/*.js"], };