Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #140 from david-ponc/add-some-elements-web
Browse files Browse the repository at this point in the history
style 💅: (chore) Add some elements to website
  • Loading branch information
nachoaldamav authored Oct 26, 2022
2 parents 67c43e0 + 7eb4b71 commit 40e2632
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 24 deletions.
65 changes: 46 additions & 19 deletions apps/landing/app/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,22 +96,23 @@ export default function Index() {
This demo shows how shared dependencies are handled.
</p>
</div>
<div style={{ paddingTop: "35%", position: "relative", width: "65%" }}>
<iframe
src="https://player.vimeo.com/video/759983180?h=1ac1372daa&title=0&byline=0&portrait=0"
style={{
position: "absolute",
top: 0,
left: 0,
width: "100%",
height: "100%",
borderRadius: "10px",
}}
frameBorder="0"
allow="autoplay; fullscreen; picture-in-picture"
allowFullScreen={true}
></iframe>
</div>
<iframe
src="https://player.vimeo.com/video/759983180?h=1ac1372daa&title=0&byline=0&portrait=0"
style={{
// position: "absolute",
aspectRatio: "16/9",
top: 0,
left: 0,
width: "65%",
height: "100%",
borderRadius: "10px",
overflow: "hidden",
}}
className="shadow-xl"
frameBorder="0"
allow="autoplay; fullscreen; picture-in-picture"
allowFullScreen={true}
></iframe>
<script src="https://player.vimeo.com/api/player.js"></script>
</section>
<section
Expand Down Expand Up @@ -151,15 +152,41 @@ export default function Index() {
<h2 className="text-xl font-bold text-white">
Do you want to know more?
</h2>
<Link to={"/docs/get-started"}>
<a className="get-started-button w-fit">
<nav className="flex items-center gap-4">
<Link
to={"/docs/get-started"}
className="get-started-button self-start"
>
<span className="get-started-text text-lg font-semibold">
Get started
</span>
</Link>
<a
href="https://github.com/nachoaldamav/ultra"
target="_blank"
rel="noopener noreferrer"
className="bg-white/5 px-6 py-3 rounded-md text-neutral-400 text-lg"
>
View on Github
</a>
</Link>
</nav>
</div>
</section>
<footer className="w-full">
<div className="w-full max-w-[65%] flex items-center justify-end mx-auto py-6">
<p className="text-sm font-medium text-neutral-500">
Designed by{" "}
<a
href="https://davidponc.dev/"
target="_blank"
rel="noopener noreferrer"
className="text-neutral-400"
>
davidponc
</a>
</p>
</div>
</footer>
</div>
);
}
10 changes: 5 additions & 5 deletions apps/landing/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
top: 0;
bottom: 0;
margin: auto 0;
width: calc(100% - 4px);
height: calc(100% - 5px);
width: calc(100% - 2px);
height: calc(100% - 4px);
}

.ultra-graph-border {
Expand Down Expand Up @@ -99,9 +99,9 @@
gap: 8px;

background: rgba(0, 0, 0, 0.1);
border: 2px solid rgba(255, 255, 255, 0.05);
border: 1.25px solid rgba(255, 255, 255, 0.08);
box-shadow: 0px 12px 32px rgba(62, 59, 146, 0.14);
border-radius: 8px;
border-radius: 12px;
}

.snippet-icon {
Expand All @@ -115,7 +115,7 @@
flex-direction: row;
justify-content: center;
align-items: center;
padding: 12px 16px;
padding: 12px 24px;
gap: 10px;

background: linear-gradient(
Expand Down

1 comment on commit 40e2632

@vercel
Copy link

@vercel vercel bot commented on 40e2632 Oct 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.