Skip to content

Commit c386317

Browse files
author
Zakk
committed
set up tailwind and add logo to homepage
1 parent be20f70 commit c386317

10 files changed

+551
-12
lines changed

global.css

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

next-env.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
"react-dom": "^18.2.0"
1616
},
1717
"devDependencies": {
18+
"autoprefixer": "^10.4.14",
19+
"postcss": "^8.4.27",
1820
"remark-cli": "^11.0.0",
1921
"remark-frontmatter": "^4.0.1",
22+
"remark-lint-maximum-line-length": "^3.1.3",
2023
"remark-preset-lint-consistent": "^5.1.2",
2124
"remark-preset-lint-recommended": "^6.1.3",
22-
"remark-lint-maximum-line-length": "^3.1.3"
25+
"tailwindcss": "^3.3.3",
26+
"typescript": "5.1.6"
2327
},
2428
"remarkConfig": {
2529
"settings": {},

pages/_app.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import '../global.css'
2+
3+
export default function Nextra({ Component, pageProps }) {
4+
const getLayout = Component.getLayout || ((page) => page)
5+
return getLayout(
6+
<Component {...pageProps} />
7+
)
8+
}

pages/index.mdx

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ title: Allo Protocol
33
description: What is the Allo Protocol?
44
---
55

6-
<div className="nx-mb-12 nx-mt-16 nx-text-center">
7-
<h1 className="nx-font-extrabold nx-text-4xl title">Allo Protocol</h1>
8-
<p className="nx-text-xl">A general purpose protocol for the efficient allocation of capital.</p>
6+
<div className="mb-12 mt-16 flex flex-col items-center">
7+
<img src="/Allo_Logomark_Green.png" className="max-h-8" />
8+
<h1 className="font-extrabold text-4xl title">Allo Protocol</h1>
9+
<p className="text-xl">A general purpose protocol for the efficient allocation of capital.</p>
910
</div>
1011

1112
## Introduction

0 commit comments

Comments
 (0)