Skip to content

Commit

Permalink
minor styling and cleanup; replacing branding
Browse files Browse the repository at this point in the history
  • Loading branch information
saucepoint committed Oct 18, 2023
1 parent 1ca8085 commit 575af94
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# solidity-by-example.github.io

[Solidity By Example](https://solidity-by-example.org)
[Uniswap v4 by Example](https://solidity-by-example.org)

### License

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<script src="https://use.fontawesome.com/ba3dde78ee.js"></script>
<link rel="manifest" href="/manifest.json" />
<title>Solidity by Example</title>
<title>Uniswap v4 by Example</title>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script
Expand Down
2 changes: 1 addition & 1 deletion src/components/Example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Example: React.FC<Props> = ({
return (
<div className={styles.component}>
<SEO
title={`${title} | Solidity by Example | ${version}`}
title={`${title} | Uniswap v4 by Example | ${version}`}
description={description}
/>
<div className={styles.content}>
Expand Down
19 changes: 10 additions & 9 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ function Footer() {
return (
<div className={styles.component}>
<div className={styles.row}>
<img src={sce} alt="smart contract engineer" className={styles.sce} />
<a href="https://www.smartcontract.engineer" target="__blank">
Smart Contract Engineer
{/* <img src={sce} alt="smart contract engineer" className={styles.sce} /> */}
<span>👽&nbsp;</span>
<a href="http://saucepoint.wtf" target="__blank">
saucepoint
</a>
</div>
<div className={styles.social}>
{/* <div className={styles.social}>
<div className={styles.row}>
<img src={discord} alt="discord" className={styles.discord} />
<a href="https://discord.gg/bt8FK2wkcW" target="__blank">
Expand All @@ -39,7 +40,7 @@ function Footer() {
YouTube
</a>
</div>
</div>
</div> */}
<div className={styles.row}>
Donate
<span>🙂</span>
Expand All @@ -51,21 +52,21 @@ function Footer() {
Khan Academy
</a>
</div>
<div className={styles.row}>
{/* <div className={styles.row}>
<a href="mailto:[email protected]">
[email protected]
</a>
</div>
</div> */}
<div className={styles.row}>
<a
href="https://github.com/solidity-by-example/solidity-by-example.github.io"
href="https://github.com/saucepoint/v4-by-example"
target="__blank"
>
source
</a>
<div className={styles.bar}>|</div>
<a
href="https://github.com/solidity-by-example/solidity-by-example.github.io/blob/gh-pages/LICENSE"
href="https://github.com/saucepoint/v4-by-example/blob/gh-pages/LICENSE"
target="__blank"
>
license
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Header() {
</a>
<h3 className={styles.header}>
<a href="/" className={styles.a}>
Solidity by Example
Uniswap v4 by Example
</a>
</h3>
</div>
Expand Down
20 changes: 5 additions & 15 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ import youTube from "../components/youtube.png"
import { ROUTES, ROUTES_BY_CATEGORY, TRANSLATIONS } from "../nav"

const UPDATES = [
"2023/09/06 - Assembly binary exponentiation",
"2023/08/20 - Solidity 0.8.20",
"2023/07/29 - GitHub PR harkeshbirman",
"2023/07/12 - Spanish translation",
"2023/10/18 - Initial V4 Snippets",
]

export default function HomePage() {
Expand Down Expand Up @@ -114,26 +111,19 @@ export default function HomePage() {
return (
<div className={styles.component}>
<SEO
title="Solidity by Example | 0.8.20"
description="Learn smart contract programming using Solidity"
title="Uniswap v4 by Example | 0.8.20"
description="Learn Uniswap v4 using Solidity"
/>
<h1 className={styles.header}>
<a href="/">Solidity by Example</a>
<a href="/">Uniswap v4 by Example</a>
</h1>
<div className={styles.subHeader}>v 0.8.20</div>
<div className={styles.main}>
<p>
an introduction to <a href="https://solidity.readthedocs.io">Solidity</a> with
an introduction to integrating and using <a href="https://github.com/uniswap/v4-core">Uniswap v4</a> with
simple examples
</p>

<div className={styles.youTube}>
<img src={youTube} alt="logo" className={styles.youTubeLogo} />
<a href="https://www.youtube.com/@smartcontractprogrammer" target="__blank">
Most code are explained here
</a>
</div>

<div className={styles.updates}>
{UPDATES.map((text, i) => (
<div key={i}>{text}</div>
Expand Down

0 comments on commit 575af94

Please sign in to comment.