Skip to content

Commit

Permalink
chore: remove last updated from landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed Jan 17, 2024
1 parent 69890b7 commit 99255fe
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 40 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NODE_ENV="development"
PORT=4321
ASTRO_TELEMETRY_DISABLED=1
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
* text=auto eol=lf
.vscode/*.json linguist-language=JSON-with-Comments
biome.json linguist-language=JSON-with-Comments
1 change: 1 addition & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ defaults:

env:
ACTIONS_RUNNER_DEBUG: true
ASTRO_TELEMETRY_DISABLED: 1
NODE_OPTIONS: '--no-warnings'

jobs:
Expand Down
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
},
"search.exclude": {
"**/node_modules": true,
"pnpm-lock.yaml": true,
".eslintcache": true,
".prettiercache": true,
"_": true
Expand Down
16 changes: 8 additions & 8 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import 'dotenv/config'
Object.assign(process.env, { ASTRO_TELEMETRY_DISABLED: 1 })

import process from 'node:process'
import sentry from '@sentry/astro'
import tailwind from '@astrojs/tailwind'
import starlight from '@astrojs/starlight'
Expand All @@ -10,8 +14,8 @@ const SITE_URL = 'https://docs.ethfollow.xyz'
// https://astro.build/config
export default defineConfig({
site: SITE_URL,
output: 'static',
prefetch: true,
output: 'static',
trailingSlash: 'ignore',
integrations: [
starlight({
Expand Down Expand Up @@ -131,13 +135,6 @@ export default defineConfig({
src: '/anchor-targets.js'
}
},
{
tag: 'script',
attrs: {
type: 'module',
src: '/noise-background.js'
}
},
{
tag: 'script',
attrs: {
Expand Down Expand Up @@ -170,5 +167,8 @@ export default defineConfig({
},
experimental: {
contentCollectionCache: !import.meta.env.DEV
},
server: {
port: Number(process.env.PORT || 4321)
}
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev --port 4321",
"dev": "astro dev",
"build": "astro build",
"preview": "astro preview",
"check": "astro check",
Expand Down
17 changes: 0 additions & 17 deletions public/noise-background.js

This file was deleted.

7 changes: 0 additions & 7 deletions public/noise.svg

This file was deleted.

2 changes: 2 additions & 0 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ head:
content: 'EFP Docs'
description: Ethereum Follow Protocol
template: splash
lastUpdated: false
editUrl: false
hero:
title: <span>Ethereum</span> <span>Follow</span> <span>Protocol</span>
tagline: The social graph for Ethereum.
Expand Down
7 changes: 6 additions & 1 deletion src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@

interface EnvironmentVariables {
NODE_ENV: 'development' | 'production' | 'test'
PORT: string
}

// Vite & Astro environment variables types
interface ImportMetaEnv extends EnvironmentVariables {}

interface ImportMeta {
readonly env: ImportMetaEnv
}

// Node.js environment variables types
declare namespace NodeJS {
interface ProcessEnv extends EnvironmentVariables {}
}

// Cloudflare Pages/Workers
interface Env extends EnvironmentVariables {}
4 changes: 0 additions & 4 deletions src/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ a.site-title > img {
font-weight: 900;
}

[data-has-hero] .hero > img {
/* width: 50%; */
}

.tagline {
font-size: 1.5rem !important;
}
Expand Down

0 comments on commit 99255fe

Please sign in to comment.