Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This repo creates the websites for

## How to dev

macOS and Linux:
```sh
$ npm i
$ VITE_HOST=pkgx.sh npm run dev
Expand All @@ -20,6 +21,20 @@ $ cd blog
$ hugo server --buildDrafts
```

Windows:
```bat
npm i
set VITE_HOST=pkgx.sh& npm run dev
rem ^^ one of `pkgx.sh`, `pkgx.dev` or `pkgx.app` or `mash.pkgx.sh`
rem there is no default! set one!
rem there must be no space between the value of VITE_HOST and `&`

cd blog
hugo server --buildDrafts
```

`bun` can be used in place of `npm`.

## How to deploy

Pushing to `main` deploys all three. See `cd.yml` for details.
Expand Down
789 changes: 789 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

28 changes: 0 additions & 28 deletions lambda/assam-api.js

This file was deleted.

Binary file removed src/assets/dev.webp
Binary file not shown.
Binary file removed src/assets/mash.webp
Binary file not shown.
Binary file removed src/assets/partners.png
Binary file not shown.
Binary file removed src/assets/pkgm.webp
Binary file not shown.
230 changes: 0 additions & 230 deletions src/assets/pkgx-3d-glyphs.svg

This file was deleted.

120 changes: 0 additions & 120 deletions src/assets/pkgx-bg-pattern-right.svg

This file was deleted.

Binary file removed src/assets/pkgx.webp
Binary file not shown.
Binary file removed src/assets/tea-3d-logo.png
Binary file not shown.
Binary file removed src/assets/tea-glitch.png
Binary file not shown.
Binary file removed src/assets/tea-homepage-image.webp
Binary file not shown.
Binary file removed src/assets/teaBASE.webp
Binary file not shown.
Binary file removed src/assets/tech.png
Binary file not shown.
1 change: 0 additions & 1 deletion src/assets/traction.svg

This file was deleted.

Binary file removed src/assets/unpkg.webp
Binary file not shown.
9 changes: 0 additions & 9 deletions src/assets/wordmarks/hugo.svg

This file was deleted.

15 changes: 0 additions & 15 deletions src/assets/wordmarks/tea.svg

This file was deleted.

14 changes: 1 addition & 13 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Grid from '@mui/material/Grid2';
import { Link, LinkProps, Typography, useTheme, useMediaQuery, Box, Button, Stack } from "@mui/material";
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
import { Link, LinkProps, Typography, useTheme, useMediaQuery, Stack } from "@mui/material";
import ArrowOutwardIcon from '@mui/icons-material/CallMade';
import tea from "../assets/wordmarks/tea.svg";
import logo from "../assets/pkgx.svg";


Expand All @@ -29,16 +27,6 @@ export default function Footer() {
const icon = <ArrowOutwardIcon fontSize="inherit" style={{transform: 'translateY(3px)'}} />

return <Stack spacing={8} sx={{alignItems: 'center'}}>
<Stack direction={isxs ? 'column' : 'row'} spacing={isxs ? 2: 3} alignItems='center' sx={{"&&": {mt: 16}}}>
<Box component='img' src={tea} height='20px' />
<Typography>
pkgx is a core contributor to the tea protocol
</Typography>
<Button variant='outlined' color='inherit' href='https://tea.xyz' size='small' endIcon={<ArrowForwardIcon />}>
Learn More
</Button>
</Stack>

<Grid container spacing={2} columns={isxs ? 12 : 11} width='100%'>
<Grid size={{xs: 12, md: 5}}>
<img src={logo} height={18} />
Expand Down
4 changes: 0 additions & 4 deletions src/pkgx.dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import theme from './utils/theme';
import React, { } from "react";
import './assets/main.css';
import Discord from './components/Discord';
import TeaProtocol from './pkgx.dev/TeaProtocol';
import CoinListLandingPage from './pkgx.dev/CoinListLandingPage';


const searchClient = algoliasearch('UUTLHX01W7', '__819a841ca219754c38918b8bcbbbfea7');
Expand All @@ -35,8 +33,6 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<Route path='/terms-of-use' element={<TermsOfUse/>} />
<Route path='/pkgs' element={<PackageShowcase />} />
<Route path='/pkgs/*' element={<PackageListing/>} />
<Route path='/tea' element={<TeaProtocol />} />
<Route path='/coinlist' element={<CoinListLandingPage />} />
</Routes>
<Footer/>
</Stack>
Expand Down
Loading
Loading