From c43baa8bcf25d39f809bfe21f549082c8c3cf935 Mon Sep 17 00:00:00 2001 From: Michael Kennedy Date: Mon, 20 Jan 2025 09:31:08 -0800 Subject: [PATCH 1/2] Removing preview deploy, fixing css for small screens --- .github/workflows/netlify.yml | 8 -------- src/app/home.css | 6 +++--- src/app/resume/page.tsx | 2 +- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/netlify.yml b/.github/workflows/netlify.yml index b4a3a9e..6804d62 100644 --- a/.github/workflows/netlify.yml +++ b/.github/workflows/netlify.yml @@ -43,14 +43,6 @@ jobs: - name: Install Dependencies run: npm ci - - name: Deploy to Netlify Preview - if: ${{ success() && github.ref_name == 'development' }} - run: | - netlify deploy --build \ - --site ${{ secrets.NETLIFY_SITE_ID }} \ - --auth ${{ secrets.NETLIFY_DEPLOY_KEY }} \ - --message "${{ github.event.pull_request.title }}" - - name: Deploy to Netlify Production if: ${{ success() && github.ref_name == 'main' }} run: | diff --git a/src/app/home.css b/src/app/home.css index b1577ca..c417cd0 100644 --- a/src/app/home.css +++ b/src/app/home.css @@ -40,8 +40,8 @@ } section { - margin: 0.625rem; - padding: 2rem !important; + margin: 0.5rem 0 0.5rem 0; + padding: 1rem; } @media screen and (min-width: 768px){ @@ -51,7 +51,7 @@ } } - @media screen and (max-width: 1024px){ + @media screen and (min-width: 1024px){ section { margin: 0.5rem 10rem 0.5rem 10rem; padding: 2rem; diff --git a/src/app/resume/page.tsx b/src/app/resume/page.tsx index d09b268..59b3a43 100644 --- a/src/app/resume/page.tsx +++ b/src/app/resume/page.tsx @@ -25,7 +25,7 @@ export default async function Page(){ Download -
+
From c5ff55885deea84479cfd92b25014cfef8880f3f Mon Sep 17 00:00:00 2001 From: Michael Kennedy Date: Mon, 20 Jan 2025 10:29:36 -0800 Subject: [PATCH 2/2] Fixing section mid width --- src/app/home.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/home.css b/src/app/home.css index c417cd0..92f35bb 100644 --- a/src/app/home.css +++ b/src/app/home.css @@ -26,7 +26,7 @@ section { border-radius: 0.5rem; max-width: 1700px; - min-width: 375px; + min-width: 300px; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); p { font-size: 1.25rem;