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

Homepage Redesign and Updates #808

Merged
merged 40 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
372a054
initial push
darickdang Nov 14, 2024
32898c1
Double video
darickdang Nov 14, 2024
dfc122c
Intro section
darickdang Nov 14, 2024
50c6b6a
asset updates
darickdang Nov 15, 2024
96296de
glow text
darickdang Nov 16, 2024
378c532
Updated assets
darickdang Nov 17, 2024
57dc643
updated header
darickdang Nov 17, 2024
66a1102
Homepage Rework
darickdang Nov 19, 2024
1b9e9d2
Cleaner homepage
darickdang Nov 20, 2024
579bd7f
responsive updates
darickdang Nov 21, 2024
04b652f
Layout cleanup
darickdang Nov 22, 2024
892f35b
Accordion added
darickdang Nov 26, 2024
ebf4bc4
illustration updates and accordion add
darickdang Dec 2, 2024
d219195
Design pause
darickdang Dec 2, 2024
bfda995
quick responsive push for status
darickdang Dec 4, 2024
3f62cac
responsive fixes
darickdang Dec 5, 2024
f1ab3da
responsive fixes
darickdang Dec 5, 2024
f715de5
color fixes
darickdang Dec 5, 2024
1077127
quick fix
darickdang Dec 5, 2024
fb2610e
responsive polish
darickdang Dec 5, 2024
ba47743
Fixes and content updates
darickdang Dec 5, 2024
d35cd28
logos
darickdang Dec 5, 2024
59b4ce9
spacing fix
darickdang Dec 5, 2024
48ccd67
Links added
darickdang Dec 5, 2024
5cb4748
small spacing fix
darickdang Dec 5, 2024
69c7c2d
hero alignment issues
darickdang Dec 5, 2024
bcd267d
Link updates
darickdang Dec 5, 2024
d0ada5a
Copy updates
darickdang Dec 5, 2024
1f117ab
Merge branch 'main' into homepage-redesign
darickdang Dec 5, 2024
0b14213
Copy updates
darickdang Dec 5, 2024
0c579b9
Removed dark mode, updated copy, fixed overflow on mobile
darickdang Dec 5, 2024
b3fcadb
alignment fix
darickdang Dec 5, 2024
9456eaa
Updated links, added logo
darickdang Dec 6, 2024
cb94fab
Logo resolution update
darickdang Dec 6, 2024
edaadbb
logo scroll fix
darickdang Dec 6, 2024
6c1994b
Looping fix
darickdang Dec 6, 2024
545bfb3
Responsive margin hot fix
darickdang Dec 6, 2024
51bf4d6
Removing unnecessary assets
darickdang Dec 6, 2024
9049450
Updated links, dark mode hide
darickdang Dec 6, 2024
93763a8
Updated title and description
darickdang Dec 6, 2024
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
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const config = {
type: "html",
position: "right",
value:
'<button type="button" onClick="window.open(`https://app.converse.xyz/conversation`, `_blank`);" class="navbar__chatbutton"><strong>Try Converse</strong></button>',
'<button type="button" onClick="window.open(`https://converse.xyz`, `_blank`);" class="navbar__chatbutton"><strong>Try Converse</strong></button>',
},
{
href: "https://github.com/xmtp",
Expand Down
614 changes: 489 additions & 125 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"clsx": "^1.1.1",
"docusaurus-plugin-plausible": "^0.0.5",
"ethers": "^5.7.2",
"@tailwindcss/forms": "^0.5.3",
"framer-motion": "^6.5.1",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.1",
Expand Down
816 changes: 698 additions & 118 deletions src/components/BuiltWithXmtp/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/FeedbackWidget/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@
.form {
margin-top: 4px;
width: 100%;
}
}
2 changes: 1 addition & 1 deletion src/components/ToggleButtons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function ToggleButtons() {
<div
ref={darkModeBtnRef}
onClick={handleDarkMode}
className="plausible-event-name=DarkMode w-11 h-11 rounded-full bg-gray-900 grid justify-center items-center border-2 border-solid border-gray-500 right-4 lg:right-12 bottom-5 z-[60] cursor-pointer fixed">
className="hidden opacity-0 plausible-event-name=DarkMode w-11 h-11 rounded-full bg-gray-900 grid justify-center items-center border-2 border-solid border-gray-500 right-4 lg:right-12 bottom-5 z-[60] cursor-pointer fixed">
<img src={`/img/${colorMode}.svg`} />
</div>
<div
Expand Down
27 changes: 27 additions & 0 deletions src/components/gradient.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { clsx } from 'clsx'

export function Gradient({ className, ...props }) {
return (
<div
{...props}
className={clsx(
className,
'bg-[linear-gradient(115deg,var(--tw-gradient-stops))] from-[#fff1be] from-[28%] via-[#ee87cb] via-[70%] to-[#b060ff] sm:bg-[linear-gradient(145deg,var(--tw-gradient-stops))]',
)}
/>
)
}

export function GradientBackground() {
return (
<div className="relative mx-auto max-w-7xl">
<div
className={clsx(
'absolute -right-60 -top-44 h-60 w-[36rem] transform-gpu md:right-0',
'bg-[linear-gradient(115deg,var(--tw-gradient-stops))] from-[#fff1be] from-[28%] via-[#ee87cb] via-[70%] to-[#b060ff]',
'rotate-[-10deg] rounded-full blur-3xl',
)}
/>
</div>
)
}
24 changes: 20 additions & 4 deletions src/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@

.navbar {
box-shadow: none;
background-color: rgba(255, 255, 255, 0.75);
background-color: rgba(255, 255, 255, 1);
/* blur/backdrop-blur-2xl */
backdrop-filter: blur(20px);
}
Expand Down Expand Up @@ -745,18 +745,21 @@ main[class*="docMainContainer"] tr {
}

.navbar__chatbutton {
font-size: 0.8em;
font-size: 0.9em;
color: white;
border: none;
background-color: #4f45e4;
background-color: #000;
border: 1px solid #000;
border-radius: 4px;
padding: 7px 11px;
cursor: pointer;
transition-duration: 0.2s;
}

.navbar__chatbutton:hover {
background-color: #5a2895;
background-color: #fff;
border: 1px solid #000;
color: black;
}

@media (max-width: 450px) {
Expand Down Expand Up @@ -1691,3 +1694,16 @@ summary::before {
.apparelbot .prism-code {
background-color: #0233d2;
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

.fade-in {
animation: fadeIn 0.25s ease-in forwards;
}
248 changes: 248 additions & 0 deletions src/pages/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,251 @@
background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
}

.container {
max-width: 100% !important;
}

.-mt-2 {
margin-top: -2em;
}

.-mt-4 {
margin-top: -4em;
}

.-mt-6 {
margin-top: -6em;
}

.-mt-8 {
margin-top: -8em;
}

.-mt-12 {
margin-top: -12em;
}

.navbar {
padding: 1em !important;
}

.col {
padding: 0;
}

.footer__links {
.col {
padding: 0 3em;
}
}

dd {
margin: 0;
}

.logo-row ul {
padding-left: 0;
}

.logo-row ul li {
list-style-type: none;
}

.pulse-this {
box-shadow: 0px 0px 1px 1px #0000001a;
}

.pulse {
animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
0% {
box-shadow: 0 0 2px 0px rgba(252, 79, 55, 0.8);
}
100% {
box-shadow: 0 0 5px 15px rgba(252, 79, 55, 0);
}
}

.lines {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 100%;
margin: auto;
width: 100vw;
z-index: -9;
}

.line {
position: absolute;
width: 1px;
height: 100%;
top: 0;
left: 50%;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
}

.line::after {
content: "";
display: block;
position: absolute;
height: 15vh;
width: 100%;
top: -50%;
left: 0;
background: linear-gradient(to bottom, rgba(252, 79, 55, 0) 0%, #FC4F37 75%, #FC4F37 100%);
animation: drop 7s 0s infinite;
animation-fill-mode: forwards;
animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.line:nth-child(1) {
margin-left: -25%;
opacity: 0.2;
}
.line:nth-child(1)::after {
animation-delay: 1s;
}
.line:nth-child(2) {
margin-left: -8%;
opacity: 0.25;
}
.line:nth-child(2)::after {
animation-delay: 2s;
}
.line:nth-child(3) {
margin-left: 25%;
}
.line:nth-child(3)::after {
animation-delay: 1.5s;
}
.line:nth-child(4) {
margin-left: 8%;
opacity: 0.5;
}
.line:nth-child(4)::after {
animation-delay: 2.5s;
}
.line:nth-child(5) {
margin-left: 42%;
opacity: 1;
}
.line:nth-child(5)::after {
animation-delay: 3.5s;
}

.h-lines {
position: absolute;
width: 100%;
margin: auto;
height: 100%;
z-index: -9;
}

.h-line {
position: absolute;
height: 1px;
width: 100%;
left: 50%;
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 100%);
overflow: hidden;
}

@media (max-width: 680px) {
.h-line {
position: relative;
}
}

.h-line::after {
content: "";
display: block;
position: absolute;
width: 15vh;
height: 100%;
top: 0%;
left: -50%;
background: linear-gradient(to right, rgba(252, 79, 55, 0) 0%, #FC4F37 75%, #FC4F37 100%);
animation: hdrop 10s 0s infinite;
animation-fill-mode: forwards;
animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.h-line:nth-child(1) {
margin-top: 4%;
}
.h-line:nth-child(1)::after {
animation-delay: 0.5s;
}
.h-line:nth-child(2) {
margin-top: 12%;
opacity: 0.25;
}
.h-line:nth-child(2)::after {
animation-delay: 3s;
}
.h-line:nth-child(3) {
margin-top: 20%;
opacity: 0.25;
}
.h-line:nth-child(3)::after {
animation-delay: 1.5s;
}
.h-line:nth-child(4) {
margin-top: 28%;
opacity: 0.25;
}
.h-line:nth-child(4)::after {
animation-delay: 4s;
}
.h-line:nth-child(5) {
margin-top: 36%;
opacity: 0.75;
}
.h-line:nth-child(5)::after {
animation-delay: 5s;
}
.h-line:nth-child(6) {
margin-top: 44%;
opacity: 0.75;
}
.h-line:nth-child(6)::after {
animation-delay: 4.5s;
}

@keyframes drop {
0% {
top: -50%;
}
100% {
top: 110%;
}
}

@keyframes hdrop {
0% {
left: 0%;
}
100% {
left: 110%;
}
}

.breathe {
background: linear-gradient(-38deg, #101827, #FC4F37);
background-size: 200% 200%;
animation: verticalBreathing 15s ease infinite;
}

@keyframes verticalBreathing {
0% { background-position: 0% 0%; }
25% { background-position: 40% 40%; }
50% { background-position: 80% 80%; }
75% { background-position: 20% 60%; }
100% { background-position: 0% 0%; }
}
4 changes: 2 additions & 2 deletions src/pages/index.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
hide_table_of_contents: true
title: The open source protocol for web3 messaging
description: 2M+ web3 identities trust XMTP for secure & private messaging
title: XMTP is the largest & most secure decentralized messaging network
description: Enterprise-grade secure messaging — powered by decentralization. Start building group chats, DMs, and notifications in minutes.
---

import BuiltWithXmtp from "@site/src/components/BuiltWithXmtp";
Expand Down
Binary file added static/img/ConverseCTA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/allowButton.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading