-
Notifications
You must be signed in to change notification settings - Fork 1
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
Landing page #163
Merged
Merged
Landing page #163
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
services/postgres/migrations/20240324212229_drop_key_id/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
Warnings: | ||
|
||
- You are about to drop the column `keyId` on the `RelayLedger` table. All the data in the column will be lost. | ||
|
||
*/ | ||
-- AlterTable | ||
ALTER TABLE "RelayLedger" DROP COLUMN "keyId"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
import { Title } from "@mantine/core"; | ||
import { HeroSection } from "@frontend/components/home / 01-Hero"; | ||
import { Stack } from "@mantine/core"; | ||
|
||
export default function Home() { | ||
return <Title order={3}>Welcome to Gateway Demo Portal!</Title>; | ||
return ( | ||
<Stack bg="cream.1"> | ||
<HeroSection /> | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
"use client"; | ||
import React from "react"; | ||
import { | ||
Container, | ||
Title, | ||
Button, | ||
Flex, | ||
Group, | ||
Text, | ||
Box, | ||
em, | ||
} from "@mantine/core"; | ||
import Image from "next/image"; | ||
import logo from "@frontend/public/monochrome_logo.png"; | ||
import heroImage from "@frontend/public/hero_image.png"; | ||
import backgroundOne from "@frontend/public/background_1.png"; | ||
import Link from "next/link"; | ||
import { useMediaQuery } from "@mantine/hooks"; | ||
|
||
export function HeroSection() { | ||
const isMobile = useMediaQuery(`(max-width: ${em(750)})`); | ||
|
||
return ( | ||
<Container size="md"> | ||
<Flex align="center" justify="space-between" gap={100} mb={40} p={10}> | ||
<Image src={logo.src} alt="hello" width={160} height={58} /> | ||
{!isMobile && ( | ||
<Flex | ||
align="center" | ||
justify="space-evenly" | ||
w={800} | ||
wrap="wrap" | ||
color="umbra.1" | ||
> | ||
<Title order={3} fw={700}> | ||
Home | ||
</Title> | ||
<Title order={3} fw={500}> | ||
Tools | ||
</Title> | ||
<Title order={3} fw={500}> | ||
Pricing | ||
</Title> | ||
<Title order={3} fw={500}> | ||
Swap | ||
</Title> | ||
<Title order={3} fw={500}> | ||
Documentation | ||
</Title> | ||
</Flex> | ||
)} | ||
</Flex> | ||
<Flex align="center" justify="space-between" gap={100}> | ||
<Box> | ||
<Title>Your Gateway to Web3</Title> | ||
<Text c="dimmed" mt="md" maw={isMobile ? 400 : 500}> | ||
Accelerate your Web3 journey with our plug-and-play platform | ||
offering comprehensive analytics, Web3-native developer suite and | ||
hassle-free access to POKT’s Decentralised RPC Service – simplifying | ||
your build from concept to execution. | ||
</Text> | ||
|
||
<Group mt={30}> | ||
<Link href="#"> | ||
<Button>Coming Soon</Button> | ||
</Link> | ||
</Group> | ||
</Box> | ||
{!isMobile && ( | ||
<Box> | ||
<Image src={heroImage.src} alt="hello" width={400} height={400} /> | ||
</Box> | ||
)} | ||
</Flex> | ||
</Container> | ||
); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is up with the spacing here? I'm not familiar with this format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch