Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(issue #27 ) Project page created #38

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
7 changes: 4 additions & 3 deletions wtm-bamenda-website-frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@ import Blog from './pages/Blog';
import Events from './pages/Events';
import { Route, Routes } from 'react-router-dom'
import './App.css';

import NavBar from './NavBar/NavBar';
import Footer from './Footer/Footer';
function App() {

return(
<div>

<NavBar />
<Routes>
<Route path='/' element={<Landing/>} />
<Route path='/about' element={<About/>} />
<Route path='/projects' element={<Projects/>} />
<Route path='/events' element={<Events/>} />
<Route path='/blog' element={<Blog/>} />
</Routes>

<Footer></Footer>
</div>
)

Expand Down
145 changes: 145 additions & 0 deletions wtm-bamenda-website-frontend/src/Blog.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
.blog {
text-align: center;
margin-left: 120px;
margin-right: 120px;
}

.blog-title {
font-family: "Roboto", sans-serif;
font-size: 70px;
font-weight: 500;
line-height: 74px;
letter-spacing: 0;
color: black;
margin-top: 80px;
}

.blog-description {
text-align: center;
max-width: 761px;
margin: 20px auto;
font-family: "Roboto", sans-serif;
font-size: 18px;
font-weight: 300;
line-height: 28px;
color: black;
margin-top: 20px;
}

.blog-image {
width: 100%;
height: 550px;
border-radius: 28px 8px 28px 8px;
margin-top: 30px;
object-fit: cover;
object-position: center top;
}

.blog-list {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 40px;
margin-bottom: 30px;
}

.blog-list-title {
font-family: "Roboto", sans-serif;
font-size: 42px;
font-weight: 300;
line-height: 50px;
color: black;
margin-top: 20px;
}

.submit-button {
background-color: #ff7370;
color: rgb(0, 0, 0);
padding: 8px 16px;
width: 200px;
border: 1;
border-radius: 8px;
cursor: pointer;
padding: 20px, 24px, 20px, 24px;
font-weight: 500;
}

.blog-posts {
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: space-between;
}

.blog-card {
background: rgb(255, 255, 255);
border-radius: 28px 8px 28px 8px;
border: 2px solid #ffdad7;
height: auto;
width: 450px;
padding: 20px;
gap: 20px;
}

.blog-card-image {
width: 400px;
height: 300px;
}

.blog-card-content {
padding: 10px;
}

.blog-card-title {
font-family: Roboto;
font-size: 32px;
font-weight: 500;
line-height: 41px;
letter-spacing: 0em;
}

.blog-card-description {
font-size: 1rem;
color: #777;
}
/* Blog.css */
.blog-topics {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 10px;
}

.related-topic-container {
display: flex;
flex-wrap: wrap;
row-gap: 10px;
column-gap: 20px;
}

.related-topic {
background-color: #ffedeb;
color: black;
padding: 5px 15px;
border-radius: 20px;
cursor: pointer;
transition: background-color 0.3s;
}

.related-topic:hover {
background-color: #ffcbc5;
}

.read-more-button {
background-color: #ff7370;
color: rgb(0, 0, 0);
width: fill;
height: 40px;
padding: 20px, 24px, 20px, 24px;
gap:4px;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 400;
margin-top: 20px;
}
141 changes: 141 additions & 0 deletions wtm-bamenda-website-frontend/src/Project.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
.project-page {
margin-left: 90px;
margin-right: 90px;
}

.header {
margin-top: 80px;
font-family: Roboto;
font-size: 70px;
font-weight: 550;
line-height: 74px;
letter-spacing: 0em;
margin-bottom: 50px;
}
.project-title {
font-family: Roboto;
font-size: 60px;
font-weight: 400;
line-height: 74px;
margin-bottom: 20px;
}

.projects{
margin-top: 60px;
width: 100%;
margin-right: 40px ;
margin-bottom: 350px;
}


.project-details {
margin-top: 70px;
display: flex;
justify-content: center;
width: 100%;
margin-bottom: 50px;
}

.project-details{
column-gap: 130px;
}

.project-image img {
width: 100%;
max-width: 100%;
}

@media(max-width: 768px) {
.project-details {
flex-direction: column;
}
.project-image {
width: auto;
margin-bottom: 20px;
}
.project-content {
width: auto;
}
}


.project-image {
width: 50%;
}

.project-content {
max-width: 500px;
width: 50%;
}

.tag-container {
display: flex;
flex-wrap: wrap;
row-gap: 10px;
column-gap: 20px;
}

.project-tags{
background-color: #d1d5ff;
color: black;
padding: 5px 15px;
border-radius: 20px;
cursor: pointer;
transition: background-color 0.3s;
}

.project-tags:hover {
background-color: #b1b6ff;
}


.description {
margin-top: 10px;
line-height: 1.5;
font-family: "Roboto", sans-serif;
font-size: 20px;
margin-bottom: 30px;
}

.tagging{
display: flex;
flex-wrap: wrap;
row-gap: 10px;
column-gap: 20px;
}

.project-tags {
background-color: #d1d5ff;
color: black;
padding: 5px 15px;
border-radius: 10px;
cursor: pointer;
transition: background-color 0.3s;
text-align: center; /* Center text within the button */
}

.project-tags:hover {
background-color: #b1b6ff;
}


.view-projects-button {
background-color:

#005AC1;
margin-top: 25px;
color: white;
border: none;
font-family: Roboto;
font-weight: 450;
padding: 10px;
border-radius: 8px;
width: 100%;
gap: 4px;
}

.selected-tag {
background-color: #838bfc;
color: black; /* You can adjust the text color as needed */
}

Loading