Skip to content

Commit

Permalink
Update Misc. Front-end Content (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay authored Sep 25, 2024
1 parent d1122e6 commit eb3d828
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion server/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mina-ocv"
version = "0.9.0"
version = "0.10.0"
edition = "2021"

[dependencies]
Expand Down
7 changes: 4 additions & 3 deletions web/common/config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
export const siteConfig = {
title: 'mina.vote',
url: 'https://mina.vote/',
title: 'Mina On-chain Voting',
url: 'https://on-chain-voting.minaprotocol.network/',
nav: [
{
title: 'FAQ',
href: 'https://forums.minaprotocol.com/t/on-chain-voting-frequently-asked-questions-faq/5959',
},
],
links: {
github: 'https://github.com/Granola-Team/mina-on-chain-voting',
github: 'https://github.com/MinaFoundation/mina-on-chain-voting',
granola: 'https://granola.team',
minaFoundation: 'https://www.minafoundation.com',
FAQ: 'https://forums.minaprotocol.com/t/on-chain-voting-frequently-asked-questions-faq/5959',
},
};
Expand Down
1 change: 1 addition & 0 deletions web/components/layout-footer.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ describe(TestVariant.Component, () => {
it('renders component', () => {
const gLink = screen.getByRole('link', { name: /Granola/i });
expect(gLink).toHaveAttribute('href', siteConfig.links.granola);
expect(gLink).toHaveAttribute('href', siteConfig.links.minaFoundation);
expect(gLink).toBeVisible();
});
});
Expand Down
10 changes: 9 additions & 1 deletion web/components/layout-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@ export const Footer = () => {
>
Granola
</a>
.
{" and "}
<a
href={siteConfig.links.minaFoundation}
target="_blank"
rel="noreferrer"
className="font-medium underline underline-offset-4 text-logoOrange"
>
Mina Foundation
</a>
</p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mina-ocv-web",
"version": "0.9.0",
"version": "0.10.0",
"private": true,
"engines": {
"node": ">=18.0.0",
Expand Down

0 comments on commit eb3d828

Please sign in to comment.