Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix onboardflow and all image alts #150

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/builddao/widget/OnboardingFlow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function OnboardingFlow() {
<h3>Welcome!</h3>
<div>
<p className="text-muted">First off, follow our DAO</p>
<Container className="d-flex justify-content-between align-items-center py-3 px-4">
<Container className="d-flex justify-content-center align-items-center gap-2 flex-wrap py-3 px-4">
<Widget
src="mob.near/widget/Profile.ShortInlineBlock"
props={{ accountId: daoID }}
Expand Down Expand Up @@ -248,9 +248,10 @@ function OnboardingFlow() {
<img
src="https://ipfs.near.social/ipfs/bafkreihbwho3qfvnu4yss3eh5jrx6uxhrlzdgtdjyzyjrpa6odro6wdxya"
width={120}
alt="Build DAO Logo"
/>
</div>
<div style={{ width: "500px" }}>
<div style={{ width: "100%", maxWidth: "500px" }}>
<StepsComponent />
</div>
<Button
Expand Down
2 changes: 2 additions & 0 deletions apps/builddao/widget/components/navigation/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const AppHeader = ({ page, routes, ...props }) => (
<img
style={{ width: 85, objectFit: "cover" }}
src="https://ipfs.near.social/ipfs/bafkreihbwho3qfvnu4yss3eh5jrx6uxhrlzdgtdjyzyjrpa6odro6wdxya"
alt="Build DAO Logo"
/>
</Link>
<ButtonGroup style={{ flex: 1 }}>
Expand Down Expand Up @@ -145,6 +146,7 @@ const AppHeader = ({ page, routes, ...props }) => (
<img
style={{ width: 85, objectFit: "cover" }}
src="https://ipfs.near.social/ipfs/bafkreihbwho3qfvnu4yss3eh5jrx6uxhrlzdgtdjyzyjrpa6odro6wdxya"
alt="Build DAO Logo"
/>
</Link>
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const uploadFile = (files) => {
return (
<>
{img ? (
<img src={`https://ipfs.near.social/ipfs/${img}`} />
<img src={`https://ipfs.near.social/ipfs/${img}`} alt="Image Preview" />
) : (
<Widget
src="mob.near/widget/Image"
Expand Down
2 changes: 1 addition & 1 deletion apps/builddao/widget/home/goals.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const GridItem = ({ tag, title, description, image, isFirst }) => {
return (
<Card>
<div className="image">
<img src={image} />
<img src={image} alt="Item Image" />
</div>
<div className="content">
<span className="tag">{tag}</span>
Expand Down
10 changes: 8 additions & 2 deletions apps/builddao/widget/login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,19 @@ const LoginView = () => {
return (
<LoginContainer>
<div className="card">
<img src="https://ipfs.near.social/ipfs/bafkreihbwho3qfvnu4yss3eh5jrx6uxhrlzdgtdjyzyjrpa6odro6wdxya" />
<img
src="https://ipfs.near.social/ipfs/bafkreihbwho3qfvnu4yss3eh5jrx6uxhrlzdgtdjyzyjrpa6odro6wdxya"
alt="Build DAO Logo"
/>
<h1>
Designed to connect and empower builders in a multi-chain ecosystem
</h1>
<button onClick={props.requestSignIn}>Login</button>
</div>
<img src="https://ipfs.near.social/ipfs/bafybeibqnkvafyflci4iap73prugmjw4wlwmrazbiudvnsyr34yzmk75i4" />
<img
src="https://ipfs.near.social/ipfs/bafybeibqnkvafyflci4iap73prugmjw4wlwmrazbiudvnsyr34yzmk75i4"
alt="Preview of Profiles"
/>
</LoginContainer>
);
};
Expand Down