Skip to content

Commit

Permalink
Merge pull request #5 from abstraction-hq/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
imduchuyyy authored Aug 1, 2024
2 parents 5d5c939 + 8f79289 commit f4a9ffd
Show file tree
Hide file tree
Showing 249 changed files with 7,537 additions and 85,319 deletions.
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

93 changes: 0 additions & 93 deletions .github/workflows/nextjs.yml

This file was deleted.

41 changes: 35 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,36 @@
.next/
node_modules/
package-lock.json
.next/
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# The production env file
*/production.env
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
22 changes: 0 additions & 22 deletions Dockerfile

This file was deleted.

37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
This is a starter template for [Learn Next.js](https://nextjs.org/learn).
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Binary file added app/favicon.ico
Binary file not shown.
33 changes: 33 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}

@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}

body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
}

@layer utilities {
.text-balance {
text-wrap: balance;
}
}
31 changes: 0 additions & 31 deletions app/layout.js

This file was deleted.

23 changes: 23 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from "react"
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";

const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};

export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
);
}
13 changes: 0 additions & 13 deletions app/page.js

This file was deleted.

67 changes: 67 additions & 0 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
"use client";

import React from "react";
import { TypeAnimation } from "react-type-animation";

const LandingPage = () => {
return (
<div className="flex flex-col min-h-screen bg-gradient-conic text-white">
<nav className="flex items-center justify-between p-6 shadow-md">
<img src="/assets/icon.png" alt="Logo" className="h-8 w-auto" />
<div className="space-x-10">
<a
href="https://docs.abstraction.world"
className="hover:text-gray-300"
target="_blank"
>
Docs
</a>
<a href="#" className="hover:text-gray-300">
Contact
</a>
</div>
</nav>

<section className="flex flex-grow items-center justify-center p-10">
<div className="text-center">
<TypeAnimation
className="text-7xl font-bold mb-4 text-green-500"
sequence={[
"Abstraction Wallet",
1500,
"Abstraction Application",
1500,
"Abstraction World",
1500,
]}
wrapper="span"
speed={50}
style={{ display: "inline-block" }}
repeat={Infinity}
/>
<p className="text-xl text-gray-600 italic">
We create innovative smart wallets for the blockchain technology
</p>
<p className="text-xl text-gray-600 italic">
Simplify your digital assets with ease and security
</p>
<button className="mt-6 px-8 py-2 bg-green-500 text-white rounded-md hover:bg-green-600">
<a
href="https://wallet.abstraction.world"
className="hover:text-gray-300"
target="_blank"
>
Open Wallet
</a>
</button>
</div>
</section>

<footer className="p-6 text-center">
<p>© 2024 Abstraction. All rights reserved.</p>
</footer>
</div>
);
};

export default LandingPage;
Loading

0 comments on commit f4a9ffd

Please sign in to comment.