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

feat: added ambassador video Issue #1546 #1548

Merged
merged 7 commits into from
Apr 13, 2023
Merged
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
27 changes: 6 additions & 21 deletions pages/community/ambassadors/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {sortBy} from 'lodash';
import { sortBy } from 'lodash';
import Button from '../../../components/buttons/Button';
import GenericLayout from '../../../components/layout/GenericLayout';
import Heading from '../../../components/typography/Heading';
Expand Down Expand Up @@ -77,25 +77,10 @@ function Index() {
</div>
</div>
<div className="mt-20">
<div className="w-full h-[400px] bg-ambassadorCover bg-cover bg-center rounded-lg flex flex-col justify-end">
<div className="text-gray-700 p-2">
Photo by{' '}
<a
href="https://unsplash.com/@headwayio?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"
target="_blank"
rel="noreferrer"
>
Headway
</a>{' '}
on{' '}
<a
href="https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText"
target="_blank"
rel="noreferrer"
>
Unsplash
</a>
</div>
<div className="aspect-w-16 aspect-h-9 bg-center">
<iframe src="https://www.youtube.com/embed/3rg_7hIb9PQ"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
></iframe>
</div>
<div className="flex justify-center">
<div className="text-center mt-10 lg:w-[55%]">
Expand Down Expand Up @@ -159,7 +144,7 @@ function Index() {
as={`ambassadors/${ambassador.github}`}
>
<div className="p-2">
<div className="w-full h-auto bg-center bg-center rounded-md cursor-pointer">
<div className="w-full h-auto bg-center rounded-md cursor-pointer">
<img
src={ambassador.img}
alt={ambassador.name}
Expand Down