Skip to content

Commit

Permalink
Merge pull request #92 from adatainment/fixes
Browse files Browse the repository at this point in the history
Various Fixes
  • Loading branch information
gufmar authored Aug 6, 2024
2 parents e590f77 + 055872d commit 4436235
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion blog/2023-02-17-cf-core-focus-areas/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ The Cardano Foundation focuses on transparency, governance, and accountability i
[**Read more**](https://cardanofoundation.org/en/news/cardano-foundation-core-focus-areas/)
</div>

<iframe width="560" height="315" src="https://www.youtube.com/embed/89d8t72C4Uk?si=dgiGOXAEtCnAP-66" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/89d8t72C4Uk?si=dgiGOXAEtCnAP-66" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Video of the Governance Workshop held in San Diego, focusing on best practices a
[**Watch now**](https://www.youtube.com/watch?v=-DGqW0KN0Bg)
</div>

<iframe width="560" height="315" src="https://www.youtube.com/embed/-DGqW0KN0Bg?si=yrJYjW-ydNGne1Zn" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/-DGqW0KN0Bg?si=yrJYjW-ydNGne1Zn" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ The roundtable discussion features Pi Lanningham and Arnaud Bailly exploring the
[**Watch now**](https://www.youtube.com/watch?v=vpXS9lgL6BA)
</div>

<iframe width="560" height="315" src="https://www.youtube.com/embed/vpXS9lgL6BA?si=VjHBGaJbRZ4WkJSB" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/vpXS9lgL6BA?si=VjHBGaJbRZ4WkJSB" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Lloyd Duhon breaks down the Cardano Blockchain Interim Constitution, covering it
[**Watch now**](https://www.youtube.com/watch?v=4T44WB46wGU)
</div>

<iframe width="560" height="315" src="https://www.youtube.com/embed/4T44WB46wGU?si=S2ubyhKCoEf5NjdA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/4T44WB46wGU?si=S2ubyhKCoEf5NjdA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Lloyd Duhon discusses the recent DDoS attack on Cardano. Despite the attack, the
[**Watch now**](https://youtu.be/MYcnCRfl6AI)
</div>

<iframe width="560" height="315" src="https://www.youtube.com/embed/MYcnCRfl6AI?si=TG9s2VjXqAr_aZrF" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/MYcnCRfl6AI?si=TG9s2VjXqAr_aZrF" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Discover the future of Cardano governance with Lloyd Duhon, covering the Chang u
[**Watch now**](https://www.youtube.com/watch?v=7tvmRxSUTEs)
</div>

<iframe width="560" height="315" src="https://www.youtube.com/embed/7tvmRxSUTEs?si=uSvOAB0-I4SBzoGK" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/7tvmRxSUTEs?si=uSvOAB0-I4SBzoGK" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Activates the browser's built-in cross-site scripting (XSS) filter and blocks responses if an attack is detected.
X-XSS-Protection = "1; mode=block"
# Ensures that only trusted content is executed and styled. TODO: Consider using nonces or hashes for inline scripts instead of unsafe-inline.
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' https://cardano.org https://new-cardano-org-staging.netlify.app https://www.googletagmanager.com https://js.hsforms.net https://forms.hsforms.com https://www.google.com https://www.gstatic.com; img-src 'self' https://cardano.org https://new-cardano-org-staging.netlify.app https://forms.hsforms.com https://forms-eu1.hsforms.com data: https://*.ytimg.com; style-src 'self' 'unsafe-inline'; frame-src 'self' https://www.youtube.com https://www.google.com https://*.hsforms.com; media-src 'self' https://www.youtube.com; connect-src 'self' https://hubspot-forms-static-embed.s3.amazonaws.com https://*.hsforms.com https://*.google-analytics.com"
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' https://cardano.org https://new-cardano-org-staging.netlify.app https://www.googletagmanager.com https://js.hsforms.net https://forms.hsforms.com https://www.google.com https://www.gstatic.com; img-src 'self' https://cardano.org https://new-cardano-org-staging.netlify.app https://forms.hsforms.com https://forms-eu1.hsforms.com data: https://*.ytimg.com; style-src 'self' 'unsafe-inline'; frame-src 'self' https://www.youtube.com https://youtube-nocookie.com https://www.google.com https://*.hsforms.com; media-src 'self' https://www.youtube.com https://youtube-nocookie.com; connect-src 'self' https://hubspot-forms-static-embed.s3.amazonaws.com https://*.hsforms.com https://*.google-analytics.com"
# Enforces secure connections via HTTPS, protecting against certain types of man-in-the-middle attacks.
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
# Controls information provided as the HTTP Referer header when navigating from your site, enhancing privacy and security.
Expand Down
2 changes: 1 addition & 1 deletion src/components/HowToBuyAdaSection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function HowToBuyAdaSection() {
<div className={clsx("col col--6", styles.rightColumn)}>
<p>
There are many ways to obtain ada to use the Cardano blockchain.
Find out on <Link to="where-to-get-ada">where to get ada?</Link>
Find out on <Link to="/where-to-get-ada">where to get ada?</Link>
</p>
<p>
As an ada holder, it is important to keep your funds secure, and
Expand Down
2 changes: 1 addition & 1 deletion src/components/Layout/WelcomeHero/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function WelcomeHero({ title, description }) {
className={clsx("button button--primary button--lg", styles.button)}
to="/where-to-get-ada"
>
Where to get Ada?
Where to get ada?
</Link>
<Link
className={clsx("button button--primary button--lg", styles.button)}
Expand Down
2 changes: 2 additions & 0 deletions src/pages/what-is-ada.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import HowToBuyAdaSection from "@site/src/components/HowToBuyAdaSection";
import WalletSection from "@site/src/components/WalletSection";
import BoundaryBox from "@site/src/components/Layout/BoundaryBox";
import OpenGraphImage from "@site/src/components/Layout/OpenGraphImage";
import SpacerBox from "@site/src/components/Layout/SpacerBox";

function HomepageHeader() {
const { siteTitle } = "useDocusaurusContext()";
Expand Down Expand Up @@ -55,6 +56,7 @@ export default function Home() {
<BoundaryBox>
<WalletSection />
</BoundaryBox>
<SpacerBox size="medium" />
</main>
</Layout>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/where-to-get-ada.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function Home() {
title="Receive ada"
text={[

"Before receiving or buying ADA, you need to set up a [Cardano wallet](what-is-ada#wallets).", "Once you have a [Cardano wallet](what-is-ada#wallets), all you need to do is share your address to start sending and receiving [ada](what-is-ada) (and other native tokens) peer-to-peer.",
"Before receiving or buying [ada](what-is-ada), you need to set up a [Cardano wallet](what-is-ada#wallets).", "Once you have a [Cardano wallet](what-is-ada#wallets), all you need to do is share your address to start sending and receiving [ada](what-is-ada) (and other native tokens) peer-to-peer.",
"Some [wallets](what-is-ada#wallets) let you purchase crypto with a debit/credit card, bank transfer, or Apple Pay. Availability depends on your location."

]}
Expand Down

0 comments on commit 4436235

Please sign in to comment.