Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f907728461 | ||
|
|
f45bc19e8a | ||
|
|
059389db1c | ||
|
|
e757727980 | ||
|
|
8b5108517e | ||
|
|
56ba8012ad | ||
|
|
4e57fbcbd4 | ||
|
|
2fc219b8eb | ||
|
|
adf33abeeb | ||
|
|
f00ab0b34e |
@@ -1 +1,43 @@
|
|||||||
# hello friends !
|
# hello friends !
|
||||||
|
|
||||||
|
|
||||||
|
# To Run the Website Locally
|
||||||
|
|
||||||
|
### Prerequisites
|
||||||
|
|
||||||
|
- [Node.js](https://nodejs.org/) version 18.17.1 or higher (we recommend using NVM to manage Node versions)
|
||||||
|
- [pnpm](https://pnpm.io/) (optional but recommended)
|
||||||
|
|
||||||
|
### Step 1: Install correct Node.js version
|
||||||
|
|
||||||
|
If you have NVM (Node Version Manager) installed:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
nvm install 18.17.1
|
||||||
|
nvm use 18.17.1
|
||||||
|
```
|
||||||
|
|
||||||
|
Verify your Node.js version:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
node -v
|
||||||
|
```
|
||||||
|
|
||||||
|
### Step 2: Install dependencies
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install
|
||||||
|
```
|
||||||
|
|
||||||
|
### Step 3: Start the development server
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx astro dev
|
||||||
|
```
|
||||||
|
|
||||||
|
## Tech Stack
|
||||||
|
|
||||||
|
- [Astro](https://astro.build/) - The core framework
|
||||||
|
- [React](https://reactjs.org/) - For interactive components
|
||||||
|
- [Tailwind CSS](https://tailwindcss.com/) - For styling (find docs [here](https://tailwindcss.com/docs/installation/using-vite))
|
||||||
|
- [TypeScript](https://www.typescriptlang.org/) - For type safety
|
||||||
+35
-10
@@ -1,32 +1,57 @@
|
|||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
import { useEffect, useState } from "react";
|
||||||
|
|
||||||
|
interface NavbarProps {
|
||||||
|
currentPath?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function Navbar({ currentPath: initialPath = "" }: NavbarProps) {
|
||||||
|
const [currentPath, setCurrentPath] = useState(initialPath);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
// Get current path on client-side if not provided or for client-side navigation
|
||||||
|
if (!initialPath) {
|
||||||
|
setCurrentPath(window.location.pathname);
|
||||||
|
}
|
||||||
|
}, [initialPath]);
|
||||||
|
|
||||||
export default function Navbar() {
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className={cn("flex flex-row justify-between pb-8 pl-4 pr-4 pt-8")}>
|
<div className={cn("flex flex-row justify-between pb-8 pl-4 pr-4 pt-8")}>
|
||||||
<div>
|
<div>
|
||||||
<strong className={cn("sm:text-2xl md:text-4xl")}>
|
<strong className={cn("sm:text-2xl md:text-4xl")}>
|
||||||
|
<a href="/">
|
||||||
Resist Tech Monopolies
|
Resist Tech Monopolies
|
||||||
|
</a>
|
||||||
</strong>
|
</strong>
|
||||||
</div>
|
</div>
|
||||||
<strong className={cn("sm:text-1xl flex gap-4 md:text-4xl")}>
|
<strong className={cn("sm:text-1xl flex gap-4 md:text-4xl")}>
|
||||||
<a
|
<a
|
||||||
href="/src/pages/GetInvolved.astro"
|
href="/GetInvolved/"
|
||||||
className={cn("text-blue-500")}
|
className={cn(
|
||||||
|
"text-blue-500",
|
||||||
|
currentPath.includes("GetInvolved") && "border-b-2 border-blue-500"
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
Get Involved
|
Get Involved
|
||||||
</a>
|
</a>
|
||||||
{/* <Separator orientation="vertical" className="w-5" /> */}
|
{/* <Separator orientation="vertical" className="w-5" /> */}
|
||||||
<a
|
<a
|
||||||
href="/src/pages/PointsOfUnity.astro"
|
href="/PointsOfUnity/"
|
||||||
className={cn("text-green-500")}
|
className={cn(
|
||||||
|
"text-green-500",
|
||||||
|
currentPath.includes("PointsOfUnity") && "border-b-2 border-green-500"
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
Points of Unity
|
Points of Unity
|
||||||
</a>
|
</a>
|
||||||
{/* <Separator orientation="vertical" className="w-5" /> */}
|
{/* <Separator orientation="vertical" className="w-5" /> */}
|
||||||
<a
|
<a
|
||||||
href="/src/pages/WhatWereWorkingOn.astro"
|
href="/WhatWereWorkingOn/"
|
||||||
className={cn("text-red-500")}
|
className={cn(
|
||||||
|
"text-red-500",
|
||||||
|
currentPath.includes("WhatWereWorkingOn") && "border-b-2 border-red-500"
|
||||||
|
)}
|
||||||
>
|
>
|
||||||
What We're Working On
|
What We're Working On
|
||||||
</a>
|
</a>
|
||||||
@@ -36,8 +61,8 @@ export default function Navbar() {
|
|||||||
<div className={cn("flex flex-row justify-between pb-8")}>
|
<div className={cn("flex flex-row justify-between pb-8")}>
|
||||||
{[
|
{[
|
||||||
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
||||||
].map(() => (
|
].map((key) => (
|
||||||
<>
|
<div key={key}>
|
||||||
<a
|
<a
|
||||||
href="https://www.flaticon.com/free-icons/computer"
|
href="https://www.flaticon.com/free-icons/computer"
|
||||||
title="computer icons"
|
title="computer icons"
|
||||||
@@ -56,7 +81,7 @@ export default function Navbar() {
|
|||||||
>
|
>
|
||||||
<img src="/people.png" alt="people icon" width="30" height="30" />
|
<img src="/people.png" alt="people icon" width="30" height="30" />
|
||||||
</a>
|
</a>
|
||||||
</>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -1,17 +1,32 @@
|
|||||||
---
|
---
|
||||||
import Footer from "@/components/Footer";
|
import Navbar from "../components/Navbar";
|
||||||
import Navbar from "@/components/Navbar";
|
import Footer from "../components/Footer";
|
||||||
import Layout from "@/layouts/Layout.astro";
|
import Layout from "../layouts/Layout.astro";
|
||||||
|
import "../styles/globals.css";
|
||||||
|
|
||||||
|
// Get current path from Astro
|
||||||
|
const currentPath = Astro.url.pathname;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
<main class="flex min-h-screen flex-col justify-between">
|
<main class="flex min-h-screen flex-col justify-between">
|
||||||
<div>
|
<div>
|
||||||
<Navbar />
|
<Navbar client:load currentPath={currentPath} />
|
||||||
|
<div class="pl-4 pr-4">
|
||||||
|
<h1 class="text-3xl font-semibold">Get Involved</h1>
|
||||||
|
|
||||||
<div class="pl-4">get involved!</div>
|
<div class="my-8">
|
||||||
|
<a
|
||||||
|
href="https://shlink.resisttechmonopolies.online/HNrZG"
|
||||||
|
class="px-6 py-3 bg-[#80aaff] text-white font-semibold rounded-md hover:bg-[#6090e0] transition-colors"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>
|
||||||
|
Sign Up Here
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|||||||
@@ -1,24 +1,46 @@
|
|||||||
<h1>Points of Unity</h1>
|
---
|
||||||
<p>
|
import Navbar from "../components/Navbar";
|
||||||
We situate ourselves in our context - as Seattle residents and as users and
|
import Footer from "../components/Footer";
|
||||||
creators of the technologies we aim to resist. We are seeing long-spanning
|
import Layout from "../layouts/Layout.astro";
|
||||||
rise of fascism within all levels of governance, from Seattle city council to
|
import "../styles/globals.css";
|
||||||
national governments here and abroad. In parallel is the increasing power of
|
|
||||||
tech companies over our lives through surveillance and the provisioning of
|
// Get current path from Astro
|
||||||
everyday needs, from employment to how we get our internet utilities in the
|
const currentPath = Astro.url.pathname;
|
||||||
first place. There are rising income disparities across the nation, but also
|
---
|
||||||
more specifically across everyone who can be considered a "tech worker": from
|
|
||||||
a CEO to a software engineer to a contractor to a child slave mining cobalt in
|
<Layout>
|
||||||
the Congo. Technology contributes to gentrification both through the
|
<main class="flex min-h-screen flex-col justify-between">
|
||||||
tech-enabled financialization of real estate as well as the gentrifying waves
|
<div>
|
||||||
of tech workers moving into cities. Increased technical sophisication of
|
<Navbar client:load currentPath={currentPath} />
|
||||||
militaries and carceral systems have created the first "AI genocide" in
|
<div class="pl-4 pr-4">
|
||||||
Palestine; increased militarization of borders such as the US-Mexico and the
|
<h1 class="text-3xl font-semibold">Points of Unity</h1>
|
||||||
surveillance of migrants; increased police brutality worldwide, all
|
<p>
|
||||||
disparately impacting people of the global majority. All of these crises are
|
We situate ourselves in our context - as Seattle residents and as
|
||||||
enabled and worsened by technology companies. As tech workers of various kinds
|
users and creators of the technologies we aim to resist. We are seeing
|
||||||
living in the imperial core, on stolen Coast Salish land covered by the broken
|
long-spanning rise of fascism within all levels of governance, from
|
||||||
Treaty of Point Elliot of 1855, we understand how our labor is contributing -
|
Seattle city council to national governments here and abroad. In
|
||||||
directly or indirectly - to these oppressions, and seek to use our skills
|
parallel is the increasing power of tech companies over our lives
|
||||||
towards more liberatory ends.
|
through surveillance and the provisioning of everyday needs, from
|
||||||
</p>
|
employment to how we get our internet utilities in the first place.
|
||||||
|
There are rising income disparities across the nation, but also more
|
||||||
|
specifically across everyone who can be considered a "tech worker":
|
||||||
|
from a CEO to a software engineer to a contractor to a child slave
|
||||||
|
mining cobalt in the Congo. Technology contributes to gentrification
|
||||||
|
both through the tech-enabled financialization of real estate as well
|
||||||
|
as the gentrifying waves of tech workers moving into cities. Increased
|
||||||
|
technical sophisication of militaries and carceral systems have
|
||||||
|
created the first "AI genocide" in Palestine; increased militarization
|
||||||
|
of borders such as the US-Mexico and the surveillance of migrants;
|
||||||
|
increased police brutality worldwide, all disparately impacting people
|
||||||
|
of the global majority. All of these crises are enabled and worsened
|
||||||
|
by technology companies. As tech workers of various kinds living in
|
||||||
|
the imperial core, on stolen Coast Salish land covered by the broken
|
||||||
|
Treaty of Point Elliot of 1855, we understand how our labor is
|
||||||
|
contributing - directly or indirectly - to these oppressions, and seek
|
||||||
|
to use our skills towards more liberatory ends.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<Footer />
|
||||||
|
</main>
|
||||||
|
</Layout>
|
||||||
|
|||||||
@@ -1,2 +1,22 @@
|
|||||||
<h1>What We're Working On</h1>
|
---
|
||||||
<p>Pihole Workshop</p>
|
import Navbar from "../components/Navbar";
|
||||||
|
import Footer from "../components/Footer";
|
||||||
|
import Layout from "../layouts/Layout.astro";
|
||||||
|
import "../styles/globals.css";
|
||||||
|
|
||||||
|
// Get current path from Astro
|
||||||
|
const currentPath = Astro.url.pathname;
|
||||||
|
---
|
||||||
|
|
||||||
|
<Layout>
|
||||||
|
<main class="flex min-h-screen flex-col justify-between">
|
||||||
|
<div>
|
||||||
|
<Navbar client:load currentPath={currentPath} />
|
||||||
|
<div class="pl-4 pr-4">
|
||||||
|
<h1 class="text-3xl font-semibold">What We're Working On</h1>
|
||||||
|
<p>Pihole Workshop</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<Footer />
|
||||||
|
</main>
|
||||||
|
</Layout>
|
||||||
|
|||||||
@@ -3,12 +3,15 @@ import Navbar from "@/components/Navbar";
|
|||||||
import Footer from "@/components/Footer";
|
import Footer from "@/components/Footer";
|
||||||
import Layout from "@/layouts/Layout.astro";
|
import Layout from "@/layouts/Layout.astro";
|
||||||
import "@/styles/globals.css";
|
import "@/styles/globals.css";
|
||||||
|
|
||||||
|
// Get current path from Astro
|
||||||
|
const currentPath = Astro.url.pathname;
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout>
|
<Layout>
|
||||||
<main class="flex min-h-screen flex-col justify-between">
|
<main class="flex min-h-screen flex-col justify-between">
|
||||||
<div>
|
<div>
|
||||||
<Navbar />
|
<Navbar client:load currentPath={currentPath} />
|
||||||
|
|
||||||
<div class="pl-4 pr-4">
|
<div class="pl-4 pr-4">
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Reference in New Issue
Block a user