-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ucsdds3/Issac
Issac
- Loading branch information
Showing
12 changed files
with
237 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v4 | ||
|
||
- name: Install dependencies | ||
uses: bahmutov/npm-install@v1 | ||
|
||
- name: Build project | ||
run: npm run build | ||
|
||
- name: Upload production-ready build files | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: production-files | ||
path: ./dist | ||
|
||
deploy: | ||
name: Deploy | ||
needs: build | ||
runs-on: ubuntu-latest | ||
if: github.ref == 'refs/heads/main' | ||
|
||
steps: | ||
- name: Download artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: production-files | ||
path: ./dist | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
import { FaDiscord, FaGithub, FaLinkedinIn } from "react-icons/fa6"; | ||
import { SiGmail } from "react-icons/si"; | ||
|
||
const Footer = () => { | ||
const btnClass = | ||
"btn rounded-full text-white text-lg w-12 p-0 border-none bg-[#202020] hover:bg-[#282828] glow"; | ||
|
||
return ( | ||
<div className="border-t border-[--border-color] flex py-8 bg-[#181818]"> | ||
<div className="flex flex-col flex-1 gap-3 items-center"> | ||
<img src="src\Assets\Images\big-logo-light.png" alt="DS3 Logo" className="w-40" /> | ||
<div className="flex flex-col gap-2 items-center text-sm font-medium"> | ||
<span>© 2024 Data Science Student Society, All Rights Reserved</span> | ||
</div> | ||
</div> | ||
<div | ||
id="quick-link" | ||
className="flex flex-1 justify-center gap-x-20 border-x border-[--border-color]" | ||
> | ||
<div className="flex flex-col gap-y-2 justify-center"> | ||
<h4 className="text-lg font-bold mb-2 text-white">Information</h4> | ||
<a href="" className="hover:underline"> | ||
About | ||
</a> | ||
<a href="" className="hover:underline"> | ||
Events | ||
</a> | ||
</div> | ||
<div className="flex flex-col gap-y-2 justify-center"> | ||
<h4 className="text-lg font-bold mb-2 text-white">Get Involved</h4> | ||
<a href="" className="hover:underline"> | ||
Projects | ||
</a> | ||
<a href="" className="hover:underline"> | ||
Consulting | ||
</a> | ||
</div> | ||
</div> | ||
<div | ||
id="social-media-links" | ||
className="flex flex-col flex-1 items-center justify-center gap-y-8" | ||
> | ||
<h4 className="text-lg font-bold text-white">Social Links</h4> | ||
<div className="flex items-center w-[20vw] justify-evenly"> | ||
<button | ||
onClick={() => window.open("https://discord.gg/fbnAP848V9", "_blank")} | ||
className={btnClass} | ||
title={"Discord"} | ||
> | ||
<FaDiscord /> | ||
</button> | ||
<button | ||
onClick={() => window.open("mailto:ds3@ucsd.edu", "_blank")} | ||
className={btnClass} | ||
title={"Mail"} | ||
> | ||
<SiGmail /> | ||
</button> | ||
<button | ||
onClick={() => window.open("https://github.com/TheBoyRoy05/", "_blank")} | ||
className={btnClass} | ||
title={"Github"} | ||
> | ||
<FaGithub /> | ||
</button> | ||
<button | ||
onClick={() => window.open("https://www.linkedin.com/in/issacroy/", "_blank")} | ||
className={btnClass} | ||
title={"LinkedIn"} | ||
> | ||
<FaLinkedinIn /> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import "simplebar-react/dist/simplebar.min.css"; | ||
import SimpleBar from "simplebar-react"; | ||
import Navbar from "./Navbar"; | ||
import Footer from "./Footer"; | ||
|
||
interface PageProps { | ||
children?: React.ReactNode; | ||
} | ||
|
||
const Page = ({ children }: PageProps) => { | ||
return ( | ||
<SimpleBar className={`absolute left-0 top-0 w-screen h-screen overflow-x-hidden bg-[#101010]`}> | ||
<Navbar /> | ||
<div className="flex flex-col items-center py-[10vh]"> | ||
{children || ( | ||
<> | ||
<h2 className="text-white text-center hero-text-shadow mt-10 mb-10 text-[3.75vw]">Coming Soon</h2> | ||
<img | ||
src={`/src/Assets/Images/Sleepy_Bear.png`} | ||
alt="Under Construction" | ||
className="bear mt-24 w-[42vw]" | ||
/> | ||
</> | ||
)} | ||
</div> | ||
<Footer /> | ||
</SimpleBar> | ||
); | ||
}; | ||
|
||
export default Page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; | ||
|
||
.hero-text-shadow { | ||
text-shadow: 0 5px 20px #0057ff33, 0 -5px 15px #ff5a0026, 0 0 30px #ffffff4d; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters