Fakultas Ilmu Komputer UI

Commit b114d77a authored by sirinbaisa's avatar sirinbaisa
Browse files

[#31] [#140652771] Page Profile Company

parent 7cde8f95
......@@ -16,6 +16,7 @@ body{
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
body {
font: 300 14px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: 0;
......@@ -177,6 +178,10 @@ itemLowongan{
line-height: 30%;
}
.biodata-company h4{
color: grey;
}
.button-profile{
margin-top:30px;
}
......@@ -190,4 +195,32 @@ itemLowongan{
margin-bottom:40px;
margin-left:5%;
margin-right:5%;
}
\ No newline at end of file
}
.ui.segment.segment-profile-company{
margin-left: 10%;
margin-right: 10%;
padding: 5%;
}
.ui.segment.profile-form-company{
margin-top:4%;
margin-left: 10%;
margin-right: 10%;
padding-bottom:3%;
}
.company-profile{
padding-bottom:5%;
}
import React from 'react';
import { Segment, Header, Image, Container, Form, Button, Icon, TextArea } from 'semantic-ui-react';
export default class CompanyProfile extends React.Component {
render() {
return (
<div className="company-profile">
<Segment className="segment-profile-company" >
<Header as="h2" icon textAlign="center">
<Image src="http://semantic-ui.com/images/wireframe/square-image.png" size="small" shape="circular" />
</Header>
<Container textAlign="center" className="profile-biodata">
<div className="biodata-company">
<h2>Company</h2>
<h3>Alamat alamat alamat</h3>
<h4>Deskripsi Deskripsi Deskripsi Deskripsi Deskripsi Deskripsi</h4>
</div>
</Container>
</Segment>
<Segment className="profile-form-company">
<Header as="h3" textAlign="center">
<Icon name="edit" />
<Header.Content>
Edit Profile Page
</Header.Content>
</Header>
<Form size="small" >
<Form.Field>
<label htmlFor="photo">Logo Perusahaan</label>
<input placeholder="Profile Photo.jpg" name="photo" type="File" />
</Form.Field>
<Form.Field>
<label htmlFor="email">Nama Perusahaan</label>
<input placeholder="Nama Perusahaan" name="email" />
</Form.Field>
<Form.Field>
<label htmlFor="phone">Deskripsi</label>
<TextArea placeholder='Try adding multiple lines' autoHeight />
</Form.Field>
<Button type="submit" size="small" primary floated="right">Submit</Button>
</Form>
</Segment>
</div>
);
}
}
......@@ -6,6 +6,7 @@ import Dashboard from './Dashboard';
import Login from './Login';
import VacancyPage from './VacancyPage';
import ProfilePage from './ProfilePage';
import CompanyProfile from './CompanyProfile';
import Server from './lib/Server';
import Storage from './lib/Storage';
......@@ -43,6 +44,7 @@ export default class App extends React.Component {
<Route component={Dashboard} onEnter={this.handleAuth}>
<Route path="/" component={VacancyPage} />
<Route path="/profile" component={ProfilePage} data={Storage.get('user-data')} own={true} />
<Route path="/profile-company" component={CompanyProfile} />
<Route path="/mahasiswa/:id" component={ProfilePage} data={Storage.get('user-data')} own={false} />
<Route path="/lowongan" component={VacancyPage} />
<Route path="/users" component={Profile} />
......
[0419/113046.282:ERROR:process_info.cc(625)] range at 0x953e621000000000, size 0x202 fully unreadable
[0419/113046.284:ERROR:process_info.cc(625)] range at 0x953e623000000000, size 0x202 fully unreadable
[0419/113046.284:ERROR:process_info.cc(625)] range at 0x0, size 0x202 fully unreadable
[0419/113046.299:ERROR:file_io_win.cc(145)] CreateFile C:\Users\baisa\AppData\Local\Temp\karma-28613191\Crashpad\settings.dat: The system cannot find the path specified. (0x3)
[0419/113046.299:ERROR:file_io_win.cc(154)] CreateFile C:\Users\baisa\AppData\Local\Temp\karma-28613191\Crashpad\reports\a859f38f-0a5a-4ff9-939d-aac920dec0cd.dmp: The system cannot find the path specified. (0x3)
[0419/113046.299:ERROR:crash_report_exception_handler.cc(95)] PrepareNewCrashReport failed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment