<commit_before>import React from "react";
import styled from "styled-components";

const StyledIndiehackersCard = styled.div`
  background-color: #0e2439;
  display: flex;
  flex-direction: column;
  padding-bottom: 60px;
  border-radius: 10px;
`;

const AvatarImage = styled.img`
  border-radius: 50%;
  max-width: 145px;
  max-height: 145px;
  margin-bottom: -30px;
  border: 10px solid #1f364d;

  @media (max-width: 768px) {
    margin-bottom: -50px;
  }
`;

const ProfileContent = styled.div`
  background-color: #1f364d;
  display: flex;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
`;

const Name = styled.h2`
  margin: 0;
  padding: 0;
  color: white;
  font-size: 40px;
`;

const OtherInformation = styled.span`
  color: #9cb3c9;
`;

const ProfileInformationContainer = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;

  @media (max-width: 768px) {
    padding-right: 20px;
    padding-bottom: 14px;
    padding-top: 5px;
  }
`;

const FollowButton = styled.button`
  color: #fff;
  cursor: pointer;
  background-image: linear-gradient(to right, #e052a0, #f15c41) !important;
  border-radius: 3px;
  box-shadow: 12px 12px 10px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  width: 100%;
  height: 44px;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  outline: 0;
  padding: 10px 30px;
  resize: none;
  text-align: center;
`;

const NotAvatarContent = styled.div`
  display: flex;
  justify-content: space-between;
  width: 100%;

  @media (max-width: 768px) {
    flex-direction: column;
  }
`;

const FollowContainer = styled.div`
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-right: 30px;

  @media (max-width: 768px) {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
  }
`;

const StyledIndiehackersLink = styled.a`
  text-decoration: none;
`;

export const IndiehackersCard = () => {
  return (
    <StyledIndiehackersCard>
      <ProfileContent>
        <AvatarImage src="/profile.png" alt="image of kevin peters"/>
        <NotAvatarContent>
          <ProfileInformationContainer>
            <Name><NAME></Name>
            <OtherInformation>
              23 · Berlin, Germany · joined September 2019
            </OtherInformation>
          </ProfileInformationContainer>
          <FollowContainer>
            <StyledIndiehackersLink href="https://www.indiehackers.com/kevinpeters_">
              <FollowButton>Follow me</FollowButton>
            </StyledIndiehackersLink>
          </FollowContainer>
        </NotAvatarContent>
      </ProfileContent>
    </StyledIndiehackersCard>
  );
};<commit_msg>feat: let image load lazily<commit_after>import React from "react";
import styled from "styled-components";

const StyledIndiehackersCard = styled.div`
  background-color: #0e2439;
  display: flex;
  flex-direction: column;
  padding-bottom: 60px;
  border-radius: 10px;
`;

const AvatarImage = styled.img`
  border-radius: 50%;
  max-width: 145px;
  max-height: 145px;
  margin-bottom: -30px;
  border: 10px solid #1f364d;

  @media (max-width: 768px) {
    margin-bottom: -50px;
  }
`;

const ProfileContent = styled.div`
  background-color: #1f364d;
  display: flex;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
`;

const Name = styled.h2`
  margin: 0;
  padding: 0;
  color: white;
  font-size: 40px;
`;

const OtherInformation = styled.span`
  color: #9cb3c9;
`;

const ProfileInformationContainer = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;

  @media (max-width: 768px) {
    padding-right: 20px;
    padding-bottom: 14px;
    padding-top: 5px;
  }
`;

const FollowButton = styled.button`
  color: #fff;
  cursor: pointer;
  background-image: linear-gradient(to right, #e052a0, #f15c41) !important;
  border-radius: 3px;
  box-shadow: 12px 12px 10px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  width: 100%;
  height: 44px;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  outline: 0;
  padding: 10px 30px;
  resize: none;
  text-align: center;
`;

const NotAvatarContent = styled.div`
  display: flex;
  justify-content: space-between;
  width: 100%;

  @media (max-width: 768px) {
    flex-direction: column;
  }
`;

const FollowContainer = styled.div`
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-right: 30px;

  @media (max-width: 768px) {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
  }
`;

const StyledIndiehackersLink = styled.a`
  text-decoration: none;
`;

export const IndiehackersCard = () => {
  return (
    <StyledIndiehackersCard>
      <ProfileContent>
        <AvatarImage
          src="/profile.png"
          alt="image of kevin peters"
          loading="lazy"
        />
        <NotAvatarContent>
          <ProfileInformationContainer>
            <Name><NAME></Name>
            <OtherInformation>
              23 · Berlin, Germany · joined September 2019
            </OtherInformation>
          </ProfileInformationContainer>
          <FollowContainer>
            <StyledIndiehackersLink href="https://www.indiehackers.com/kevinpeters_">
              <FollowButton>Follow me</FollowButton>
            </StyledIndiehackersLink>
          </FollowContainer>
        </NotAvatarContent>
      </ProfileContent>
    </StyledIndiehackersCard>
  );
};
{'fraction_non_alphanumeric': 0.12701829924650163, 'fraction_numerical': 0.04198062432723358, 'mean_word_length': 3.0427846265409717, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 45, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2346682', 'n_tokens_mistral': 2166, 'n_tokens_neox': 1949, 'n_words': 435}