From 5ddff998d8368ed6d97e529089e9d81c79ff69fb Mon Sep 17 00:00:00 2001 From: Toby Brown Date: Wed, 27 Sep 2023 20:37:01 +0100 Subject: [PATCH 001/111] started on redesign of the newsletter section + formatted things --- .github/dependabot.yml | 6 +- components/analytics.js | 6 +- components/announcement.js | 54 +- components/announcements/amount.js | 12 +- components/announcements/cta.js | 22 +- components/announcements/elon.mdx | 4 +- components/announcements/holder.js | 12 +- components/announcements/pills.js | 36 +- components/announcements/preston-werner.mdx | 2 +- components/announcements/relon.mdx | 6 +- components/background-image.js | 28 +- components/bio.js | 106 +- components/color-switcher.js | 34 +- components/comma.js | 4 +- components/donate/sponsors.js | 40 +- components/donate/sprigForm.js | 82 +- components/donate/sprigMeta.js | 10 +- components/dot.js | 36 +- components/fade-in.js | 20 +- components/flag.js | 26 +- components/flex-col.js | 4 +- components/footer.js | 66 +- components/force-theme.js | 12 +- components/hackathons/features/marketing.js | 68 +- components/hackathons/features/money.js | 88 +- components/hackathons/features/slack.js | 88 +- components/hackathons/grant/apply.js | 106 +- components/hackathons/grant/form.js | 52 +- components/hackathons/keep-exploring.js | 50 +- components/hackathons/landing.js | 104 +- components/hackathons/overview.js | 32 +- components/hackathons/recap.js | 54 +- components/hackathons/scrolling-hackathons.js | 154 +-- components/hcb/apply-button.js | 16 +- components/hcb/apply/address-input.js | 172 +-- components/hcb/apply/alert-modal.js | 32 +- components/hcb/apply/autofill-colour-fix.js | 12 +- components/hcb/apply/checkbox.js | 22 +- components/hcb/apply/field.js | 50 +- components/hcb/apply/form-container.js | 28 +- components/hcb/apply/hcb-info.js | 28 +- components/hcb/apply/nav-button.js | 144 +- components/hcb/apply/org-form.js | 26 +- components/hcb/apply/personal-form.js | 44 +- components/hcb/apply/progress.js | 50 +- components/hcb/apply/watermark.js | 62 +- components/hcb/directory/card.js | 124 +- components/hcb/everything.js | 162 +-- components/hcb/features.js | 80 +- components/hcb/first/features.js | 100 +- components/hcb/first/form.js | 144 +- components/hcb/first/steps.js | 84 +- components/hcb/first/testimonials.js | 98 +- components/hcb/landing.js | 142 +- components/hcb/nonprofits.js | 146 +- components/hcb/run.js | 40 +- components/hcb/start.js | 22 +- components/hcb/stats.js | 78 +- components/hcb/testimonials.js | 160 +-- components/hcb/timeline.js | 58 +- components/hcb/tooltip.js | 48 +- components/icon.js | 8 +- components/index/cards/angelhacks.js | 54 +- components/index/cards/button.js | 52 +- components/index/cards/card-model.js | 98 +- components/index/cards/clubs.js | 54 +- components/index/cards/epoch.js | 160 +-- components/index/cards/events.js | 52 +- components/index/cards/hackathons.js | 182 +-- components/index/cards/haxidraw.js | 32 +- components/index/cards/hcb.js | 106 +- components/index/cards/inspect.js | 24 +- components/index/cards/mailing-list.js | 171 ++- components/index/cards/outernet.js | 34 +- components/index/cards/sinerider.js | 32 +- components/index/cards/slack.js | 98 +- components/index/cards/sprig-console.js | 94 +- components/index/cards/sprig.js | 150 +- components/index/cards/winter.js | 54 +- components/index/cards/workshops.js | 56 +- components/index/carousel-cards.js | 72 +- components/index/carousel.js | 38 +- components/index/events.js | 88 +- components/index/github.js | 58 +- components/letterhead.js | 78 +- components/mail-card.js | 15 + components/mention.js | 22 +- components/nav.js | 132 +- components/particles.js | 56 +- components/photo.js | 36 +- components/posts/emoji.js | 52 +- components/posts/index.js | 130 +- components/posts/mention.js | 30 +- components/press.mdx | 2 +- components/scroll-hint.js | 46 +- components/secret.js | 138 +- components/ship/why.mdx | 2 +- components/signature.js | 14 +- components/signatures.js | 14 +- components/slack.js | 80 +- components/slack/header.js | 74 +- components/slack/join-form.js | 78 +- components/slack/slack-events.js | 104 +- components/slide-down.js | 24 +- components/slide-up.js | 24 +- components/sparkles/index.js | 88 +- components/sparkles/money.js | 90 +- components/stage.js | 20 +- components/stat.js | 50 +- components/stickers/request-form.js | 54 +- components/submit.js | 52 +- components/tilt.js | 20 +- components/winter/breakdown-box.js | 48 +- components/winter/breakdown.js | 34 +- components/winter/footer.js | 22 +- components/winter/form.js | 98 +- components/winter/info.js | 104 +- components/winter/landing.js | 98 +- components/winter/projects.js | 238 ++-- components/winter/recap.js | 40 +- components/winter/rsvp.js | 104 +- components/winter/timeline.js | 90 +- lib/dates.js | 153 ++- lib/fetcher.js | 4 +- lib/hcb/apply/address-validation.js | 64 +- lib/helpers.js | 235 ++-- lib/members.js | 6 +- lib/sitemap.js | 44 +- lib/theme.js | 18 +- lib/use-form.js | 94 +- lib/use-has-mounted.js | 12 +- lib/use-prefers-motion.js | 32 +- lib/use-prefers-reduced-motion.js | 32 +- lib/use-random-interval.js | 41 +- middleware.js | 20 +- next.config.mjs | 340 ++--- pages/404.js | 44 +- pages/_app.js | 20 +- pages/_document.js | 44 +- pages/amas/geohot.js | 318 ++--- pages/amas/index.js | 114 +- pages/amas/sal.js | 292 ++-- pages/amas/vitalik.js | 300 ++-- pages/api/channels/dogs.js | 10 +- pages/api/channels/resolve.js | 20 +- pages/api/contribute.js | 20 +- pages/api/first-team.js | 16 +- pages/api/games.js | 12 +- pages/api/github.js | 52 +- pages/api/hcb/apply.js | 94 +- pages/api/hcb/demo.js | 50 +- pages/api/join.js | 106 +- pages/api/mailing-list.js | 18 +- pages/api/slack.js | 32 +- pages/api/sprig-console.js | 16 +- pages/api/stars.js | 30 +- pages/api/stickers.js | 86 +- pages/api/stuff.js | 26 +- pages/api/winter-rsvp.js | 38 +- pages/brand.js | 164 +-- pages/clubs.js | 328 ++--- pages/content/covid19.mdx | 2 +- pages/content/it-admins.mdx | 4 +- pages/content/sponsorship.mdx | 14 +- pages/content/sunsetting-som.mdx | 8 +- pages/content/transparency/may-2020.mdx | 2 +- pages/deprecated/[deprecated].js | 78 +- pages/donate.js | 284 ++-- pages/elon.js | 42 +- pages/events.js | 224 +-- pages/hackathons/grant.js | 224 +-- pages/hackathons/index.js | 46 +- pages/hcb/apply/index.js | 124 +- pages/hcb/apply/success.js | 70 +- pages/hcb/climate/[region].js | 43 +- pages/hcb/climate/index.js | 989 ++++++------- pages/hcb/first.js | 116 +- pages/hcb/fiscal-sponsorship.js | 262 ++-- pages/hcb/index.js | 38 +- pages/index.js | 828 +++++------ pages/jobs/brand-director.js | 22 +- pages/jobs/clubs-lead.js | 22 +- pages/jobs/customer-success-lead.js | 22 +- pages/jobs/education-engineer.js | 22 +- pages/jobs/events-designer.js | 119 +- pages/jobs/executive-assistant.js | 22 +- pages/jobs/executive-producer.js | 22 +- pages/jobs/hcb-ops-associate.js | 22 +- pages/jobs/hcb-ops-lead.js | 22 +- pages/jobs/index.js | 122 +- pages/jobs/lead-hacker.js | 107 +- .../jobs/philanthropy-communications-lead.js | 22 +- pages/jobs/vp-donor-engagement.js | 22 +- pages/minecraft.js | 62 +- pages/night.js | 83 +- pages/onboard.js | 650 ++++----- pages/opensource.js | 128 +- pages/philanthropy/index.js | 532 +++---- pages/philanthropy/supporters.js | 142 +- pages/philosophy.js | 82 +- pages/pizza.js | 1220 ++++++++++------- pages/press.js | 54 +- pages/preston-werner-2022.js | 50 +- pages/preston-werner.js | 46 +- pages/relon.js | 62 +- pages/santa.js | 90 +- pages/ship.js | 130 +- pages/slack.js | 270 ++-- pages/stickers.js | 134 +- pages/team.js | 92 +- pages/winter.js | 90 +- prettier.config.js | 8 +- 212 files changed, 9676 insertions(+), 9324 deletions(-) create mode 100644 components/mail-card.js diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d441f1c57..e574638e9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ version: 2 updates: - - package-ecosystem: 'npm' # See documentation for possible values - directory: '/' # Location of package manifests + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests schedule: - interval: 'weekly' + interval: "weekly" diff --git a/components/analytics.js b/components/analytics.js index e5f61d010..65c22f3dd 100644 --- a/components/analytics.js +++ b/components/analytics.js @@ -1,4 +1,4 @@ -import Script from 'next/script' +import Script from "next/script"; const Analytics = () => (