Skip to content

Commit bd9eb96

Browse files
committed
fixed netifly deploy issue
1 parent e54970d commit bd9eb96

File tree

3 files changed

+284
-131
lines changed

3 files changed

+284
-131
lines changed

public/netlify.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[build]
2+
publish = "build"
3+
command = "npm run build"
4+
ignore = "git diff --quiet HEAD^ HEAD README.md"
5+
6+
7+
[[redirects]]
8+
from = "/*"
9+
to = "/index.html"
10+
status = 200

src/components/Footer.jsx

Lines changed: 101 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,45 @@
11
import React from "react";
2-
import { FaGithubSquare, FaInstagram, FaXTwitter, FaLinkedin } from "react-icons/fa";
2+
import {
3+
FaGithubSquare,
4+
FaInstagram,
5+
FaLinkedin,
6+
} from "react-icons/fa";
7+
import { RiTwitterFill } from "react-icons/ri";
8+
39

410
const Footer = () => {
511
return (
612
<div className="max-w-[1240px] mx-auto py-16 px-4 grid lg:grid-cols-3 gap-8 text-gray-300">
713
<div>
8-
<h1 className='w-full text-3xl font-bold text-[#00df9a]'>FOSSCU</h1>
9-
<p className='py-4'>Made with 💚 and Open Source</p>
10-
<div className='flex justify-between md:w-[75%] my-6'>
11-
<a href="https://www.instagram.com/fosscu/" className="transition duration-300 ease-in-out hover:scale-125" target="blank">
14+
<h1 className="w-full text-3xl font-bold text-[#00df9a]">FOSSCU</h1>
15+
<p className="py-4">Made with 💚 and Open Source</p>
16+
<div className="flex justify-between md:w-[75%] my-6">
17+
<a
18+
href="https://www.instagram.com/fosscu/"
19+
className="transition duration-300 ease-in-out hover:scale-125"
20+
target="blank"
21+
>
1222
<FaInstagram size={30} />
1323
</a>
14-
<a href="https://twitter.com/fosscuk" className="transition duration-300 ease-in-out hover:scale-125" target="blank">
15-
16-
<FaXTwitter size={30} />
24+
<a
25+
href="https://twitter.com/fosscuk"
26+
className="transition duration-300 ease-in-out hover:scale-125"
27+
target="blank"
28+
>
29+
<RiTwitterFill size={30} />
1730
</a>
18-
<a href="https://github.com/FOSS-Community/" className="transition duration-300 ease-in-out hover:scale-125" target="blank">
31+
<a
32+
href="https://github.com/FOSS-Community/"
33+
className="transition duration-300 ease-in-out hover:scale-125"
34+
target="blank"
35+
>
1936
<FaGithubSquare size={30} />
2037
</a>
21-
<a href="https://linkedin.com/company/fosscu/" className="transition duration-300 ease-in-out hover:scale-125" target="blank">
38+
<a
39+
href="https://linkedin.com/company/fosscu/"
40+
className="transition duration-300 ease-in-out hover:scale-125"
41+
target="blank"
42+
>
2243
<FaLinkedin size={30} />
2344
</a>
2445
</div>
@@ -28,50 +49,101 @@ const Footer = () => {
2849
<h6 className="font-medium text-[#00df9a]">Support</h6>
2950
<ul>
3051
<a href="/building" className="pb-2">
31-
<li className="pt-2 text-sum hover:border-b hover:border-green-400">Documentation</li>
52+
<li className="pt-2 text-sum hover:border-b hover:border-green-400">
53+
Documentation
54+
</li>
3255
</a>
3356
<a href="/guide" className="pb-2">
34-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">Guides</li>
57+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
58+
Guides
59+
</li>
3560
</a>
36-
<a href="https://www.kuma.fosscu.org/status/fosscu" className="pb-2">
37-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">API Status</li>
61+
<a
62+
href="https://www.kuma.fosscu.org/status/fosscu"
63+
className="pb-2"
64+
>
65+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
66+
API Status
67+
</li>
3868
</a>
3969
<a href="/faq" className="pb-2">
40-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">FAQ</li>
70+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
71+
FAQ
72+
</li>
4173
</a>
4274
</ul>
4375
</div>
4476
<div>
4577
<h6 className="font-medium text-[#00df9a]">Organization</h6>
4678
<ul>
4779
<a href="/about" className="pb-2">
48-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">About</li>
80+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
81+
About
82+
</li>
4983
</a>
50-
<a href="https://github.com/FOSS-Community/blog-archive" className="pb-2" target="blank">
51-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">Blog</li>
84+
<a
85+
href="https://github.com/FOSS-Community/blog-archive"
86+
className="pb-2"
87+
target="blank"
88+
>
89+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
90+
Blog
91+
</li>
5292
</a>
53-
<a href="https://dub.sh/fosscu-discord" className="pb-2" target="blank">
54-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">Join Us</li>
93+
<a
94+
href="https://dub.sh/fosscu-discord"
95+
className="pb-2"
96+
target="blank"
97+
>
98+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
99+
Join Us
100+
</li>
55101
</a>
56-
<a href="https://github.com/FOSS-Community/" className="pb-2" target="blank">
57-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">Contribute</li>
102+
<a
103+
href="https://github.com/FOSS-Community/"
104+
className="pb-2"
105+
target="blank"
106+
>
107+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
108+
Contribute
109+
</li>
58110
</a>
59111
</ul>
60112
</div>
61113
<div>
62114
<h6 className="font-medium text-[#00df9a]">Handbook</h6>
63115
<ul>
64-
<a href="https://docs.fosscu.org/Docs/values" className="pb-2" target="blank">
65-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">Core Values</li>
116+
<a
117+
href="https://docs.fosscu.org/Docs/values"
118+
className="pb-2"
119+
target="blank"
120+
>
121+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
122+
Core Values
123+
</li>
66124
</a>
67-
<a href="https://docs.fosscu.org/Docs/code-of-conduct" className="pb-2" target="blank">
68-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">Code of Conduct</li>
125+
<a
126+
href="https://docs.fosscu.org/Docs/code-of-conduct"
127+
className="pb-2"
128+
target="blank"
129+
>
130+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
131+
Code of Conduct
132+
</li>
69133
</a>
70-
<a href="https://docs.fosscu.org/Docs/getting-started" className="pb-2" target="blank">
71-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">What is FOSS</li>
134+
<a
135+
href="https://docs.fosscu.org/Docs/getting-started"
136+
className="pb-2"
137+
target="blank"
138+
>
139+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
140+
What is FOSS
141+
</li>
72142
</a>
73143
<a href="/building" className="pb-2">
74-
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">Terms</li>
144+
<li className="pt-2 w-max text-sum hover:border-b hover:border-green-400">
145+
Terms
146+
</li>
75147
</a>
76148
</ul>
77149
</div>

0 commit comments

Comments
 (0)