Skip to content

Commit a4c6fe9

Browse files
committed
updated examples
1 parent b4e0381 commit a4c6fe9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/components/MyComponent/index.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ export const MyComponent: FunctionComponent<MyProps> = ({ foo }) => {
3333
</ul>
3434
</section>
3535
<MyOtherComponent baz={count} />
36+
<footer>
37+
<span>source code of this website:</span>{" "}
38+
<a href="https://github.com/fullsoak/bun-examples.git">
39+
https://github.com/fullsoak/deno-examples
40+
</a>
41+
</footer>
3642
</>
3743
);
3844
};

src/components/Shared/styles.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@ html, body {
33
padding: 0;
44
font-family: monospace;
55
}
6+
7+
footer {
8+
padding: 1em;
9+
position: fixed;
10+
bottom: 0;
11+
background: white;
12+
z-index: 1;
13+
}

0 commit comments

Comments
 (0)