Skip to content

Commit

Permalink
Update copyright and social links (#1045)
Browse files Browse the repository at this point in the history
* Update copyright per legal

* Remove unmaintained socials
  • Loading branch information
sfc-gh-dmatthews authored Apr 25, 2024
1 parent 11ddbb9 commit 4f1c7ce
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 216 deletions.
99 changes: 1 addition & 98 deletions components/navigation/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,32 +66,6 @@ const Footer = ({ setIsTelemetryModalVisible }) => {
</svg>
</i>
</a>
{/* Reddit */}
<a
className={`
group
not-link
${styles.IconLink}
`}
href="https://www.reddit.com/r/StreamlitOfficial/"
target="_blank"
title="Reddit"
>
<i className={styles.IconContainer}>
<svg
width="113.8"
height="101.6"
viewBox="0 0 113.8 101.6"
xmlns="http://www.w3.org/2000/svg"
className={`
${styles.Icon}
${styles.RedditIcon}
`}
>
<path d="m 113.8,51.7 c 0,-6.9 -5.6,-12.5 -12.5,-12.5 -3.4,0 -6.4,1.3 -8.6,3.5 C 84.2,36.6 72.4,32.6 59.4,32.1 L 65.1,5.4 83.6,9.3 c 0.2,4.7 4.1,8.5 8.9,8.5 4.9,0 8.9,-4 8.9,-8.9 C 101.4,4 97.4,0 92.5,0 89,0 86,2 84.6,5 L 63.9,0.6 c -0.6,-0.1 -1.2,0 -1.7,0.3 -0.5,0.3 -0.8,0.8 -1,1.4 L 54.9,32.1 C 41.6,32.5 29.7,36.4 21.1,42.7 18.9,40.6 15.8,39.2 12.5,39.2 5.6,39.2 0,44.8 0,51.7 c 0,5.1 3,9.4 7.4,11.4 -0.2,1.2 -0.3,2.5 -0.3,3.8 0,19.2 22.3,34.7 49.9,34.7 27.6,0 49.9,-15.5 49.9,-34.7 0,-1.3 -0.1,-2.5 -0.3,-3.7 4.1,-2 7.2,-6.4 7.2,-11.5 z" />
</svg>
</i>
</a>
{/* YouTube */}
<a
className={`
Expand Down Expand Up @@ -119,32 +93,6 @@ const Footer = ({ setIsTelemetryModalVisible }) => {
</svg>
</i>
</a>
{/* Medium */}
<a
className={`
group
not-link
${styles.IconLink}
`}
href="https://medium.com/streamlit"
target="_blank"
title="Medium"
>
<i className={styles.IconContainer}>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
className={`
${styles.Icon}
${styles.MediumIcon}
`}
>
<path d="M13.537 11.828c0 3.77-3.03 6.827-6.768 6.827S0 15.598 0 11.828 3.03 5 6.769 5c3.738 0 6.768 3.057 6.768 6.828ZM20.964 11.828c0 3.55-1.515 6.428-3.384 6.428-1.87 0-3.385-2.879-3.385-6.428 0-3.55 1.515-6.428 3.384-6.428 1.87 0 3.385 2.878 3.385 6.428M24.002 11.829c0 3.179-.533 5.758-1.19 5.758-.658 0-1.19-2.578-1.19-5.758s.532-5.759 1.19-5.759c.656 0 1.19 2.578 1.19 5.759Z" />
</svg>
</i>
</a>
{/* Twitter */}
<a
className={`
Expand Down Expand Up @@ -197,49 +145,6 @@ const Footer = ({ setIsTelemetryModalVisible }) => {
</svg>
</i>
</a>
{/* Instagram */}
<a
className={`
group
not-link
${styles.IconLink}
`}
href="https://www.instagram.com/streamlit.io"
target="_blank"
title="Instagram"
>
<i className={styles.IconContainer}>
<svg
width="19"
height="20"
viewBox="0 0 19 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={`
${styles.Icon}
${styles.InstagramIcon}
`}
>
<defs>
<linearGradient
id="instagram-gradient"
gradientTransform="rotate(90)"
>
<stop offset="0%" stopColor="#f09433" />
<stop offset="25%" stopColor="#e6683c" />
<stop offset="50%" stopColor="#dc2743" />
<stop offset="75%" stopColor="#cc2366" />
<stop offset="100%" stopColor="#bc1888" />
</linearGradient>
</defs>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8.82611 19.637C8.68561 19.6375 8.54507 19.6381 8.40451 19.6388C7.73077 19.6419 7.05655 19.6449 6.38357 19.6332C5.57165 19.619 4.75702 19.5933 3.96127 19.3885C2.58287 19.0358 1.50659 18.2478 0.791761 16.9477C0.411421 16.2535 0.206419 15.494 0.1201 14.7002C0.00283629 13.6378 0.00233275 12.5687 0.00182921 11.5008C0.00176817 11.3648 0.00170714 11.2289 0.00140196 11.093C-0.00128358 9.77016 -0.00128358 8.44729 0.0121899 7.12441C0.0202923 6.28237 0.0337811 5.43746 0.168654 4.60104C0.419508 3.07626 1.09927 1.8359 2.3428 0.979575C3.05491 0.490257 3.85068 0.205772 4.69227 0.137534C5.67685 0.0578835 6.66681 0.0237038 7.65408 0.00948261C9.09183 -0.00760724 10.5323 0.000937685 11.97 0.0151589C12.7927 0.0237038 13.6154 0.0407936 14.4274 0.211448C15.9218 0.524436 17.0952 1.32949 17.8558 2.74056C18.2658 3.50008 18.4682 4.33651 18.5383 5.20418C18.6354 6.39468 18.6342 7.58987 18.6329 8.78548L18.6327 9.1841C18.6327 10.413 18.6327 11.6392 18.6138 12.8682C18.6003 13.7188 18.5841 14.5751 18.3926 15.4115C17.9206 17.474 16.7229 18.8025 14.7754 19.3601C14.0902 19.5564 13.3862 19.6048 12.6794 19.619C12.2525 19.6276 11.8257 19.6351 11.3989 19.6419C10.9863 19.6485 10.5737 19.6546 10.1615 19.6605C9.88211 19.6646 9.60287 19.6687 9.32379 19.673V19.636C9.15796 19.636 8.99206 19.6364 8.82611 19.637ZM9.29681 17.9007V17.8637C9.45953 17.8637 9.62225 17.864 9.78497 17.8645L10.1925 17.8659C10.865 17.8683 11.5375 17.8707 12.2101 17.8609C12.8817 17.8523 13.5588 17.841 14.2197 17.6816C15.5711 17.3545 16.4208 16.4896 16.7472 15.0615C16.9225 14.2914 16.9303 13.5025 16.938 12.7182L16.9387 12.6463C16.9576 11.0332 16.9522 9.42306 16.9495 7.81002L16.9492 7.70217V7.70144C16.9468 6.78152 16.9444 5.85946 16.8146 4.94527C16.5907 3.355 15.6547 2.30245 14.1684 1.96676C13.4849 1.81283 12.7868 1.80239 12.0925 1.79201L11.9808 1.79037C10.9145 1.77407 9.84643 1.77492 8.77951 1.77578C8.54278 1.77596 8.30609 1.77615 8.06949 1.77615L7.83148 1.77602C6.84225 1.77523 5.85129 1.77444 4.86491 1.89559C4.27417 1.96676 3.7104 2.14315 3.21138 2.49874C2.448 3.04494 2.02449 3.82156 1.84917 4.76321C1.71429 5.48012 1.6981 6.20553 1.6954 6.92812C1.68732 9.00771 1.6981 11.0902 1.70889 13.1726C1.71159 13.7842 1.74127 14.3958 1.87074 14.9961C2.1324 16.2223 2.78787 17.0956 3.92351 17.5365C4.51425 17.7641 5.13196 17.8267 5.75238 17.8438C6.35205 17.8539 6.95312 17.8633 7.55453 17.8727L8.397 17.8859C8.69702 17.8907 8.99701 17.8956 9.29681 17.9007ZM14.0991 9.82156C14.1018 12.5868 11.9654 14.8541 9.37317 14.8769C6.71078 14.8996 4.52855 12.6266 4.53125 9.83297C4.53665 7.05355 6.66495 4.78902 9.28146 4.78615C11.9546 4.77767 14.0964 7.01937 14.0991 9.82156ZM9.31653 13.0988C11.024 13.1159 12.451 11.6081 12.424 9.75899C12.3997 8.00368 11.0024 6.55001 9.29495 6.55282C7.57937 6.55569 6.20907 8.02932 6.21176 9.87276C6.21716 11.6451 7.61984 13.1045 9.31653 13.0988ZM14.2928 3.39846C13.6859 3.39565 13.176 3.93044 13.1733 4.57052C13.1733 5.22201 13.6697 5.75686 14.2739 5.75686C14.9105 5.75967 15.4095 5.23336 15.4068 4.55917C15.4068 3.93044 14.8997 3.40133 14.2928 3.39846Z"
/>
</svg>
</i>
</a>
{/* Newsletter */}
<a
className={`
Expand Down Expand Up @@ -275,9 +180,7 @@ const Footer = ({ setIsTelemetryModalVisible }) => {
</a>
</section>
<div className={styles.Copyright}>
<span>
Copyright &copy; {new Date().getFullYear()}, Streamlit Inc.
</span>
<span>&copy; {new Date().getFullYear()} Snowflake Inc.</span>
<button
className="hover:opacity-80 ml-2"
onClick={() => setIsTelemetryModalVisible(true)}
Expand Down
9 changes: 0 additions & 9 deletions components/navigation/footer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@
@apply fill-brand-GitHub;
}

.IconLink:hover .RedditIcon {
@apply fill-brand-Reddit;
}

.IconLink:hover .YouTubeIcon {
@apply fill-brand-YouTube;
}
Expand All @@ -63,11 +59,6 @@
@apply fill-brand-LinkedIn;
}

.IconLink:hover .InstagramIcon,
.IconLink:hover .MediumIcon {
@apply fill-brand-mono;
}

.IconLink:hover .NewsletterIcon path {
@apply stroke-red-70;
}
Expand Down
92 changes: 0 additions & 92 deletions components/utilities/socialCallout.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,36 +35,6 @@ const SocialCallout = () => {
</article>
</a>
</li>
{/* Reddit */}
<li className={`group ${styles.ListItem}`}>
<a
className={`${styles.Link} not-link`}
href="https://www.reddit.com/r/StreamlitOfficial/"
target="_blank"
>
<div className={`${styles.IconContainer} ${styles.Reddit}`}>
<svg
width="113.8"
height="101.6"
viewBox="0 0 113.8 101.6"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={styles.Icon}
>
<path
d="m 113.8,51.7 c 0,-6.9 -5.6,-12.5 -12.5,-12.5 -3.4,0 -6.4,1.3 -8.6,3.5 C 84.2,36.6 72.4,32.6 59.4,32.1 L 65.1,5.4 83.6,9.3 c 0.2,4.7 4.1,8.5 8.9,8.5 4.9,0 8.9,-4 8.9,-8.9 C 101.4,4 97.4,0 92.5,0 89,0 86,2 84.6,5 L 63.9,0.6 c -0.6,-0.1 -1.2,0 -1.7,0.3 -0.5,0.3 -0.8,0.8 -1,1.4 L 54.9,32.1 C 41.6,32.5 29.7,36.4 21.1,42.7 18.9,40.6 15.8,39.2 12.5,39.2 5.6,39.2 0,44.8 0,51.7 c 0,5.1 3,9.4 7.4,11.4 -0.2,1.2 -0.3,2.5 -0.3,3.8 0,19.2 22.3,34.7 49.9,34.7 27.6,0 49.9,-15.5 49.9,-34.7 0,-1.3 -0.1,-2.5 -0.3,-3.7 4.1,-2 7.2,-6.4 7.2,-11.5 z m -85.5,8.9 c 0,-4.9 4,-8.9 8.9,-8.9 4.9,0 8.9,4 8.9,8.9 0,4.9 -4,8.9 -8.9,8.9 -4.9,0 -8.9,-4 -8.9,-8.9 z M 78,84.1 c -6.1,6.1 -17.7,6.5 -21.1,6.5 -3.4,0 -15.1,-0.5 -21.1,-6.5 -0.9,-0.9 -0.9,-2.4 0,-3.3 0.9,-0.9 2.4,-0.9 3.3,0 3.8,3.8 12,5.2 17.9,5.2 5.9,0 14,-1.4 17.9,-5.2 0.9,-0.9 2.4,-0.9 3.3,0 0.7,1 0.7,2.4 -0.2,3.3 z M 76.4,69.5 c -4.9,0 -8.9,-4 -8.9,-8.9 0,-4.9 4,-8.9 8.9,-8.9 4.9,0 8.9,4 8.9,8.9 0,4.9 -4,8.9 -8.9,8.9 z"
fill="#FFFFFF"
/>
</svg>
</div>
<article>
<h5 className={styles.Subtitle}>Reddit</h5>
<p className={styles.Text}>
Join our newest community on Reddit to discuss Streamlit.
</p>
</article>
</a>
</li>
{/* YouTube */}
<li className={`group ${styles.ListItem}`}>
<a
Expand Down Expand Up @@ -95,36 +65,6 @@ const SocialCallout = () => {
</article>
</a>
</li>
{/* Medium */}
<li className={`group ${styles.ListItem}`}>
<a
className={`${styles.Link} not-link`}
href="https://medium.com/streamlit"
target="_blank"
>
<div className={`${styles.IconContainer} ${styles.Medium}`}>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={styles.Icon}
>
<path
d="M13.537 11.828c0 3.77-3.03 6.827-6.768 6.827S0 15.598 0 11.828 3.03 5 6.769 5c3.738 0 6.768 3.057 6.768 6.828ZM20.964 11.828c0 3.55-1.515 6.428-3.384 6.428-1.87 0-3.385-2.879-3.385-6.428 0-3.55 1.515-6.428 3.384-6.428 1.87 0 3.385 2.878 3.385 6.428M24.002 11.829c0 3.179-.533 5.758-1.19 5.758-.658 0-1.19-2.578-1.19-5.758s.532-5.759 1.19-5.759c.656 0 1.19 2.578 1.19 5.759Z"
fill="#FFFFFF"
/>
</svg>
</div>
<article>
<h5 className={styles.Subtitle}>Medium</h5>
<p className={styles.Text}>
Follow our open Medium publication about all things Streamlit.
</p>
</article>
</a>
</li>
{/* Twitter */}
<li className={`group ${styles.ListItem}`}>
<a
Expand Down Expand Up @@ -185,38 +125,6 @@ const SocialCallout = () => {
</article>
</a>
</li>
{/* Instagram */}
<li className={`group ${styles.ListItem}`}>
<a
className={`${styles.Link} not-link`}
href="https://www.instagram.com/streamlit.io"
target="_blank"
>
<div className={`${styles.IconContainer} ${styles.Instagram}`}>
<svg
width="19"
height="20"
viewBox="0 0 19 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={styles.Icon}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8.82611 19.637C8.68561 19.6375 8.54507 19.6381 8.40451 19.6388C7.73077 19.6419 7.05655 19.6449 6.38357 19.6332C5.57165 19.619 4.75702 19.5933 3.96127 19.3885C2.58287 19.0358 1.50659 18.2478 0.791761 16.9477C0.411421 16.2535 0.206419 15.494 0.1201 14.7002C0.00283629 13.6378 0.00233275 12.5687 0.00182921 11.5008C0.00176817 11.3648 0.00170714 11.2289 0.00140196 11.093C-0.00128358 9.77016 -0.00128358 8.44729 0.0121899 7.12441C0.0202923 6.28237 0.0337811 5.43746 0.168654 4.60104C0.419508 3.07626 1.09927 1.8359 2.3428 0.979575C3.05491 0.490257 3.85068 0.205772 4.69227 0.137534C5.67685 0.0578835 6.66681 0.0237038 7.65408 0.00948261C9.09183 -0.00760724 10.5323 0.000937685 11.97 0.0151589C12.7927 0.0237038 13.6154 0.0407936 14.4274 0.211448C15.9218 0.524436 17.0952 1.32949 17.8558 2.74056C18.2658 3.50008 18.4682 4.33651 18.5383 5.20418C18.6354 6.39468 18.6342 7.58987 18.6329 8.78548L18.6327 9.1841C18.6327 10.413 18.6327 11.6392 18.6138 12.8682C18.6003 13.7188 18.5841 14.5751 18.3926 15.4115C17.9206 17.474 16.7229 18.8025 14.7754 19.3601C14.0902 19.5564 13.3862 19.6048 12.6794 19.619C12.2525 19.6276 11.8257 19.6351 11.3989 19.6419C10.9863 19.6485 10.5737 19.6546 10.1615 19.6605C9.88211 19.6646 9.60287 19.6687 9.32379 19.673V19.636C9.15796 19.636 8.99206 19.6364 8.82611 19.637ZM9.29681 17.9007V17.8637C9.45953 17.8637 9.62225 17.864 9.78497 17.8645L10.1925 17.8659C10.865 17.8683 11.5375 17.8707 12.2101 17.8609C12.8817 17.8523 13.5588 17.841 14.2197 17.6816C15.5711 17.3545 16.4208 16.4896 16.7472 15.0615C16.9225 14.2914 16.9303 13.5025 16.938 12.7182L16.9387 12.6463C16.9576 11.0332 16.9522 9.42306 16.9495 7.81002L16.9492 7.70217V7.70144C16.9468 6.78152 16.9444 5.85946 16.8146 4.94527C16.5907 3.355 15.6547 2.30245 14.1684 1.96676C13.4849 1.81283 12.7868 1.80239 12.0925 1.79201L11.9808 1.79037C10.9145 1.77407 9.84643 1.77492 8.77951 1.77578C8.54278 1.77596 8.30609 1.77615 8.06949 1.77615L7.83148 1.77602C6.84225 1.77523 5.85129 1.77444 4.86491 1.89559C4.27417 1.96676 3.7104 2.14315 3.21138 2.49874C2.448 3.04494 2.02449 3.82156 1.84917 4.76321C1.71429 5.48012 1.6981 6.20553 1.6954 6.92812C1.68732 9.00771 1.6981 11.0902 1.70889 13.1726C1.71159 13.7842 1.74127 14.3958 1.87074 14.9961C2.1324 16.2223 2.78787 17.0956 3.92351 17.5365C4.51425 17.7641 5.13196 17.8267 5.75238 17.8438C6.35205 17.8539 6.95312 17.8633 7.55453 17.8727L8.397 17.8859C8.69702 17.8907 8.99701 17.8956 9.29681 17.9007ZM14.0991 9.82156C14.1018 12.5868 11.9654 14.8541 9.37317 14.8769C6.71078 14.8996 4.52855 12.6266 4.53125 9.83297C4.53665 7.05355 6.66495 4.78902 9.28146 4.78615C11.9546 4.77767 14.0964 7.01937 14.0991 9.82156ZM9.31653 13.0988C11.024 13.1159 12.451 11.6081 12.424 9.75899C12.3997 8.00368 11.0024 6.55001 9.29495 6.55282C7.57937 6.55569 6.20907 8.02932 6.21176 9.87276C6.21716 11.6451 7.61984 13.1045 9.31653 13.0988ZM14.2928 3.39846C13.6859 3.39565 13.176 3.93044 13.1733 4.57052C13.1733 5.22201 13.6697 5.75686 14.2739 5.75686C14.9105 5.75967 15.4095 5.23336 15.4068 4.55917C15.4068 3.93044 14.8997 3.40133 14.2928 3.39846Z"
fill="#FFFFFF"
/>
</svg>
</div>
<article>
<h5 className={styles.Subtitle}>Instagram</h5>
<p className={styles.Text}>
Follow @streamlit.io on Instagram for more updates and content.
</p>
</article>
</a>
</li>
{/* Newsletter */}
<li className={`group ${styles.ListItem}`}>
<a
Expand Down
17 changes: 0 additions & 17 deletions components/utilities/socialCallout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,10 @@
@apply bg-brand-GitHub;
}

.Reddit {
@apply bg-brand-Reddit;
}

.YouTube {
@apply bg-brand-YouTube;
}

.Medium {
@apply bg-brand-mono;
}

.Twitter {
@apply bg-brand-Twitter;
}
Expand All @@ -64,15 +56,6 @@
@apply bg-brand-LinkedIn;
}

.Instagram {
background-image: linear-gradient(
40.67deg,
#f7cc3e 6.51%,
#ef4a6e 49.3%,
#972aaa 100%
);
}

.Newsletter {
@apply bg-red-70;
}

0 comments on commit 4f1c7ce

Please sign in to comment.